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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Apr 30 07:39:27 UTC 2019


 esc-reporting/esc-analyze.py |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit d0bb7798e7865411682fcda4ce63a3092dfff62b
Author:     Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Tue Apr 30 09:33:50 2019 +0200
Commit:     Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Tue Apr 30 09:33:50 2019 +0200

    ESC: Add a different reviewer for online

diff --git a/esc-reporting/esc-analyze.py b/esc-reporting/esc-analyze.py
index b59352b..927f513 100755
--- a/esc-reporting/esc-analyze.py
+++ b/esc-reporting/esc-analyze.py
@@ -720,7 +720,11 @@ def analyze_reports():
         if cntReview == 0 and not statList['people'][ownerEmail]['isCommitter']:
             tmpListToReview.append({'id': entry['id'], 'fullid': entry['fullid'], 'patchset': patchset})
 
-    defaultEmail = util_check_mail('', cfg['automate']['gerritReviewUserEmail'])
+    if gerritData['patch'][rowTmp['id']]['project'] == 'online':
+        defaultEmail = util_check_mail('', cfg['automate']['gerritReviewOnlineUserEmail'])
+    else:
+        defaultEmail = util_check_mail('', cfg['automate']['gerritReviewUserEmail'])
+
     for rowTmp in tmpListToReview:
       reviewEmail = defaultEmail
       txt = gerritData['patch'][rowTmp['id']]['subject']


More information about the Libreoffice-commits mailing list