commit | 180bca5b6153bd6554cfb5768af113644140f6c0 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Wed Dec 04 20:05:07 2019 +0900 |
committer | David Ostrovsky <david@ostrovsky.org> | Thu Dec 05 10:49:12 2019 -0800 |
tree | 7c91d0213a2eb007ccf8d9335e54a01ea213adf5 | |
parent | b19501d2bab1117de6712481747cfb128d17fe1c [diff] |
GitProtocolV2IT: Fail if git client is too old to support v2 JUnit assumption violation is not reflected on Bazel UI: [1]. As the consequence, if a test is passing it's not clear, it's skipped due to assumption violation or it is passing the actual tests. Especially for the important Gerrit features like git wire protocol v2 we must be sure that the integration tests got actually executed and were successful. Given that the git wire protocol test requires very recent git client version (2.18) add git-protocol-v2 label to the test rule and provide instructions how to skip the test in Bazel documentation. [1] https://github.com/bazelbuild/bazel/issues/3476 Bug: Issue 12032 Change-Id: Icba99ab22fa7e99fb303eb79cf3df3b354ee3d77
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 7 based Gerrit image:
docker run -p 8080:8080 gerritforge/gerrit-centos7[:version]
To run a Ubuntu 15.04 based Gerrit image:
docker run -p 8080:8080 gerritforge/gerrit-ubuntu15.04[:version]
NOTE: release is optional. Last released package of the version is installed if the release number is omitted.