relman-auto-nag/runauto_nag_hourly.sh

106 строки
2.9 KiB
Bash
Executable File

#!/bin/bash
export PYTHONPATH=.
./runauto_nag_common.sh
. venv/bin/activate
# Clean the log files
python -m auto_nag.log --clean
# Bug fixed without assignee
# very common
python -m auto_nag.scripts.no_assignee
# Bug closed with the leave open keyword
# very common
python -m auto_nag.scripts.leave_open
# has a STR without flag has_str
# common
# python -m auto_nag.scripts.has_str_no_hasstr
# Closes crash bug without any crashes for the last 12 weeks
# pretty common
python -m auto_nag.scripts.no_crashes
# List bug with the meta keyword but not [meta] in the title
# Pretty common
python -m auto_nag.scripts.meta_summary_missing
# List bug without the meta keyword with [meta] in the title (with autofix)
# Pretty common
python -m auto_nag.scripts.summary_meta_missing
# List reopened bugs with invalid nightly status flag
# Pretty common
python -m auto_nag.scripts.nightly_reopened
# Bug closed with the stalled keyword
# Pretty rare
python -m auto_nag.scripts.stalled
# Bugs with missing beta status
# Pretty rare
python -m auto_nag.scripts.missing_beta_status
# Try to detect potential regressions using bugbug
python -m auto_nag.scripts.regression
# Bugs with STR and no regression-range
# Pretty rare
python -m auto_nag.scripts.has_str_no_range
# Notify bugs tracked (+ or blocking)
# with P3, P4 or P5 priorities for the ongoing releases
# Pretty common
python -m auto_nag.scripts.mismatch_priority_tracking_esr
python -m auto_nag.scripts.mismatch_priority_tracking_release
python -m auto_nag.scripts.mismatch_priority_tracking_beta
python -m auto_nag.scripts.mismatch_priority_tracking_nightly
# Bug is tracked for a release but the bug severity is small
# pretty common
python -m auto_nag.scripts.tracked_bad_severity
# Move info (signatures, product/component) from/to bugs & their dups
# Pretty common
python -m auto_nag.scripts.copy_duplicate_info
# Enhancement or task with the "regression" keyword
python -m auto_nag.scripts.regression_but_type_enhancement_task
# Move dupeme from whiteboard to keyword
# Pretty rare
python -m auto_nag.scripts.dupeme_whiteboard_keyword
# Remove dupeme keyword when the bug is closed
# Pretty rare
python -m auto_nag.scripts.closed_dupeme
# Detect spam bugs using bugbug
python -m auto_nag.scripts.spambug
# Suggest components for untriaged bugs (hourly, list only bugs on which we acted)
python -m auto_nag.scripts.component --frequency hourly
# MUST ALWAYS BE AFTER COMPONENTS (to reset the priority if mandatory)
# Reset the priority if the product::component changed after the priority has been set
python -m auto_nag.scripts.prod_comp_changed_with_priority
# Update status flags for regressions based on their regressor
python -m auto_nag.scripts.regression_set_status_flags
python -m auto_nag.scripts.needinfo_regression_author
# Send a mail if the logs are not empty
# MUST ALWAYS BE THE LAST COMMAND
python -m auto_nag.log --send
deactivate
if [ "$errored" = true ] ; then
exit -1
fi