RETIRED, Gerrit as used by OpenStack
Go to file
Edwin Kempin 42686d785c Refactor: Make static methods in SystemGroupBackend non-static
In a follow-up change we want to make the names of the system groups
configurable. This means we need to get GerritServerConfig injected
into SystemGroupBackend and use the configured system group names when
we create the GroupReference's.

For the callers this means that SystemGroupBackend must be injected
now.

Change-Id: Ia50ea0cd2837c3518a3c6ed84d4612606ccaa8a3
Signed-off-by: Edwin Kempin <ekempin@google.com>
2017-01-31 16:47:29 +01:00
.settings Build with Java 8 2016-09-20 10:19:52 +02:00
contrib Remove Buck based build 2017-01-23 12:44:58 +00:00
Documentation Clarify dev contributing guide code organization section 2017-01-31 09:16:50 +00:00
gerrit-acceptance-framework Refactor: Make static methods in SystemGroupBackend non-static 2017-01-31 16:47:29 +01:00
gerrit-acceptance-tests Refactor: Make static methods in SystemGroupBackend non-static 2017-01-31 16:47:29 +01:00
gerrit-antlr Remove Buck based build 2017-01-23 12:44:58 +00:00
gerrit-cache-h2 Remove Buck based build 2017-01-23 12:44:58 +00:00
gerrit-common Remove Buck based build 2017-01-23 12:44:58 +00:00
gerrit-elasticsearch Remove Buck based build 2017-01-23 12:44:58 +00:00
gerrit-extension-api Remove redundant 'final' and 'public' modifiers 2017-01-28 21:39:02 +09:00
gerrit-gpg Remove Buck based build 2017-01-23 12:44:58 +00:00
gerrit-gwtdebug Remove Buck based build 2017-01-23 12:44:58 +00:00
gerrit-gwtexpui Remove Buck based build 2017-01-23 12:44:58 +00:00
gerrit-gwtui Remove redundant 'final' and 'public' modifiers 2017-01-28 21:39:02 +09:00
gerrit-gwtui-common Remove Buck based build 2017-01-23 12:44:58 +00:00
gerrit-httpd Merge branch 'stable-2.13' 2017-01-27 08:42:38 +09:00
gerrit-launcher GerritLauncher: Remove isBazel method 2017-01-24 13:38:24 +09:00
gerrit-lucene Remove Buck based build 2017-01-23 12:44:58 +00:00
gerrit-main Remove Buck based build 2017-01-23 12:44:58 +00:00
gerrit-oauth Remove Buck based build 2017-01-23 12:44:58 +00:00
gerrit-openid Remove Buck based build 2017-01-23 12:44:58 +00:00
gerrit-patch-commonsnet Remove Buck based build 2017-01-23 12:44:58 +00:00
gerrit-patch-jgit Remove Buck based build 2017-01-23 12:44:58 +00:00
gerrit-pgm Add support for performing checks on Gerrit start up 2017-01-31 16:47:14 +01:00
gerrit-plugin-api Remove Buck based build 2017-01-23 12:44:58 +00:00
gerrit-plugin-gwtui Remove Buck based build 2017-01-23 12:44:58 +00:00
gerrit-prettify Remove Buck based build 2017-01-23 12:44:58 +00:00
gerrit-reviewdb Add status field to account in ReviewDB 2017-01-25 09:58:14 -05:00
gerrit-server Refactor: Make static methods in SystemGroupBackend non-static 2017-01-31 16:47:29 +01:00
gerrit-sshd Remove Buck based build 2017-01-23 12:44:58 +00:00
gerrit-test-util BinaryResultSubject: Remove unnecessary resource warning suppression 2017-01-28 15:41:25 +09:00
gerrit-util-cli Remove Buck based build 2017-01-23 12:44:58 +00:00
gerrit-util-http Remove Buck based build 2017-01-23 12:44:58 +00:00
gerrit-util-ssl Remove Buck based build 2017-01-23 12:44:58 +00:00
gerrit-war Add support for performing checks on Gerrit start up 2017-01-31 16:47:14 +01:00
lib Remove one last buck file from gerrit's core 2017-01-27 19:41:56 +00:00
plugins Allow plugins to contribute external workspace deps 2017-01-26 20:39:45 +00:00
polygerrit-ui run_test.sh: Use bash in shebang line 2017-01-30 17:23:27 -05:00
ReleaseNotes Remove Buck based build 2017-01-23 12:44:58 +00:00
tools Merge "Bazel: Use full word match for generating plugin version" 2017-01-30 10:45:47 +00:00
website/releases Fix Diffy logo on release page by encoding the image 2015-12-29 10:36:39 -08:00
.bazelproject Remove Buck based build 2017-01-23 12:44:58 +00:00
.editorconfig Added continuation indent to editorconfig 2016-04-26 14:42:58 +02:00
.gitignore Add .buckd/ back to .gitignore 2017-01-28 21:39:01 +09: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
BUILD Bazel: Add :api rule to build all API artifacts at once 2016-12-24 09:33:27 +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 Remove Buck based build 2017-01-23 12:44:58 +00:00
SUBMITTING_PATCHES Update push URL in SUBMITTING_PATCHES 2012-03-29 00:57:14 -04:00
version.bzl Bazel: Reformat build files 2016-12-07 11:33:07 +00:00
WORKSPACE Allow plugins to contribute external workspace deps 2017-01-26 20:39:45 +00: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 Bazel and run the following:

    git clone --recursive https://gerrit.googlesource.com/gerrit
    cd gerrit && bazel 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.