RETIRED, Gerrit as used by OpenStack
Go to file
Luca Milanesio 9a52dd1dce Do not assume DB down if change to index not found
The Gerrit SSH command "index changes" may receive change numbers that
cannot be found or refer to repositories that have problems.

The assumption of "DB is down" when receiving an OrmException was wrong
because the JGit errors were simply wrapped as OrmException and
do not necessarily mean that you cannot continue to process the other
ones in the list.

Change-Id: I1098be16b682dce8d4e63120e7e50f937b19a7b8
2016-12-08 23:16:30 +00:00
.settings Build with Java 8 2016-09-20 10:19:52 +02:00
Documentation Merge "Fix broken cross references for rest-api-changes" 2016-12-07 15:09:15 +00:00
ReleaseNotes Bazel: Reformat build files 2016-12-07 11:33:07 +00: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
gerrit-acceptance-framework Bazel: Reformat build files 2016-12-07 11:33:07 +00:00
gerrit-acceptance-tests Organize imports 2016-12-08 00:17:59 +09:00
gerrit-antlr Bazel: Reformat build files 2016-12-07 11:33:07 +00:00
gerrit-cache-h2 Bazel: Reformat build files 2016-12-07 11:33:07 +00:00
gerrit-common Merge "Remove test prefix from test methods" 2016-12-07 12:48:37 +00:00
gerrit-elasticsearch Bazel: Reformat build files 2016-12-07 11:33:07 +00:00
gerrit-extension-api Merge changes I69cf3fc4,Ib6e9e942 2016-12-07 15:01:27 +00:00
gerrit-gpg Merge "Remove test prefix from test methods" 2016-12-07 12:48:37 +00:00
gerrit-gwtdebug Bazel: Reformat build files 2016-12-07 11:33:07 +00:00
gerrit-gwtexpui Organize imports 2016-12-07 10:10:37 -05:00
gerrit-gwtui Merge "Remove test prefix from test methods" 2016-12-07 12:48:37 +00:00
gerrit-gwtui-common Merge "Remove test prefix from test methods" 2016-12-07 12:48:37 +00:00
gerrit-httpd Merge "Remove test prefix from test methods" 2016-12-07 12:48:37 +00:00
gerrit-launcher Bazel: Reformat build files 2016-12-07 11:33:07 +00:00
gerrit-lucene Bazel: Reformat build files 2016-12-07 11:33:07 +00:00
gerrit-main Bazel: Reformat build files 2016-12-07 11:33:07 +00:00
gerrit-oauth Bazel: Reformat build files 2016-12-07 11:33:07 +00:00
gerrit-openid Bazel: Reformat build files 2016-12-07 11:33:07 +00:00
gerrit-patch-commonsnet Bazel: Reformat build files 2016-12-07 11:33:07 +00:00
gerrit-patch-jgit Merge "Remove test prefix from test methods" 2016-12-07 12:48:37 +00:00
gerrit-pgm Merge "Send email notification to user that is assigned to a change" 2016-12-07 12:52:36 +00:00
gerrit-plugin-api Bazel: Reformat build files 2016-12-07 11:33:07 +00: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 Bazel: Reformat build files 2016-12-07 11:33:07 +00:00
gerrit-plugin-js-archetype Build with Java 8 2016-09-20 10:19:52 +02:00
gerrit-prettify Bazel: Reformat build files 2016-12-07 11:33:07 +00:00
gerrit-reviewdb Merge changes I69cf3fc4,Ib6e9e942 2016-12-07 15:01:27 +00:00
gerrit-server Merge branch 'stable-2.13' 2016-12-08 01:03:53 +09:00
gerrit-sshd Do not assume DB down if change to index not found 2016-12-08 23:16:30 +00:00
gerrit-util-cli Bazel: Reformat build files 2016-12-07 11:33:07 +00:00
gerrit-util-http Bazel: Reformat build files 2016-12-07 11:33:07 +00:00
gerrit-util-ssl Bazel: Reformat build files 2016-12-07 11:33:07 +00:00
gerrit-war Bazel: Reformat build files 2016-12-07 11:33:07 +00:00
lib Bazel: Reformat build files 2016-12-07 11:33:07 +00:00
plugins Update git submodules 2016-12-07 15:12:22 +00:00
polygerrit-ui Bazel: Reformat build files 2016-12-07 11:33:07 +00:00
tools Bazel: Reformat build files 2016-12-07 11:33:07 +00:00
website/releases Fix Diffy logo on release page by encoding the image 2015-12-29 10:36:39 -08:00
.bazelproject Ignore buck-out in IntelliJ's Bazel plugin 2016-11-11 10:29:35 -08:00
.buckconfig Merge branch 'stable-2.13' 2016-09-21 11:35:53 +02:00
.buckversion Update buck to latest version 2016-11-30 16:51:31 -08:00
.editorconfig Added continuation indent to editorconfig 2016-04-26 14:42:58 +02:00
.gitignore Bazel: Generate Eclipse classpath 2016-11-15 10:12:44 -08: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: Reformat build files 2016-12-07 11:33:07 +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 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
WORKSPACE Bazel: Reformat build files 2016-12-07 11:33:07 +00:00
version.bzl Bazel: Reformat build files 2016-12-07 11:33:07 +00:00

README.md

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.