From acae8439ee41e99b5c61111d2e75c15bb3c06ba1 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 9 Jun 2022 11:03:47 -0700 Subject: 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 --- modules/services/gerrit/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'modules') 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 ]; -- cgit 1.4.1