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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Mar 19 17:24:57 UTC 2019


 esc-reporting/esc-analyze.py |    6 +++++-
 esc-reporting/esc-collect.py |    9 +++++++++
 esc-reporting/esc-report.py  |   10 ++++++++--
 3 files changed, 22 insertions(+), 3 deletions(-)

New commits:
commit 9e1b33c980bfbb8450dbb420709f56ac1127ea93
Author:     Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Tue Mar 19 18:10:35 2019 +0100
Commit:     Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Tue Mar 19 18:10:35 2019 +0100

    ESC: Add RTL bugs to Components regression count

diff --git a/esc-reporting/esc-collect.py b/esc-reporting/esc-collect.py
index e4242d6..52b266d 100755
--- a/esc-reporting/esc-collect.py
+++ b/esc-reporting/esc-collect.py
@@ -500,6 +500,15 @@ def get_esc_bugzilla(cfg):
           '&v1=filter%3A%2C perf'
     rawList['ESC_COMPONENT_UPDATE']['all']['Writer: other']['count'], \
     rawList['ESC_COMPONENT_UPDATE']['all']['Writer: other']['list'] = do_ESC_counting(bz, url)
+    rawList['ESC_COMPONENT_UPDATE']['all']['RTL'] = {}
+    url = '&bug_status=NEW' \
+          '&bug_status=ASSIGNED' \
+          '&bug_status=REOPENED' \
+          '&bug_status=PLEASETEST' \
+          '&keywords=regression%2C filter%3Artf%2C ' \
+          '&keywords_type=allwords'
+    rawList['ESC_COMPONENT_UPDATE']['all']['RTL']['count'], \
+    rawList['ESC_COMPONENT_UPDATE']['all']['RTL']['list'] = do_ESC_counting(bz, url)
 
     for comp in ['Calc', 'Impress', 'Base', 'Draw', 'LibreOffice', 'Writer', 'BASIC', 'Chart', 'Extensions',
                  'Formula Editor', 'Impress Remote', 'Installation', 'Linguistic', 'Printing and PDF export',
commit 9ce7bf417126023af433729e9cf93dd4f30738a8
Author:     Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Tue Mar 19 13:33:26 2019 +0100
Commit:     Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Tue Mar 19 13:33:26 2019 +0100

    ESC: Add iOS and Online to the report

diff --git a/esc-reporting/esc-analyze.py b/esc-reporting/esc-analyze.py
index 8c69675..46ee623 100755
--- a/esc-reporting/esc-analyze.py
+++ b/esc-reporting/esc-analyze.py
@@ -220,7 +220,7 @@ def util_create_statList():
                             'needsUXEval' : 0,
                             'topicUI': 0},
                      'qa': {'unconfirmed': {'count': 0, 'documentation': 0, 'enhancement': 0, 'needsUXEval': 0,
-                         'haveBacktrace': 0, 'needsDevAdvice': 0, 'android': 0}},
+                         'haveBacktrace': 0, 'needsDevAdvice': 0, 'android': 0, 'ios': 0, 'online': 0}},
                      'easyhacks' : {'needsDevEval': 0,  'needsUXEval': 0, 'cleanup_comments': 0,
                                     'total': 0,         'assigned': 0,    'open': 0},
                      'esc': {}},
@@ -471,6 +471,10 @@ def analyze_qa():
             statList['data']['qa']['unconfirmed']['documentation'] += 1
           if row['component'] == 'Android app' or row['component'] == 'Android Viewer':
             statList['data']['qa']['unconfirmed']['android'] += 1
+          if row['component'] == 'iOS':
+            statList['data']['qa']['unconfirmed']['ios'] += 1
+          if row['product'] == 'LibreOffice Online':
+            statList['data']['qa']['unconfirmed']['online'] += 1
 
         util_build_period_stat(creationDate, email, 'qa', 'owner')
 
diff --git a/esc-reporting/esc-report.py b/esc-reporting/esc-report.py
index 3805566..d613fe5 100755
--- a/esc-reporting/esc-report.py
+++ b/esc-reporting/esc-report.py
@@ -551,7 +551,9 @@ def report_qa():
         "        + haveBackTrace: {} ({:+d})\n" \
         "        + needsDevAdvice: {} ({:+d})\n" \
         "        + documentation:  {} ({:+d})\n" \
-        "        + android:  {} ({:+d})\n".format(
+        "        + android:  {} ({:+d})\n" \
+        "        + iOS:  {} ({:+d})\n" \
+        "        + Online:  {} ({:+d})\n".format(
                     statList['data']['qa']['unconfirmed']['count'],
                     statList['diff']['qa']['unconfirmed']['count'],
                     statList['data']['qa']['unconfirmed']['enhancement'],
@@ -565,7 +567,11 @@ def report_qa():
                     statList['data']['qa']['unconfirmed']['documentation'],
                     statList['diff']['qa']['unconfirmed']['documentation'],
                     statList['data']['qa']['unconfirmed']['android'],
-                    statList['diff']['qa']['unconfirmed']['android'])
+                    statList['diff']['qa']['unconfirmed']['android'],
+                    statList['data']['qa']['unconfirmed']['ios'],
+                    statList['diff']['qa']['unconfirmed']['ios'],
+                    statList['data']['qa']['unconfirmed']['online'],
+                    statList['diff']['qa']['unconfirmed']['online'])
     print(text, file=fp)
     print(text, file=fpESC)
 


More information about the Libreoffice-commits mailing list