diff options
author | Franck Cuny <franck@fcuny.net> | 2022-06-09 11:03:47 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-06-09 11:05:00 -0700 |
commit | acae8439ee41e99b5c61111d2e75c15bb3c06ba1 (patch) | |
tree | 66919efc08d1adce76431241afaf00813a05293d | |
parent | ref(nix): move the mkSystem function to its own file (diff) | |
download | world-acae8439ee41e99b5c61111d2e75c15bb3c06ba1.tar.gz |
feat(gerrit): add plugin 'reviewnotes'
This plugin stores review information for Gerrit changes in the `refs/notes/review' branch. Change-Id: I51c7fe1f8764617e0bff5455d3fe713b0e2f446e Reviewed-on: https://cl.fcuny.net/c/world/+/300 Reviewed-by: Franck Cuny <franck@fcuny.net>
-rw-r--r-- | modules/services/gerrit/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/services/gerrit/default.nix b/modules/services/gerrit/default.nix index a56dc7e..1d4be66 100644 --- a/modules/services/gerrit/default.nix +++ b/modules/services/gerrit/default.nix @@ -41,7 +41,15 @@ in { enable = true; listenAddress = "[::]:4778"; serverId = "36bc0ffe-8f33-4045-bf8b-de5f88815fc0"; - builtinPlugins = [ "download-commands" "hooks" ]; + builtinPlugins = [ + # commands to download changes + "download-commands" + # to run custom hooks + "hooks" + # stores review information for Gerrit changes in the + # refs/notes/review branch. + "reviewnotes" + ]; jvmHeapLimit = "4g"; plugins = [ oauth ]; |