diff options
author | Vincent Ambo <mail@tazj.in> | 2021-08-28T11·31+0300 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2021-08-28T15·32+0000 |
commit | fe225d48a18f722c03e31fdeb9c6c6c4ac6bb9d8 (patch) | |
tree | 027383b912447ccaf3b4a0b42e3dbb2c77fad84b /third_party/gerrit/default.nix | |
parent | 0c1b8f954ebecc4fd0db53a559acaaeaa7c80824 (diff) |
feat(3p/gerrit): Upgrade Gerrit and plugins to v3.4.0 r/2798
Brings us back to a stable version of Gerrit instead of a random commit. Note that Gerrit 3.4.1 is out, but due to a bug it can not be built publicly because it accidentally points at a private submodule (this is being fixed upstream). Change-Id: I0376c63a649498cef999dfa99bfccba511f2c8da Reviewed-on: https://cl.tvl.fyi/c/depot/+/3444 Tested-by: BuildkiteCI Reviewed-by: lukegb <lukegb@tvl.fyi>
Diffstat (limited to 'third_party/gerrit/default.nix')
-rw-r--r-- | third_party/gerrit/default.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/third_party/gerrit/default.nix b/third_party/gerrit/default.nix index 71a0c44ac948..6afc8813a936 100644 --- a/third_party/gerrit/default.nix +++ b/third_party/gerrit/default.nix @@ -28,7 +28,7 @@ let runScript = "/bin/bazel-run"; }; bazel = bazelTop // { override = x: bazelTop; }; - version = "3.3.2-1990-gabb30fe7f1"; + version = "3.4.0"; in pkgs.lib.makeOverridable pkgs.buildBazelPackage { pname = "gerrit"; @@ -36,10 +36,12 @@ pkgs.lib.makeOverridable pkgs.buildBazelPackage { src = pkgs.fetchgit { url = "https://gerrit.googlesource.com/gerrit"; - rev = "abb30fe7f1ecf07d7b5098d6ad7e4423389c41e5"; - sha256 = "sha256:0xsxhqyjl2dd1wglfk43b8c7591l2x5ikb4l7nxi96czladqy82v"; + rev = "471c1c15a7bc294d10e246df43812942b5ac8a13"; + branchName = "v${version}"; + sha256 = "sha256:0ayj0bcsxjln8qydkj9j7yiqibmjgd3bcpqvgsdzdx072wzx01c0"; fetchSubmodules = true; }; + patches = [ ./0001-Use-detzip-in-download_bower.py.patch ./0002-Syntax-highlight-nix.patch @@ -48,8 +50,6 @@ pkgs.lib.makeOverridable pkgs.buildBazelPackage { ./0005-When-using-local-fonts-always-assume-Gerrit-is-mount.patch ./0006-Always-use-Google-Fonts.patch ./0007-Keep-left-padding-on-account-chip-if-no-avatar-provi.patch - - ./polygerrit-revert-typescript.patch ]; bazelTarget = "release api-skip-javadoc"; @@ -63,7 +63,7 @@ pkgs.lib.makeOverridable pkgs.buildBazelPackage { fetchConfigured = true; fetchAttrs = { - sha256 = "sha256:0i40brj8c49920fhl7h84rlbg1i4bz5c0p7sflm7h9m5m6jr8a1y"; + sha256 = "sha256:16a1lbz40bc7217ldwf7x8yzlzxc714h965ldjnmfbvi3jq3hk6y"; preBuild = '' rm .bazelversion ''; |