commit | 5d978422e02f4320931b3bed0d67e355f3ceb4ed | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Thu Aug 11 13:05:23 2022 +0200 |
committer | Edwin Kempin <ekempin@google.com> | Thu Aug 11 13:16:07 2022 +0200 |
tree | d007cc8a33af0ff4e3af185db5b16b736596cf37 | |
parent | c8c8ebeb90bd0ebd73f718b17284e9e572ede1e3 [diff] |
Allow removing permission rules for non-existing external groups Gerrit doesn't support group deletions, but it's possibe that external groups are deleted. If an external group is deleted and it is still referenced in a permission rule, it should be possible to remove this rule, but attempting to delete it failed because the access REST endpoints rejected updates for non-resolvable groups (with '422 Unprocessible Entity <group-name> is not a valid group ID'). Ensuring that the group exists makes sense when adding permission rules, but is not needed when removing permission rules. Signed-off-by: Edwin Kempin <ekempin@google.com> Release-Notes: skip Bug: Google b/241776806 Change-Id: Iadf861b6a16557565844d5bd9884eb95b4257462
Gerrit is a code review and project management tool for Git based projects.
Gerrit makes reviews easier by showing changes in a side-by-side display, and allowing inline comments to be added by any reviewer.
Gerrit simplifies Git based project maintainership by permitting any authorized user to submit changes to the master Git repository, rather than requiring all approved changes to be merged in by hand by the project maintainer.
For information about how to install and use Gerrit, refer to the documentation.
Our canonical Git repository is located on googlesource.com. There is a mirror of the repository on Github.
Please report bugs on the issue tracker.
Gerrit is the work of hundreds of contributors. We appreciate your help!
Please read the contribution guidelines.
Note that we do not accept Pull Requests via the Github mirror.
The Developer Mailing list is repo-discuss on Google Groups.
Gerrit is provided under the Apache License 2.0.
Install Bazel and run the following:
git clone --recurse-submodules https://gerrit.googlesource.com/gerrit cd gerrit && bazel build release
The instruction how to configure GerritForge/BinTray repositories is here
On Debian/Ubuntu run:
apt-get update && apt-get install gerrit=<version>-<release>
NOTE: release is a counter that starts with 1 and indicates the number of packages that have been released with the same version of the software.
On CentOS/RedHat run:
yum clean all && yum install gerrit-<version>[-<release>]
On Fedora run:
dnf clean all && dnf install gerrit-<version>[-<release>]
Docker images of Gerrit are available on DockerHub
To run a CentOS 8 based Gerrit image:
docker run -p 8080:8080 gerritcodereview/gerrit[:version]-centos8
To run a Ubuntu 20.04 based Gerrit image:
docker run -p 8080:8080 gerritcodereview/gerrit[:version]-ubuntu20
NOTE: release is optional. Last released package of the version is installed if the release number is omitted.