commit | 6e51e8d049d42380cc1d959da6a3273d9dd4cc18 | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Sat Nov 25 13:27:00 2023 +0100 |
committer | Alvaro Vilaplana Garcia <alvaro.vilaplana@gmail.com> | Wed Feb 07 09:18:45 2024 +0000 |
tree | 21d32a7f8a15756968273e8f9c3a92bfb8e3b7a4 | |
parent | 164321e90f924afc9610fc49d81b03f124514abc [diff] |
Bazel: Clean up configuration options De-duplicate options for local and remote build configurations. Note, though, that we don't re-use build_shared configuration for default build configuration, e.g.: build --config=build_shared to avoid these confusing warnings during the build, when building non default configurations, e.g.: $ bazel build --config=java11 java/com/google/gerrit/common:server [...] WARNING: option '--java_language_version' was expanded to from both option '--config=build_shared' (source /home/davido/projects/gerrit2/.bazelrc) and option '--config=java11' (source command line options) Also remove unused remote-cache configuration options. Release-Notes: skip Change-Id: Ia557c949227b3038cbd62e4a0a3bad0f17d42218
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.