[Libreoffice-commits] dev-tools.git: 2 commits - esc-reporting/esc-analyze.py esc-reporting/esc-automate.py
jan Iversen
jani at libreoffice.org
Sun May 14 16:08:29 UTC 2017
esc-reporting/esc-analyze.py | 4 ++--
esc-reporting/esc-automate.py | 3 +--
2 files changed, 3 insertions(+), 4 deletions(-)
New commits:
commit 1574f02f36720da4e56c7d72cd1def59a0d963be
Author: jan Iversen <jani at libreoffice.org>
Date: Sun May 14 18:08:07 2017 +0200
esc-report, added gerrit review
diff --git a/esc-reporting/esc-automate.py b/esc-reporting/esc-automate.py
index f6a67c5..c22a5b3 100755
--- a/esc-reporting/esc-automate.py
+++ b/esc-reporting/esc-automate.py
@@ -234,10 +234,9 @@ def runAutomate():
fp.close()
#JIX executeLoop(handle_gerrit_abandon, 'gerrit', 'to_abandon_abandon')
- #JIX executeLoop(handle_gerrit_review, 'gerrit', 'to_review')
+ 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_reset_status, 'bugzilla', 'assign_problem_status')
commit 866488cd64e33cbe4e868e7af92ab788ed80434a
Author: jan Iversen <jani at libreoffice.org>
Date: Sun May 14 18:07:01 2017 +0200
esc-report, use strange gerrit format for automate
diff --git a/esc-reporting/esc-analyze.py b/esc-reporting/esc-analyze.py
index f8b6a7c..0b45f70 100755
--- a/esc-reporting/esc-analyze.py
+++ b/esc-reporting/esc-analyze.py
@@ -665,7 +665,7 @@ def analyze_reports():
tmpListToReview.append(entry['id'])
for id in tmpListToReview:
- reviewEmail = cfg['automate']['gerritRewiewUserEmail']
+ reviewEmail = util_check_mail('', cfg['automate']['gerritRewiewUserEmail'])
txt = gerritData['patch'][id]['subject']
if txt.startswith('tdf#'):
try:
@@ -681,7 +681,7 @@ def analyze_reports():
break
except Exception as e:
pass
- automateList['gerrit']['to_review'][id] = reviewEmail
+ automateList['gerrit']['to_review'][id] = statList['people'][reviewEmail]['gerrit']['reviewName']
for key, row in bugzillaData['bugs'].items():
if not 'cc' in row:
More information about the Libreoffice-commits
mailing list