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

jan Iversen jani at libreoffice.org
Mon May 15 07:21:17 UTC 2017


 esc-reporting/esc-automate.py |    1 +
 esc-reporting/esc-collect.py  |    1 +
 2 files changed, 2 insertions(+)

New commits:
commit 8a99b1d48956befa3a538cad939933b08eed7635
Author: jan Iversen <jani at libreoffice.org>
Date:   Mon May 15 09:20:52 2017 +0200

    esc-report: adding a reviewer does not change 'updated'

diff --git a/esc-reporting/esc-automate.py b/esc-reporting/esc-automate.py
index c22a5b3..0404ba7 100755
--- a/esc-reporting/esc-automate.py
+++ b/esc-reporting/esc-automate.py
@@ -106,6 +106,7 @@ def handle_gerrit_abandon(id, text):
 
 def handle_gerrit_review(id, email):
     doGerrit(id + '/reviewers', '{"reviewer": "' + email + '"}')
+    doGerrit(id + '/revisions/current/review', 'added reviewer')
 
 
 
commit 707bb2c93bfe496656981b7788c4a948d12fb07b
Author: jan Iversen <jani at libreoffice.org>
Date:   Mon May 15 09:20:13 2017 +0200

    esc-report: gerrit uses > and not >=

diff --git a/esc-reporting/esc-collect.py b/esc-reporting/esc-collect.py
index 7f0bb2f..f003fcc 100755
--- a/esc-reporting/esc-collect.py
+++ b/esc-reporting/esc-collect.py
@@ -625,6 +625,7 @@ def get_git(cfg):
     fileName = cfg['homedir'] + 'dump/git_dump.json'
     searchDate, rawList = util_load_data_file(cfg, fileName, 'git', {'commits': {}})
     print("Updating git dump from " + rawList['newest-entry'])
+    searchDate - datetime.timedelta(days=1)
 
     for repo in cfg['git']['repos']:
       print(' working on ' + repo['name'])


More information about the Libreoffice-commits mailing list