commit | 7e1967fb108bfbd5a9d4f3c550823a3874436b4a | [log] [tgz] |
---|---|---|
author | Alex Spradlin <alexaspradlin@google.com> | Mon Feb 22 13:13:43 2021 -0800 |
committer | Alex Spradlin <alexaspradlin@google.com> | Mon Feb 22 14:00:58 2021 -0800 |
tree | e7c1a69ba2151717a260b837b27c67cfa6ef220e | |
parent | 30b1818165146bfbf8e3cace71c623d0cd4f1a92 [diff] |
Override equals in REST API data classes Override the equals and hashCode methods in REST API data objects reachable from ChangeInfo. All fields are compared. This is necessary to write a ChangeInfo differ for a new REST API endpoint. The differ uses reflection and must compare objects using equals. However, equals was overridden for some but not for all classes reachable from ChangeInfo. Signed-off-by: Alex Spradlin <alexaspradlin@google.com> Change-Id: I56794dd5ca78f08de3cda77d1dbc2f14dda3bdaf
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.