commit | d1223578bef4d5c0fca1c7c87b6eae1e8756195c | [log] [tgz] |
---|---|---|
author | Nitzan Gur-Furman <nitzan@google.com> | Mon Jan 16 12:07:46 2023 +0000 |
committer | Nitzan Gur-Furman <nitzan@google.com> | Wed Jan 18 07:41:24 2023 +0000 |
tree | 7343ba5caed6517c4c89126f15e2888b7bef13c5 | |
parent | cc4c6c1b9b97e0d44f43e1f5de3093adb54694d0 [diff] |
Revert "Revert "Add project permission for removing votes/labels."" This reverts commit 7b91e4e06fd1ff5bdfcebb4561fcee32cf48caf2. Reason for revert: Re-adding the feature with the needed fixes. Issues with the original change: 1. The added dependency on ChangeData::notes() while checking for permissions broke the query flow. 2. For backward compatibility, removing label should be allowed with either remove-reviewer or remove-vote permissions. 3. ChangeInfoDiffer.getAddedForMap failed when the old map was null. Bug: Google b/245706858 Bug: Google b/265447204 Change-Id: I5c74804d1dbb51cf6d97de653e47654acd2bf263 Forward-Compatible: checked Release-Notes: New project permission for removing votes/labels
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.