about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ops/nixos/monorepo-gerrit.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/ops/nixos/monorepo-gerrit.nix b/ops/nixos/monorepo-gerrit.nix
index bbd753599d4f..c3bac190726e 100644
--- a/ops/nixos/monorepo-gerrit.nix
+++ b/ops/nixos/monorepo-gerrit.nix
@@ -67,6 +67,12 @@ in {
         filehistory = "/depot@\${commit}/-/blob/\${file}#&tab=history";
       };
 
+      # Auto-link panettone bug links
+      commentlink.panettone = {
+        match = "b/(\\d+)";
+        html = "<a href=\"https://b.tvl.fyi/issues/$1\">b/$1</a>";
+      };
+
       # Configures integration with the locally running OpenLDAP
       auth.type = "LDAP";
       ldap = {