feat(monorepo-gerrit): Enable download-commands plugin
This enables the display of various download commands on change pages, which makes things like checking out refs for review locally easier. Change-Id: I3c29854aa0cf1aa393efb89b7516bbf84e0083d4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/162 Reviewed-by: lukegb <lukegb@tvl.fyi>
This commit is contained in:
parent
213d637ca9
commit
8735c63e97
1 changed files with 9 additions and 0 deletions
|
@ -7,6 +7,8 @@ in {
|
|||
enable = true;
|
||||
listenAddress = "[::]:4778"; # 4778 - grrt
|
||||
serverId = "4fdfa107-4df9-4596-8e0a-1d2bbdd96e36";
|
||||
builtinPlugins = [ "download-commands" ];
|
||||
|
||||
settings = {
|
||||
core.packedGitLimit = "100m";
|
||||
log.jsonLogging = true;
|
||||
|
@ -18,6 +20,13 @@ in {
|
|||
gerrit.canonicalWebUrl = "https://cl.tvl.fyi";
|
||||
httpd.listenUrl = "proxy-https://${cfg.listenAddress}";
|
||||
|
||||
download.command = [
|
||||
"checkout"
|
||||
"cherry_pick"
|
||||
"format_patch"
|
||||
"pull"
|
||||
];
|
||||
|
||||
# Configure for cgit.
|
||||
gitweb = {
|
||||
type = "custom";
|
||||
|
|
Loading…
Reference in a new issue