commit | c4c258816f04e9a6148e07567d7f6a607a2e86fc | [log] [tgz] |
---|---|---|
author | Saša Živkov <sasa.zivkov@sap.com> | Tue Feb 02 16:58:31 2021 +0100 |
committer | Saša Živkov <sasa.zivkov@sap.com> | Tue Feb 02 16:58:31 2021 +0100 |
tree | 073bb3e87e5d53f6cbf2b9e6bbb410d8eaf36966 | |
parent | 791047f24f1d082832d8908cffbeb17c83918f26 [diff] |
MultiBaseLocalDiskRepositoryManagerTest: fix for running on Mac from Eclipse The alternateRepositoryLocation test was failing when running from Eclipse on Mac because the created repository location would be: /private/var/rest/of/path while the alternateBasePath is: /var/rest/of/path This difference comes from the fact that on Mac the /var is a symlink to /private/var and the creation of the repository would resolve the location using getCanonicalFile(). Use alternateBasePath.toRealPath() to resolve any symlinks in the alternateBasePath. NOTE: this issue doesn't show up when running tests from bazel as bazel's sandboxing uses different path locations. Change-Id: I2cb1adc48e16edc5adffd7b7f8eea2b5ea1a60f3
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.