RETIRED, Gerrit as used by OpenStack
Go to file
David Ostrovsky 6546085df7 Bazel: use a custom maven_jar rule
Using existing download_file.py from custom maven_jar Skylark rule
gives us the following advantages:

* fetching of sources (needed for GWT JSNI build and IDE integration)
* server support for proxies
* global, per-user cache of artifacts
* support for local maven repository (~/.m2)

Change-Id: Ic246dd9298775a6819f05453c601c688d8cb7ab9
2016-11-09 08:31:11 +01: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 Bazel: use a custom maven_jar rule 2016-11-09 08:31:11 +01:00
gerrit-acceptance-framework Bazel: Fix build 2016-11-08 23:11:46 +01:00
gerrit-acceptance-tests Bazel: Fix build 2016-11-08 23:11:46 +01:00
gerrit-antlr bazel: remove 'out' attribute from genrule2, and use throughout. 2016-11-02 13:54:10 +01:00
gerrit-cache-h2 Support for setting diskLimit from CacheModule bindings 2016-09-22 22:51:33 +02:00
gerrit-common Bazel: Temporarily disable auto-value tests 2016-11-05 20:30:48 +01:00
gerrit-elasticsearch bazel: set slow tests to size="medium". 2016-11-08 12:53:23 +01:00
gerrit-extension-api Add patch set description 2016-11-08 10:26:31 -08:00
gerrit-gpg bazel: mark test only libraries as such. 2016-11-08 12:53:17 +01: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 Merge changes I550ae6b0,Ibfbc7f70 2016-11-04 10:43:11 +00:00
gerrit-gwtui-common bazel: remove 'out' attribute from genrule2, and use throughout. 2016-11-02 13:54:10 +01:00
gerrit-httpd Serve fonts for local PolyGerrit development 2016-11-07 14:24:06 -08: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 Bazel: use a custom maven_jar rule 2016-11-09 08:31:11 +01:00
gerrit-pgm Implement receiver class structure and bindings 2016-11-07 11:18:45 +01:00
gerrit-plugin-api Bazel: Publish maven artifacts to local and remote repositories 2016-11-03 12:47:24 +00:00
gerrit-plugin-archetype Set version to 2.13.1 2016-09-23 14:28:31 +02:00
gerrit-plugin-gwt-archetype Set version to 2.13.1 2016-09-23 14:28:31 +02:00
gerrit-plugin-gwtui Bazel: Add build for gerrit-plugin-gwtui 2016-10-28 08:48:27 +02:00
gerrit-plugin-js-archetype Set version to 2.13.1 2016-09-23 14:28:31 +02:00
gerrit-prettify bazel: genasciidoc and genasciidoc_zip rule 2016-10-07 15:20:35 +08:00
gerrit-reviewdb Add patch set description 2016-11-08 10:26:31 -08:00
gerrit-server Merge "Include change number in change email footers" 2016-11-09 01:22:00 +00:00
gerrit-sshd Merge branch 'stable-2.13' 2016-11-04 19:24:42 +09:00
gerrit-util-cli Implement Bazel build 2016-06-14 21:12:02 +02:00
gerrit-util-http bazel: mark test only libraries as such. 2016-11-08 12:53:17 +01:00
gerrit-util-ssl Implement Bazel build 2016-06-14 21:12:02 +02:00
gerrit-war Implement receiver class structure and bindings 2016-11-07 11:18:45 +01:00
lib Bazel: use a custom maven_jar rule 2016-11-09 08:31:11 +01:00
plugins Update git submodules 2016-11-04 02:16:30 +00:00
polygerrit-ui Merge "Serve fonts for local PolyGerrit development" 2016-11-08 17:59:57 +00: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: use a custom maven_jar rule 2016-11-09 08:31:11 +01:00
website/releases Fix Diffy logo on release page by encoding the image 2015-12-29 10:36:39 -08:00
.bazelproject Add .bazelproject file 2016-10-27 06:32:47 +00:00
.buckconfig Merge branch 'stable-2.13' 2016-09-21 11:35:53 +02:00
.buckversion Update buck to latest version 2016-11-03 22:38:10 +01: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: Fix visibility for //: rules 2016-11-05 00:50:30 +01: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 Gerrit install for Fedora and Docker 2016-10-27 08:29:41 +01:00
SUBMITTING_PATCHES Update push URL in SUBMITTING_PATCHES 2012-03-29 00:57:14 -04:00
version.bzl Bazel: Publish maven artifacts to local and remote repositories 2016-11-03 12:47:24 +00:00
WORKSPACE Bazel: use a custom maven_jar rule 2016-11-09 08:31:11 +01: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>]

On Fedora run:

    dnf clean all && dnf install gerrit-<version>[-<release>]

Use pre-built Gerrit images on Docker

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.