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:
parent
dd66480635
commit
a342bdb80b
1 changed files with 14 additions and 0 deletions
|
@ -17,6 +17,20 @@ in {
|
||||||
gerrit.canonicalWebUrl = "https://cl.tvl.fyi";
|
gerrit.canonicalWebUrl = "https://cl.tvl.fyi";
|
||||||
httpd.listenUrl = "proxy-https://${cfg.listenAddress}";
|
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
|
# Configures integration with the locally running OpenLDAP
|
||||||
auth.type = "LDAP";
|
auth.type = "LDAP";
|
||||||
ldap = {
|
ldap = {
|
||||||
|
|
Loading…
Reference in a new issue