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

Xisco Fauli anistenis at gmail.com
Mon Nov 13 15:33:49 UTC 2017


 esc-reporting/qa-tools.py |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 7b7ae79e0e53cdf4029efea231d593fea0376e16
Author: Xisco Fauli <anistenis at gmail.com>
Date:   Mon Nov 13 16:28:57 2017 +0100

    QA tools: Ignore some bugs in inactiveAssigned

diff --git a/esc-reporting/qa-tools.py b/esc-reporting/qa-tools.py
index 3dc367e..9d49f22 100755
--- a/esc-reporting/qa-tools.py
+++ b/esc-reporting/qa-tools.py
@@ -522,7 +522,7 @@ def analyze_bugzilla(statList, bugzillaData, cfg):
                         #Ignore bisected bugs or some trusted authors defined in configQA.json
                         if actionDate >= cfg['reportPeriod'] and not everConfirmed and actionMail == creatorMail and \
                             isOpen(rowStatus) and isOpen(addedStatus) and 'bisected' not in keywords and \
-                            creatorMail not in cfg['configQA']['autoConfirmers']:
+                            creatorMail not in cfg['configQA']['ignore']['autoConfirmed']:
                                 autoConfirmed = True
                                 autoConfirmedMail = actionMail
 
@@ -811,10 +811,10 @@ def analyze_bugzilla(statList, bugzillaData, cfg):
                 lResults['fixBugPing'][0].append(rowId)
                 lResults['fixBugPing'][1].append('')
 
-            #Ignore tdf#89903
             if rowStatus == 'ASSIGNED' and \
                     datetime.datetime.strptime(row['last_change_time'], "%Y-%m-%dT%H:%M:%SZ") < cfg['inactiveAssignedPeriod'] and \
-                    'easyHack' not in row['keywords'] and rowId != 89903:
+                    'easyHack' not in row['keywords'] and \
+                    rowId not in cfg['configQA']['ignore']['inactiveAssigned']:
                 if 'inactiveAssigned' not in lResults:
                     lResults['inactiveAssigned'] = [[],[]]
                 lResults['inactiveAssigned'][0].append(rowId)
@@ -857,7 +857,7 @@ def analyze_bugzilla(statList, bugzillaData, cfg):
         if statList['people'][k]['oldest'] >= cfg['newUserPeriod']:
             statList['newUsersPeriod'][k] = statList['people'][k]
         if statList['people'][k]['oldest'] >= cfg['newUserPeriod'] and len(statList['people'][k]['bugs']) >= 3 and \
-                statList['people'][k]['email'] not in cfg['configQA']['newContributors']:
+                statList['people'][k]['email'] not in cfg['configQA']['ignore']['newContributors']:
             print('\n=== New contributor: '+ statList['people'][k]['name'] + " ("  + statList['people'][k]['email'] + ")")
             lBugs = list(statList['people'][k]['bugs'])
             for idx in range(len(lBugs)):
commit 1ded2801a6663228c406881018f0bd0c27df2187
Author: Xisco Fauli <anistenis at gmail.com>
Date:   Mon Nov 6 18:01:24 2017 +0100

    fix error

diff --git a/esc-reporting/qa-tools.py b/esc-reporting/qa-tools.py
index 514d820..3dc367e 100755
--- a/esc-reporting/qa-tools.py
+++ b/esc-reporting/qa-tools.py
@@ -1293,7 +1293,7 @@ def weekly_Report(statList) :
 
     print('Hello,', file=fp)
     print(file=fp)
-    print('What have happened in QA in the last {} days?'.format(reportPeriod[:-1]), file=fp)
+    print('What have happened in QA in the last {} days?'.format(reportPeriodDays), file=fp)
     print(file=fp)
 
     print('  * {} bugs have been created, of which, {} are still unconfirmed ( Total Unconfirmed bugs: {} )'.format(\


More information about the Libreoffice-commits mailing list