commit | 8784a6cffc9ca2d37e6d015868aad9181d52603c | [log] [tgz] |
---|---|---|
author | Clark Boylan <clark.boylan@gmail.com> | Wed Sep 27 16:35:19 2023 -0700 |
committer | Clark Boylan <clark.boylan@gmail.com> | Thu Sep 28 11:13:25 2023 -0700 |
tree | 1a858fd6a418c8df47236ce04d2874d6e8210377 | |
parent | fdb835d5193dae78cd98443f8a665caf37a41dc4 [diff] |
Be more explicit about using Bazelisk in dev docs Bazelisk was mentioned as a Bazel manager in the documentation, but then all examples used the `bazel` command. At least on my machine this would result in using old Bazel 3.7.2 or very new Bazel 6.3.1 installed through my package manager. Neither of these versions seem appropriate for Gerrit 3.7. In order to make it more clear that using `bazelisk` as a `bazel` replacement is necessary to take advantage of all the good that Bazelisk does we update the docs to use the `bazelisk` command. I've also taken this as an opportunity to add a bit more narrative around testing with Bazel/Bazelisk in Gerrit as my confusion around how to successfully run tests for the replication plugin is what led me to write this change. I'm happy to split this up into multiple changes or make edits for accuracy (I'm definitely no expert). Release-Notes: skip Change-Id: Iaaec6f0c5ab1e28a2f10c6b4a09b52313166fcbd
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.