gerrit: Enable update script (#395924)

This commit is contained in:
Pol Dellaiera 2025-04-08 11:06:35 +02:00 committed by GitHub
commit c18c571e9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
gitUpdater,
nixosTests,
}:
@ -20,6 +21,11 @@ stdenv.mkDerivation rec {
'';
passthru = {
updateScript = gitUpdater {
url = "https://gerrit.googlesource.com/gerrit";
rev-prefix = "v";
allowedVersions = "^[0-9\\.]+$";
};
# A list of plugins that are part of the gerrit.war file.
# Use `java -jar gerrit.war ls | grep plugins/` to generate that list.
plugins = [