Update external dependencies to match version used at Google This change follows the recent Gitiles dependency update done at Google and keeps Gerrit aligned with the versions currently used there. A follow-up effort is planned to synchronize dependency versions across Gitiles, JGit and Gerrit to minimize divergence and reduce friction when updating shared libraries. There are also ongoing efforts to migrate the Bazel build from WORKSPACE dependency management to bzlmod and to consume external dependencies via rules_jvm_external. This requires normalization of dependency versions in order to merge them into a single Maven dependency graph. This change updates the following dependencies, as was recently done in Gitiles: +------------------------+-------------------+--------------------+ | Library | Old Version | New Version | +------------------------+-------------------+--------------------+ | ASM (OW2) | 9.7 | 9.9.1 | | Autolink | 0.10.0 | 0.11.0 | | Commonmark | 0.21.0 | 0.24.0 | | Commons Codec | 1.15 | 1.18.0 | | Diffutils | 1.3.0 | 4.16 | | Guava | 33.4.8-jre | 33.5.0-jre | | Guava Failureaccess | 1.0.1 | 1.0.3 | | ICU4J | 77.1 | 78.2 | | Mockito | 5.6.0 | 5.21.0 | +------------------------+-------------------+--------------------+ Upstream release notes: * ASM: https://asm.ow2.io/versions.html * Autolink: https://github.com/robinst/autolink-java/blob/main/CHANGELOG.md * CommonMark: https://github.com/commonmark/commonmark-java/releases * Commons Codec: https://commons.apache.org/proper/commons-codec/changes.html * java-diff-utils: https://github.com/java-diff-utils/java-diff-utils/releases * Guava: https://github.com/google/guava/releases * ICU4J: https://github.com/unicode-org/icu/releases * Mockito: https://github.com/mockito/mockito/releases Note: diffutils moved from com.googlecode.java-diff-utils:diffutils to io.github.java-diff-utils:java-diff-utils. Release-Notes: Update external dependencies. Change-Id: I361f12e0b38b107af1e3fcf25d2c0f3da8bb9713
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.