commit | cee6a8fed1150fe8114aeb28c2e321aab918b85c | [log] [tgz] |
---|---|---|
author | Marija Savtchouk <mariasavtchouk@google.com> | Thu Dec 03 12:58:04 2020 +0000 |
committer | Marija Savtchouk <mariasavtchouk@google.com> | Thu Dec 03 15:33:41 2020 +0000 |
tree | b3affc6a0da4f4c59ad4423dbffd1177e0be4237 | |
parent | de50d7ea24f2cfa61c0a273928d705685ef529d0 [diff] |
Add an option to keep votes when moving the change to another branch. The intention of this change is to support master -> main migration. Today, only the veto votes that are blocking the change from submission are moved to the destination branch. Adding an option allows admin to decide what to do with the votes when moving open changes, using a simple script. Added 'keepAllVotes' option so it is possible to move all votes. The option is only allowed to be used by admins at their own risk, because it affects the submission behavior of the change depending on the label access configuration and submission rules. We could squash the user votes to the allowed permission range: * In that case the original votes would be lost when moving back to the original branch. * It is expensive to call permission backend * The votes are often granted in the context of a specific branch Other options and considerations in the original discussion: Iae0443b16151 Change-Id: Ia197a779f93e928604a0d0ea3360825dcfbeb6d9
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.