commit | b1647c0c8e68263f7c121da10b7482177dc57e9c | [log] [tgz] |
---|---|---|
author | Youssef Elghareeb <ghareeb@google.com> | Fri Aug 27 12:02:43 2021 +0200 |
committer | Youssef Elghareeb <ghareeb@google.com> | Mon Aug 30 14:50:22 2021 +0200 |
tree | 36aaca1a8ccfbaa5937e5030d22a4fee55191433 | |
parent | 9470e5cca997337cf794ff25ad52eaf2bb08e07e [diff] |
Add a non_uploader arg to the label predicate Users can now query labels like `label:code-review=+2,user=non_uploader`. This query will match with changes having a vote from a user who's not the uploader of the latest patchset. This is the same logic of the IgnoreSelfApproval submit rule, and will allow us to create submit requirements that have an identical behaviour. Change-Id: I3d0c775270573d1b74bcf7501200ace1f872617c
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.