commit | a63c7a583b0bd917c118e259d2237252d0adc3ca | [log] [tgz] |
---|---|---|
author | Dariusz Luksza <dariusz.luksza@gmail.com> | Mon Oct 23 13:07:58 2023 +0100 |
committer | Dariusz Luksza <dariusz.luksza@gmail.com> | Thu Nov 09 11:54:56 2023 +0000 |
tree | e80715a145cfdf391c05de4f888c874fc3137ebf | |
parent | bbbfe2b937bf6088b3e6527940e9e49334cb6607 [diff] |
Optionally skip submit rules evaluation on closed changes Adds a `change.skipCurrentRulesEvaluationOnClosedChanges` configuration option to control submit rule evaluation on closed (merged and abandoned) changes. The default value for this option is `true` to keep the current behaviour of Gerrit. This means that each time closed change is viewed, submit rules will be revaluated. This may result in labels being added or removed depending on the most recent project configuration. This also means that labels on the closed changes may not represent the stale of them when it was submitted. When `change.skipCurrentRulesEvaluationOnClosedChanges` is set to `true` Gerrit will show the exact state of review labels the change was merged with. Bug: Issue 298084094 Release-Notes: Allow disable rules evaluation on closed changes Change-Id: I2499271b84edceba0c34c3347dea2f8508eca00f
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.