RETIRED, Gerrit as used by OpenStack
Go to file
David Pursehouse 5eaed62346 Allow to share guava definitions between buck and bazel builds
Move the definitions of GUAVA_VERSION and GUAVA_DOC_URL into a
separate .bzl file, and add GUAVA_BIN_SHA1. Modify the existing
GUAVA_VERSION file to include the new .bzl file.

This allows to reuse the same values in both the buck and bazel
builds, and when we update Guava we only need to modify one file.

Update the bazel build of the extension API to include the Guava
Javadoc URL in the javadoc rule.

Change-Id: I7895ceb761d609d79d3b80a271e6bd7425c17e2b
2016-10-26 15:46:27 +09:00
.settings Build with Java 8 2016-09-20 10:19:52 +02:00
bucklets Buck: Fix typo in gerrit_plugin.bucklet 2015-12-23 17:55:11 +01:00
contrib Remove unused/outdated Pylint configuration file 2016-10-20 09:07:01 +09:00
Documentation Merge "Allow to listen to Web login/logout events" 2016-10-25 22:44:48 +00:00
gerrit-acceptance-framework TestAccount: Use Java 8 streams instead of FluentIterable 2016-10-25 14:28:53 +09:00
gerrit-acceptance-tests Merge "GroupCache: Return ImmutableList from all()" 2016-10-25 11:08:30 +00:00
gerrit-antlr Implement Bazel build 2016-06-14 21:12:02 +02:00
gerrit-cache-h2 Support for setting diskLimit from CacheModule bindings 2016-09-22 22:51:33 +02:00
gerrit-common Bazel: Fix test for //gerrit-common:client_tests 2016-10-26 07:45:09 +02:00
gerrit-elasticsearch ElasticQueryChangesTest: Increase transport timeout to 1 minute 2016-10-22 01:05:40 +00:00
gerrit-extension-api Allow to share guava definitions between buck and bazel builds 2016-10-26 15:46:27 +09:00
gerrit-gpg Bump bouncy castle to 1.55 2016-10-25 12:21:22 +00:00
gerrit-gwtdebug Bump GWT version to 2.8.0-rc2 2016-09-19 15:10:11 +02:00
gerrit-gwtexpui Build a Recommender for Reviewer Suggestion 2016-10-12 16:51:58 +02:00
gerrit-gwtui Allow deletion of open and abandoned changes 2016-10-24 17:42:08 +02:00
gerrit-gwtui-common Merge "Sort email comment groups" 2016-10-25 18:27:56 +00:00
gerrit-httpd Allow to listen to Web login/logout events 2016-10-25 08:00:28 +01:00
gerrit-index bazel: update for elasticsearch and lucene. 2016-09-28 21:17:08 +02:00
gerrit-launcher Merge changes from topic 'win32' 2016-09-23 12:12:11 +00:00
gerrit-lucene Upgrade Guava to 20.0-rc1 2016-10-24 23:46:14 +09:00
gerrit-main Merge changes from topic 'bazel-build' 2016-09-20 11:57:48 +00:00
gerrit-oauth OAuthTokenCache: Use account id as key 2016-10-18 23:37:24 +02:00
gerrit-openid Move AuthType from gerrit-reviewdb to extension API 2016-08-23 17:27:50 +09:00
gerrit-patch-commonsnet Merge branch 'stable-2.12' 2016-08-18 09:09:43 -04:00
gerrit-patch-jgit Update Buck to latest version 2016-09-20 13:19:15 +02:00
gerrit-pgm Merge changes Ic1331b5a,I632d502f 2016-10-25 23:55:16 +00:00
gerrit-plugin-api Merge branch 'stable-2.13' 2016-10-23 15:24:08 +09:00
gerrit-plugin-archetype Build with Java 8 2016-09-20 10:19:52 +02:00
gerrit-plugin-gwt-archetype Build with Java 8 2016-09-20 10:19:52 +02:00
gerrit-plugin-gwtui Buck: Create javadoc from source archive 2016-09-07 22:49:38 +02:00
gerrit-plugin-js-archetype Build with Java 8 2016-09-20 10:19:52 +02:00
gerrit-prettify bazel: genasciidoc and genasciidoc_zip rule 2016-10-07 15:20:35 +08:00
gerrit-reviewdb Support voting on merged changes 2016-10-14 10:16:43 +02:00
gerrit-server Merge "Sort email comment groups" 2016-10-25 18:27:56 +00:00
gerrit-sshd Upgrade Guava to 20.0-rc1 2016-10-24 23:46:14 +09:00
gerrit-util-cli Implement Bazel build 2016-06-14 21:12:02 +02:00
gerrit-util-http Convert some Functions/Predicates to streams & lambdas (5) 2016-09-21 04:27:43 -04:00
gerrit-util-ssl Implement Bazel build 2016-06-14 21:12:02 +02:00
gerrit-war Reinstate 214171ddda 2016-10-24 14:47:44 +02:00
lib Allow to share guava definitions between buck and bazel builds 2016-10-26 15:46:27 +09:00
plugins bazel: build a polygerrit war too. 2016-10-25 13:12:26 +00:00
polygerrit-ui bazel: be more restrictive in inputs to vulcanize() rule. 2016-10-24 23:23:46 +02:00
ReleaseNotes Replace 2.12.x and 2.13.x release notes with links to homepage 2016-10-19 18:08:51 +09:00
tools Bazel: Fix build for headless WAR 2016-10-26 07:21:55 +02:00
website/releases Fix Diffy logo on release page by encoding the image 2015-12-29 10:36:39 -08:00
.bazelrc Reinstate 214171ddda 2016-10-24 14:47:44 +02:00
.buckconfig Merge branch 'stable-2.13' 2016-09-21 11:35:53 +02:00
.buckversion Update buck to latest version 2016-10-04 14:18:47 +09:00
.editorconfig Added continuation indent to editorconfig 2016-04-26 14:42:58 +02:00
.gitignore Ignore .metadata folder managed by Eclipse 2016-10-04 12:06:17 +02:00
.gitmodules Adapt .gitmodules to enable superproject subscriptions 2016-07-27 12:01:40 -07:00
.mailmap Fix .mailmap 2016-10-17 14:03:40 +09:00
.pydevproject Update PyDev project to use Python 2.7 2014-10-02 15:16:44 +09:00
.watchmanconfig Watchman: Add eclipse-out to ignored directories 2016-01-22 08:04:24 +01:00
BUCK Buck: Build gwtgerrit without touching PolyGerrit deps 2015-12-01 07:29:21 +00:00
BUILD bazel: build a polygerrit war too. 2016-10-25 13:12:26 +00:00
COPYING Initial project setup of Gerrit 2 2008-11-14 16:59:34 -08:00
INSTALL Remove Gerrit 1.x to 2.x import tools 2009-03-27 20:20:10 -07:00
README.md Add build status badge 2016-10-15 23:49:45 +01:00
SUBMITTING_PATCHES Update push URL in SUBMITTING_PATCHES 2012-03-29 00:57:14 -04:00
VERSION Set version to 2.14-SNAPSHOT 2016-08-19 08:51:10 -04:00
WORKSPACE Allow to share guava definitions between buck and bazel builds 2016-10-26 15:46:27 +09:00

Gerrit Code Review

Gerrit is a code review and project management tool for Git based projects.

Build Status

Objective

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.

Documentation

For information about how to install and use Gerrit, refer to the documentation.

Source

Our canonical Git repository is located on googlesource.com. There is a mirror of the repository on Github.

Reporting bugs

Please report bugs on the issue tracker.

Contribute

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.

Getting in contact

The IRC channel on freenode is #gerrit. An archive is available at: echelog.com.

The Developer Mailing list is repo-discuss on Google Groups.

License

Gerrit is provided under the Apache License 2.0.

Build

Install Buck and run the following:

    git clone --recursive https://gerrit.googlesource.com/gerrit
    cd gerrit && buck build release

Install binary packages (Deb/Rpm)

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>]

NOTE: release is optional. Last released package of the version is installed if the release number is omitted.