fix(monorepo-gerrit): fix linking to bugs & CLs in commits

In some Gerrit version upgrade the syntax of this config element seems
to have changed. There's now one less level of escaping, and it no
longer produces raw HTML but rather a link.

Fixes b/319.

Change-Id: I8d86d23e91cb003e950d9a6723bb0a5ee5d80bb0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9952
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2023-11-05 12:46:03 +03:00 committed by tazjin
parent c1a4c236ef
commit 47e34b2c36

View file

@ -87,14 +87,14 @@ in
# Auto-link panettone bug links # Auto-link panettone bug links
commentlink.panettone = { commentlink.panettone = {
match = "b/(\\\\d+)"; match = "b/(\\d+)";
html = "<a href=\"https://b.tvl.fyi/issues/$1\">b/$1</a>"; link = "https://b.tvl.fyi/issues/$1";
}; };
# Auto-link other CLs # Auto-link other CLs
commentlink.gerrit = { commentlink.gerrit = {
match = "cl/(\\\\d+)"; match = "cl/(\\d+)";
html = "<a href=\"https://cl.tvl.fyi/$1\">cl/$1</a>"; link = "https://cl.tvl.fyi/$1";
}; };
# Configures integration with Keycloak, which then integrates with a # Configures integration with Keycloak, which then integrates with a