[Libreoffice-commits] dev-tools.git: esc-reporting/esc-analyze.py

jan Iversen jani at libreoffice.org
Sun May 14 15:01:43 UTC 2017


 esc-reporting/esc-analyze.py |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

New commits:
commit c09c457f44106fba5aeb9289fd101d8fddf960b9
Author: jan Iversen <jani at libreoffice.org>
Date:   Sun May 14 17:01:20 2017 +0200

    esc-report, no reason to unassign closed bugs

diff --git a/esc-reporting/esc-analyze.py b/esc-reporting/esc-analyze.py
index a7a1666..15a17ce 100755
--- a/esc-reporting/esc-analyze.py
+++ b/esc-reporting/esc-analyze.py
@@ -589,6 +589,14 @@ def analyze_reports():
     automateList['gerrit']['to_abandon_abandon'] = {}
     automateList['gerrit']['to_abandon_comment'] = {}
     automateList['gerrit']['to_review'] = {}
+    automateList['bugzilla']['assign_problem_status'] = {}
+    automateList['bugzilla']['assign_problem_user'] = {}
+    automateList['bugzilla']['missing_cc'] = {}
+    automateList['bugzilla']['missing_ui_cc'] = {}
+    automateList['bugzilla']['remove_cc'] = {}
+    automateList['bugzilla']['to_unassign_comment'] = {}
+    automateList['bugzilla']['to_unassign_unassign'] = {}
+
     automateNow = cfg['nowDate'].strftime("%Y-%m-%d")
 
     for id, row in statList['people'].items():
@@ -706,8 +714,8 @@ def analyze_reports():
             automateList['bugzilla']['to_unassign_comment'][key] = 0
       if row['status'] == 'ASSIGNED' and (row['assigned_to'] == '' or row['assigned_to'] == 'libreoffice-bugs at lists.freedesktop.org'):
         automateList['bugzilla']['assign_problem_status'][key] = 0
-      if row['status'] != 'ASSIGNED' and row['assigned_to'] != '' and row['assigned_to'] != 'libreoffice-bugs at lists.freedesktop.org':
-        automateList['bugzilla']['assign_problem_user'][key] = 0
+      if row['status'] != 'CLOSED' and row['status'] != 'ASSIGNED' and row['assigned_to'] != '' and row['assigned_to'] != 'libreoffice-bugs at lists.freedesktop.org':
+          automateList['bugzilla']['assign_problem_user'][key] = 0
       if len(row['comments']) >= 5:
         statList['reportList']['too_many_comments'].append(key)
       if not 'mentoring at documentfoundation.org' in row['cc']:


More information about the Libreoffice-commits mailing list