[Libreoffice-commits] dev-tools.git: scripts/list-ci-changes.py
Miklos Vajna (via logerrit)
logerrit at kemper.freedesktop.org
Mon Aug 31 15:34:07 UTC 2020
scripts/list-ci-changes.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit bcf9fae51cacda0c8881cab00c8acd42d32b794f
Author: Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Mon Aug 31 17:33:10 2020 +0200
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Mon Aug 31 17:33:48 2020 +0200
list-ci-changes: fix this up so it works with newer Gerrit URLs
Otherwise it reports a change is not in the queue when it is.
Change-Id: I1db2b03ce6042986dc9feb37290a684f982dd45e
diff --git a/scripts/list-ci-changes.py b/scripts/list-ci-changes.py
index 8df033d..12bb892 100755
--- a/scripts/list-ci-changes.py
+++ b/scripts/list-ci-changes.py
@@ -49,7 +49,7 @@ def getCIChanges(changesHTML):
if tag == "a":
for attrKey, attrValue in attrs:
if attrKey == "tooltip":
- match = re.match(".*(https://gerrit.libreoffice.org/[0-9]+).*", attrValue)
+ match = re.match(r".*(https://gerrit.libreoffice.org/c/core/\+/[0-9]+).*", attrValue)
if match:
self.changes.append(match.group(1))
@@ -59,7 +59,7 @@ def getCIChanges(changesHTML):
def main():
if len(sys.argv) > 1:
- gerrit = [{"url": "https://gerrit.libreoffice.org/" + sys.argv[1], "branch": "unknown"}]
+ gerrit = [{"url": "https://gerrit.libreoffice.org/c/core/+/" + sys.argv[1], "branch": "unknown"}]
else:
gerrit = getGerritChanges()
More information about the Libreoffice-commits
mailing list