]> Humopery - private/buildbot-default.git/commitdiff
Add remaining revlink config main
authorErik Mackdanz <erikmack@gmail.com>
Wed, 3 Sep 2025 04:56:03 +0000 (04:56 +0000)
committerErik Mackdanz <erikmack@gmail.com>
Wed, 3 Sep 2025 04:56:03 +0000 (04:56 +0000)
master.cfg

index d1c7fec1462394eade2da10692dfb16897543b6a..df0bef53a3d37344101677882daccbfa1b70249a 100644 (file)
@@ -60,10 +60,16 @@ c = BuildmasterConfig = {
         # post-receive hook script must have --repository
         RevlinkMatch(
             repo_urls=[r'/usr/src/bare/(.*)'],
-            revlink=r'https://git.humopery.space/?p=\1;a=commitdiff;h=%s')
-        # TODO: render framagit links
-        # TODO: render github links
-        # TODO: render gitlab links
+            revlink=r'https://git.humopery.space/?p=\1;a=commitdiff;h=%s'),
+        RevlinkMatch(
+            repo_urls=[r'https://github.com/(.*).git'],
+            revlink=r'https://github.com/\1/commit/%s'),
+        RevlinkMatch(
+            repo_urls=[r'https://gitlab.com/(.*).git'],
+            revlink=r'https://gitlab.com/\1/-/commit/%s'),
+        RevlinkMatch(
+            repo_urls=[r'https://framagit.org/(.*).git'],
+            revlink=r'https://framagit.org/\1/-/commit/%s'),
     ),
     'schedulers': [ForceScheduler(
         name="force",