esc-reporting/esc-analyze.py | 10 ---------- esc-reporting/esc-automate.py | 32 -------------------------------- qa/bugzillaChecker.py | 2 +- 3 files changed, 1 insertion(+), 43 deletions(-)
New commits: commit 896e3b5a4f8a6e65efc359b310a8a1618a2beb1a Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Tue Apr 2 14:09:01 2019 +0200 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Tue Apr 2 14:16:48 2019 +0200 ESC: Do not automate the "A polite ping..." message it's annoying and it doens't work at times diff --git a/esc-reporting/esc-analyze.py b/esc-reporting/esc-analyze.py index 46ee623..b59352b 100755 --- a/esc-reporting/esc-analyze.py +++ b/esc-reporting/esc-analyze.py @@ -638,8 +638,6 @@ def analyze_reports(): automateList['gerrit']['to_review'] = {} automateList['bugzilla']['missing_cc'] = {} automateList['bugzilla']['remove_cc'] = {} - automateList['bugzilla']['to_unassign_comment'] = {} - automateList['bugzilla']['to_unassign_unassign'] = {} automateNow = cfg['nowDate'].strftime("%Y-%m-%d") @@ -764,14 +762,6 @@ def analyze_reports(): statList['reportList']['needsUXEval'].append(key) if row['status'] == 'NEEDINFO': statList['reportList']['needinfo'].append(key) - elif row['status'] == 'ASSIGNED': - xDate = datetime.datetime.strptime(row['last_change_time'], "%Y-%m-%dT%H:%M:%SZ") - if xDate < cfg['1monthDate']: - txt = row['comments'][len(row['comments'])-1] - if 'A polite ping' in txt: - automateList['bugzilla']['to_unassign_unassign'][key]= 0 - else: - automateList['bugzilla']['to_unassign_comment'][key] = 0 if len(row['comments']) >= 5: statList['reportList']['too_many_comments'].append(key) if not 'mentor...@documentfoundation.org' in row['cc']: diff --git a/esc-reporting/esc-automate.py b/esc-reporting/esc-automate.py index 63b5a75..32f603b 100755 --- a/esc-reporting/esc-automate.py +++ b/esc-reporting/esc-automate.py @@ -114,36 +114,6 @@ def handle_gerrit_comment(id, patchset, useText = None): -def handle_bugzilla_unassign(id, text): - handle_bugzilla_reset_user(id, text) - handle_bugzilla_reset_status(id, text) - handle_bugzilla_comment(id, text, isPolite=False) - - - -def handle_bugzilla_comment(id, text, isPolite=True): - if isPolite: - polite = 'A polite ping, '+ cfg['automate']['bugzilla']['comment'] - else: - polite = cfg['automate']['bugzilla']['unassign'] - command = '{"comment" : "' + polite + '", "is_private" : false}' - doBugzilla(id, command, isComment=True) - - - -def handle_bugzilla_reset_status(id, text): - command = '{"status": "NEW"}' - doBugzilla(id, command) - return - - - -def handle_bugzilla_reset_user(id, text): - command = '{"assigned_to": "libreoffice-b...@lists.freedesktop.org"}' - doBugzilla(id, command) - - - def handle_bugzilla_cc(id, email): command = '{"cc": {"add": ["mentor...@documentfoundation.org"]}}' doBugzilla(id, command) @@ -234,8 +204,6 @@ def runAutomate(): executeLoop(handle_gerrit_abandon, 'gerrit', 'to_abandon_abandon') executeLoop(handle_gerrit_review, 'gerrit', 'to_review') executeLoop(handle_gerrit_comment, 'gerrit', 'to_abandon_comment') - executeLoop(handle_bugzilla_unassign, 'bugzilla', 'to_unassign_unassign') - executeLoop(handle_bugzilla_comment, 'bugzilla', 'to_unassign_comment') executeLoop(handle_bugzilla_cc, 'bugzilla', 'missing_cc') executeLoop(handle_mail_miss_you, 'mail', 'we_miss_you_email') executeLoop(handle_mail_pdf, 'mail', 'award_1st_email') commit 49f6fb6780ec8db8236fcadb0fd47633cb356242 Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Thu Mar 28 13:05:13 2019 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Tue Apr 2 14:16:48 2019 +0200 QA: I think 20 is too low diff --git a/qa/bugzillaChecker.py b/qa/bugzillaChecker.py index 189d3d0..326087f 100755 --- a/qa/bugzillaChecker.py +++ b/qa/bugzillaChecker.py @@ -27,7 +27,7 @@ memberPeriodDays = 365 memberBugs = 50 oldUserPeriodDays = 180 -oldUserBugs = 20 +oldUserBugs = 30 # bugs which last comment is from the Commit Notification pingFixedBugPeriodDays = 30 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits