commit | e42603bb7f8750a7ea9c205482b4ff74fa8fb93d | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Thu Apr 04 15:06:34 2024 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Apr 04 15:06:34 2024 +0000 |
tree | 0778fe6a1c989a1a9faa0f01d19b030889aeaa92 | |
parent | 6340b6e249d74f43c171585d9b091600b2b2c19d [diff] |
Update git submodules * Update plugins/replication from branch 'master' to 5e33f8344e3855478914a5c530a327f888bd8c8e - Decouple replication-api.jar from the main replication plugin The Change Ib7a04eea5 made the whole replication plugin an ApiModule which becomes the base injector for all plugins and forbids reloads, (see the Iac2851022ea for enforcing it at Gerrit level) even when there is no intention to use th extension points. All plugins that expose an ApiModule have the following limitations: - Cannot add extra dependencies - Cannot be reloaded - Are the base injectors for all plugins The above limitations aren't acceptable for the whole replication plugin when used standalone without extensions. Define a new replication-api target that generates the sole ApiModule needed for extending the replication plugin functionality. All the classes that are part of the replication-api are moved into a separate c.g.g.p.replication.api package so that can be included in the replication-api.jar plugin. The gerrit.war will continue to include only the replication.jar which will still work out of the box. Anyone willing to customise its behaviour through the API will have to build the replication-api target. Also fix the MergedConfigResource that was assuming that the ApiModule was always installed and was binding DynamicItem<ReplicationConfigOverrides>. Bug: Issue 324462734 Release-Notes: Decouple replication-api.jar from the main replication plugin Change-Id: Ic432fc77daf1162368abd65f64c463e4ef4f5d6d
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.