Update git submodules
* Update plugins/replication from branch 'stable-3.13'
to 33fc916b0425bdbfbba6fc96047de5b5a0bb8777
- Merge branch 'stable-3.12' into stable-3.13
* stable-3.12:
Fix --remote option to replication start
Add RoundRobin URL selection per remote
Improve the wording to explain url matching
Release-Notes: skip
Change-Id: I98294fefeca033b53b0d3bc7c12372656e1c9ec9
- Merge branch 'stable-3.11' into stable-3.12
* stable-3.11:
Fix --remote option to replication start
Add RoundRobin URL selection per remote
Improve the wording to explain url matching
Release-Notes: skip
Change-Id: Ice84b2af7a2c5d794538fdb2c909942223f8f5c4
- Fix --remote option to replication start
Declaring --remote as a 'Set<String>' field trips args4j's
Setters.create(), which only treats List, Map, and Arrays as
multi-value containers. Use a method-based @Option that adds
each --remote value into a Set<String> to work around this.
Change-Id: Ic4b4242f3c9ac05b822f2b62141ba34270619f70
(cherry picked from commit 87a975dd6a62d383fc2d3914162365976123e1c2)
- Merge branch 'stable-3.10' into stable-3.11
* stable-3.10:
Improve the wording to explain url matching
Release-Notes: skip
Change-Id: Ifbb127d334c5a7c9cb74b5ffb6c64e9f1c7b00ca
- Add RoundRobin URL selection per remote
Introduce a `urlDistributionStrategy` config flag on remote sections.
When set to `roundRobin`, each replication push selects one URL from the
configured list in round-robin order rather than pushing to all URLs
simultaneously.
This is particularly useful in high-availability setups where multiple
replica hosts share a single NFS backend. Pushing to all URLs at once
would result in redundant writes to the same underlying storage.
Round-robin distributes push load evenly across hosts while ensuring
each push is executed exactly once.
Change-Id: Id67cddcf9e7f7a6f47f259eb78b0f53f0977f536
- Merge branch 'stable-3.9' into stable-3.10
* stable-3.9:
Improve the wording to explain url matching
Release-Notes: skip
Change-Id: Ie8ac890468c101ea9f4658ad7f9792ca838e7594
- Improve the wording to explain url matching
Everytime I use this switch I struggle and end up having to look a the
code to figure out how it works. Help clarify how the match works.
Change-Id: I1001e83d677483bf8372febc4cc6f3eea15b8341
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.