Skip to content

Commit

Permalink
Search spam bugs and bugs without steps to reproduce only between bug…
Browse files Browse the repository at this point in the history
…s filed by people without editbugs (#947)

* Only search spam bugs between those filed by users without editbugs

* Only search for bugs without steps to reproduce between those filed by users without editbugs
  • Loading branch information
marco-c committed Apr 16, 2020
1 parent 28e6aef commit 47c13a1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 17 deletions.
5 changes: 0 additions & 5 deletions auto_nag/scripts/configs/tools.json
Expand Up @@ -592,11 +592,6 @@
"mcastelluccio@mozilla.com"
],
"days_lookup": 3,
"reporter_skiplist":
[
"intermittent-bug-filer@mozilla.bugs",
"wptsync@mozilla.bugs"
],
"confidence_threshold": 0.9,
"cc":
[
Expand Down
11 changes: 4 additions & 7 deletions auto_nag/scripts/spambug.py
Expand Up @@ -37,14 +37,11 @@ def get_bz_params(self, date):
# Ignore closed bugs.
"bug_status": "__open__",
"f1": "reporter",
"v1": "@mozilla",
"v1": "%group.editbugs%",
"o1": "notsubstring",
"f2": "reporter",
"v2": "@softvision",
"o2": "notsubstring",
"f3": "creation_ts",
"o3": "greaterthan",
"v3": start_date,
"f2": "creation_ts",
"o2": "greaterthan",
"v2": start_date,
}

def get_bugs(self, date="today", bug_ids=[]):
Expand Down
7 changes: 2 additions & 5 deletions auto_nag/scripts/stepstoreproduce.py
Expand Up @@ -23,9 +23,6 @@ def sort_columns(self):
def get_bz_params(self, date):
start_date, end_date = self.get_dates(date)

reporter_skiplist = self.get_config("reporter_skiplist", default=[])
reporter_skiplist = ",".join(reporter_skiplist)

params = {
"include_fields": ["id", "groups", "summary"],
"bug_type": "defect",
Expand All @@ -36,8 +33,8 @@ def get_bz_params(self, date):
"o2": "changedbefore",
"v2": end_date,
"f3": "reporter",
"o3": "nowords",
"v3": reporter_skiplist,
"o3": "notsubstring",
"v3": "%group.editbugs%",
"f4": "cf_has_str",
"o4": "equals",
"v4": "---",
Expand Down

0 comments on commit 47c13a1

Please sign in to comment.