commit | 087fe34a2e371a8ca67e355a9e5ea6b81ee9ed93 | [log] [tgz] |
---|---|---|
author | Nasser Grainawi <nasser.grainawi@linaro.org> | Wed Apr 10 15:40:27 2024 -0600 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Apr 10 21:40:27 2024 +0000 |
tree | fb71a086dfeb1139f5e0475617dabc99283d0187 | |
parent | 493e4bdadf9cc6b2ee0e79028d6b6bbdf7f952de [diff] |
Update git submodules * Update plugins/plugin-manager from branch 'master' to 53d615a6286d1ca1fdca7dc84eee42b4e63fc70d - Avoid work in Optional.orElse() calls Any code inside the orElse() will always be called, even if the result isn't used because the optional is present. This is wasteful at a minimum and can be actively harmful (as seen in [1]) because of side effects or performance impacts. Fix that by replacing all orElse() calls that create new instances or do non-constant work with a call to orElseGet(). It would be nice if there were an ErrorProne checker for this, but one doesn't exist yet. [1] https://gerrit-review.googlesource.com/c/gerrit/+/417915/comment/0ea287cd_bfecb7f2/ Release-Notes: skip Change-Id: I2d3d59da88cd04a2e589b7255fc0877719a57432 - zuul: Fix test dependency on release.war This is a fix for change I1712801 that added a test dependency on the release.war. Zuul doesn't sync all the core submodules by default, so we need to list them as required dependencies in order to build the release war. Release-Notes: skip Change-Id: I71bfad7a59d95f5677111b635d3c5d3fc3cb14e2
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.