[Libreoffice-commits] dev-tools.git: esc-reporting/esc-collect.py
Xisco Fauli (via logerrit)
logerrit at kemper.freedesktop.org
Fri Mar 5 18:16:19 UTC 2021
esc-reporting/esc-collect.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 6b60e8b668789002bf80dd3f216d943b87742973
Author: Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Fri Mar 5 19:06:54 2021 +0100
Commit: Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Fri Mar 5 19:06:54 2021 +0100
esc-collect: add CURRENT_COMMIT and CURRENT_REVISION to gerrit query
In order to get the patch's parent
While at it, add q=is:open. We only care about open tickets
Change-Id: I6f2b3910f43a0833f72e4b95f45859d41821f9bf
diff --git a/esc-reporting/esc-collect.py b/esc-reporting/esc-collect.py
index 306d2a6..046e007 100755
--- a/esc-reporting/esc-collect.py
+++ b/esc-reporting/esc-collect.py
@@ -605,8 +605,8 @@ def get_gerrit(cfg):
if p.wait() != 0:
raise CalledProcessError(p.returncode, cmd)
- url = 'https://gerrit.libreoffice.org/changes/?q=after:' + searchDate.strftime("%Y-%m-%d") + \
- '&o=DETAILED_LABELS&o=DETAILED_ACCOUNTS&o=MESSAGES&limit=200&start='
+ url = 'https://gerrit.libreoffice.org/changes/?q=is:open+after:' + searchDate.strftime("%Y-%m-%d") + \
+ '&o=DETAILED_LABELS&o=DETAILED_ACCOUNTS&o=MESSAGES&o=CURRENT_COMMIT&o=CURRENT_REVISION&limit=200&start='
offset = 0
if 'offset' in rawList:
offset = int(rawList['offset'])
More information about the Libreoffice-commits
mailing list