Message ID | 20241021164033.4076535-1-ross.burton@arm.com |
---|---|
State | New |
Headers | show |
Series | [yocto-autobuilder-helper] scripts/abint: generalise autobuilder URL regex | expand |
diff --git a/scripts/abint/abint.py b/scripts/abint/abint.py index 1d358836..18c2ce53 100755 --- a/scripts/abint/abint.py +++ b/scripts/abint/abint.py @@ -54,7 +54,7 @@ class Bug: def get_data(): - url_re = r"(?P<server>https?://autobuilder.yoctoproject.org/typhoon/)#/?builders/(?P<builder>\d+)/builds/(?P<build>\d+)" + url_re = r"(?P<server>https?://.+/)#/?builders/(?P<builder>\d+)/builds/(?P<build>\d+)" logging.debug("Searching bugzilla for AB-INT bugs...") bz = bugzilla.Bugzilla("https://bugzilla.yoctoproject.org/rest")
The autobuilder isn't just autobuilder.yoctoproject.org, as the new cluster is valkyrie.yoctoproject.org. Generalise the regex to match on any buildbot URLs and hope that people don't link to buildbot logs on other servers that often. Signed-off-by: Ross Burton <ross.burton@arm.com> --- scripts/abint/abint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)