revert(monorepo-gerrit): Revert to using cgit for Gerrit

This reverts commit 3b05be2fd0.

Reason for revert: Sourcegraph still does not support fetching arbitrary refs, so we'll have to wait until its Gerrit integration lands before this will work correctly.

Change-Id: Icee82c50f92c34ba1741b608449aed16538ccbaa
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2721
Tested-by: BuildkiteCI
Reviewed-by: lukegb <lukegb@tvl.fyi>
This commit is contained in:
tazjin 2021-03-31 21:21:29 +00:00
parent 77ef317796
commit 99148c9b8f

View file

@ -53,18 +53,18 @@ in {
"pull"
];
# Configure for Sourcegraph.
# Configure for cgit.
gitweb = {
type = "custom";
url = "https://cs.tvl.fyi";
linkname = "Sourcegraph";
project = "/depot";
revision = "/depot/-/commit/\${commit}";
branch = "/depot@\${branch}";
tag = "/depot@\${tag}";
roottree = "/depot@\${commit}";
file = "/depot@\${commit}/-/blob/\${file}";
filehistory = "/depot@\${commit}/-/blob/\${file}#&tab=history";
url = "https://code.tvl.fyi";
project = "/";
revision = "/commit/?id=\${commit}";
branch = "/log/?h=\${branch}";
tag = "/tag/?h=\${tag}";
roottree = "/tree/?h=\${commit}";
file = "/tree/\${file}?h=\${commit}";
filehistory = "/log/\${file}?h=\${branch}";
linkname = "cgit";
};
# Auto-link panettone bug links