forked from mozilla/bugbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
runauto_nag_hourly.sh
executable file
·97 lines (71 loc) · 2.65 KB
/
runauto_nag_hourly.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
#!/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
# 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
# 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
# Detect spam bugs using bugbug
python -m auto_nag.scripts.spambug
# 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