commit | 29c4ccc31998f6d8fba783bf34f3a13f297f685a | [log] [tgz] |
---|---|---|
author | Marija Savtchouk <mariasavtchouk@google.com> | Wed Apr 21 15:23:32 2021 +0000 |
committer | Matthias Sohn <matthias.sohn@sap.com> | Fri Nov 18 16:33:53 2022 +0100 |
tree | 5e51fd486f3f70040652711d24a45d805c96f637 | |
parent | aec2bead1ba39b32a75bffc005e2f66ad22c65fa [diff] |
Remove eTag from RevisionResource, subject to experiment In https://gerrit-review.googlesource.com/c/gerrit/+/293978, eTag was removed from GetRevisionActions, but not RevisionResource. This resulted in the UI to show stale 'submit' action on the change in the same submission chain. The UI now uses RevisionResource eTag, that does not include MergeSuperSet (all related changes). In this change: - Return non-cacheable result from GetRevisionActions, so it does not return RevisionResource eTag. - Add an experiment flag to remove revision eTag. The computation of eTag can be expensive, we can run experiments to see if it can be dropped permanently. Bug: Issue 14686 Bug: Issue 14779 Bug: Issue 16030 Release-Notes: Fix Issue 14779: Caching issue with "Submit including parents" Change-Id: I65a3277d3cb0a116a56f6dcaed205c7f808443c3
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.