From 837df7f642e5019b97c36b1cae6cac156618b464 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 5 Jul 2024 13:26:50 +0200 Subject: [PATCH] fix normalizing builder names --- buildbot_nix/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildbot_nix/__init__.py b/buildbot_nix/__init__.py index 976f744..040f263 100644 --- a/buildbot_nix/__init__.py +++ b/buildbot_nix/__init__.py @@ -653,7 +653,7 @@ def config_for_project( def normalize_virtual_builder_name(name: str) -> str: if re.match(r"^[^:]+:", name) is not None: # rewrites github:nix-community/srvos#checks.aarch64-linux.nixos-stable-example-hardware-hetzner-online-intel -> nix-community/srvos/nix-build - match = re.match(r"[^:]:(?P[^/]+)/(?P[^#]+)#.+", name) + match = re.match(r"[^:]+:(?P[^/]+)/(?P[^#]+)#.+", name) if match: return f"{match['owner']}/{match['repo']}/nix-build"