feat(gerrit): Auto link 'cl/123'-style shortlinks
Same as linking to bugs (e.g. b/108). Change-Id: I447020bc07059c98c53322d745f961d8d471d9a4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2919 Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
This commit is contained in:
parent
e6d1e68f4a
commit
f205d8ee73
1 changed files with 6 additions and 0 deletions
|
@ -74,6 +74,12 @@ in {
|
|||
html = "<a href=\"https://b.tvl.fyi/issues/$1\">b/$1</a>";
|
||||
};
|
||||
|
||||
# Auto-link other CLs
|
||||
commentlink.gerrit = {
|
||||
match = "cl/(\\\\d+)";
|
||||
html = "<a href=\"https://cl.tvl.fyi/$1\">cl/$1</a>";
|
||||
};
|
||||
|
||||
# Configures integration with CAS, which then integrates with a variety
|
||||
# of backends.
|
||||
auth.type = "OAUTH";
|
||||
|
|
Loading…
Reference in a new issue