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

Xisco Fauli xiscofauli at libreoffice.org
Wed Jul 4 11:54:05 UTC 2018


 qa/bugzillaChecker.py |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit de8458f132f3eed82d84a5daf4ef32d8db6bc486
Author: Xisco Fauli <xiscofauli at libreoffice.org>
Date:   Wed Jul 4 13:39:56 2018 +0200

    QA: replace < and > in url too

diff --git a/qa/bugzillaChecker.py b/qa/bugzillaChecker.py
index fe68e1a..00ee793 100755
--- a/qa/bugzillaChecker.py
+++ b/qa/bugzillaChecker.py
@@ -89,6 +89,7 @@ def analyze_bugzilla_checkers(statList, bugzillaData, cfg):
                         lcrashSignature = ast.literal_eval(crashSignature)
                         for i in lcrashSignature:
                             crashReportUrl = crashReportDomain + str(i).replace(' ', '%20').replace('`', '%60')
+                            crashReportUrl = crashReportUrl.replace('<', '%3C').replace('>', '%3E')
                             #Link should be shorter than 255, otherwise Bugzilla returns an error
                             if crashReportUrl not in row['see_also'] and len(crashReportUrl) < 255:
                                 util_add_to_result(lResults, 'add_crashReport_to_seeAlso', resultValue)
commit 9b23f8a522c8b08f552a3a8f4b443498d1d342be
Author: Xisco Fauli <xiscofauli at libreoffice.org>
Date:   Wed Jul 4 13:28:46 2018 +0200

    QA: reduce time for reopened bugs to 1 month

diff --git a/qa/bugzillaChecker.py b/qa/bugzillaChecker.py
index c565719..fe68e1a 100755
--- a/qa/bugzillaChecker.py
+++ b/qa/bugzillaChecker.py
@@ -232,8 +232,8 @@ def analyze_bugzilla_checkers(statList, bugzillaData, cfg):
                             if common.isOpen(rowStatus):
                                 closeDate = actionDate
                         elif change['removed'] == 'FIXED' and actionDate >= cfg['reportPeriod'] and \
-                                closeDate and (actionDate - closeDate).days > 180:
-                            util_add_to_result(lResults, 'reopened_6_months', resultValue)
+                                closeDate and (actionDate - closeDate).days > 30:
+                            util_add_to_result(lResults, 'reopened_after_1_months', resultValue)
 
                     elif change['field_name'] == 'keywords':
                         if actionDate >= cfg['reportPeriod']:


More information about the Libreoffice-commits mailing list