commit | 78881fc207106d4224322e0969f129c80b308320 | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Sun Dec 10 22:12:41 2017 +0100 |
committer | David Ostrovsky <david@ostrovsky.org> | Wed Feb 07 20:37:45 2018 +0100 |
tree | 70d1be01963fd72152b96fa64aa96f2250dd7e74 | |
parent | e32aa990ccd7b7fce710006e9a586ce839542333 [diff] |
Bazel: Update to custom rules_closure to support Java 9 We need to upgrade rules_closure tools to be able to build with Java 9. That's because rules_closure depends on dagger 2 and auto-common and auto-value, that need to be updated to not depend on legacy annotations (that are not available on Java 9). Moreover, latest rules_closure switched to building protobuf library from the sources, creating the next problem: Protobuf doesn't support Java 9 yet. That was fixed only on master, so that we need to update rules_closure to consume the protobuf dependency from HEAD. See these issues for more background: [1],[2],[3],[4]. [1] https://github.com/google/auto/issues/560 [2] https://github.com/bazelbuild/rules_closure/issues/234 [3] https://github.com/google/dagger/issues/880 [4] https://github.com/google/protobuf/issues/4256 Bug: Issue 7958 Change-Id: I56f3b6101e06bd678b4e42d3a9d52157963513aa
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 IRC channel on freenode is #gerrit. An archive is available at: echelog.com.
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 --recursive 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.