feat(monorepo-gerrit): link to git.tazj.in as source browser

Change-Id: Ia31389a958c1927b63dfebb7c2ed2054177410b4
Reviewed-on: https://cl.tvl.fyi/c/depot/+/23
Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
Luke Granger-Brown 2020-06-11 22:49:37 +01:00 committed by lukegb
parent dd66480635
commit a342bdb80b

View file

@ -17,6 +17,20 @@ in {
gerrit.canonicalWebUrl = "https://cl.tvl.fyi";
httpd.listenUrl = "proxy-https://${cfg.listenAddress}";
# Configure for cgit.
gitweb = {
type = "custom";
url = "https://git.tazj.in";
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";
};
# Configures integration with the locally running OpenLDAP
auth.type = "LDAP";
ldap = {