mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 00:27:53 +00:00
gerrit: Enable update script (#395924)
This commit is contained in:
commit
c18c571e9a
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user