RETIRED, Gerrit as used by OpenStack
Go to file
Tao Zhou abf0489e74 Apply linter pre-commit hook only to Added/Copied/Modified
it will fail on deleted/renamed files.

Change-Id: I4285f0f9ccc4f2b6c875816c4df25a15fd20222b
2020-02-03 14:34:58 +01:00
.settings Merge branch 'stable-2.14' into stable-2.15 2018-05-16 08:15:29 +09:00
antlr3 Merge branch 'stable-2.16' into stable-3.0 2019-09-05 08:17:48 +09:00
contrib Merge branch 'stable-3.1' 2019-12-11 17:21:03 +09:00
Documentation Merge branch 'stable-3.1' 2020-02-03 10:51:47 +09:00
e2e-tests/load-tests Merge branch 'stable-3.1' 2020-02-03 10:51:47 +09:00
java Merge "Move random Change-Id generation out of Change" 2020-02-02 19:03:34 +00:00
javatests/com/google/gerrit Merge branch 'stable-3.1' 2020-01-31 10:54:08 -05:00
lib Merge branch 'stable-3.1' 2020-01-28 21:34:36 +01:00
modules Upgrade JGit to v5.6.0.201912041214-rc1 2019-12-05 09:27:30 +09:00
plugins Merge branch 'stable-3.1' 2020-01-24 15:43:35 -05:00
polygerrit-ui Merge "Remove delete icon for robot comments" 2020-02-03 10:27:30 +00:00
prolog Extract prolog predicates from gerrit-server:server rule 2017-10-31 11:02:36 -04:00
prologtests Bazel: Pass current host java runtime to sh_test rule 2019-10-30 16:42:00 +09:00
proto Add 'CherryPickOf' field for a change 2020-01-08 00:43:30 +00:00
resources Merge branch 'stable-3.1' 2020-02-03 10:51:47 +09:00
tools Apply linter pre-commit hook only to Added/Copied/Modified 2020-02-03 14:34:58 +01:00
webapp Remove ReviewDb DataSource from WebAppInitializer 2018-12-20 07:00:34 -08:00
.bazelignore Add node_modules to .bazelignore 2019-11-22 14:38:04 +01:00
.bazelproject Merge "Revert "IntelliJ support: Add temporary option as workaround for an issue"" 2019-09-10 07:35:25 +00:00
.bazelrc Bazel: Migrate workspace status script to python 2019-11-03 08:45:12 +00:00
.bazelversion Bump Bazel version to 2.0.0 2020-01-18 08:25:17 +01:00
.editorconfig Added continuation indent to editorconfig 2016-04-26 14:42:58 +02:00
.git-blame-ignore-revs Update git hyper-blame configuration 2017-02-17 16:35:50 +09:00
.gitignore Merge branch 'stable-2.16' into stable-3.0 2019-10-17 00:47:50 +09:00
.gitmodules Remove branch value from jgit submodule 2019-10-16 10:18:21 +09:00
.gitreview Merge branch 'stable-3.0' 2019-08-30 20:55:37 +09:00
.mailmap Update .mailmap 2019-10-29 14:20:57 +09:00
.pydevproject Update PyDev project to use Python 2.7 2014-10-02 15:16:44 +09:00
BUILD Bazel: Fix running tests with toolchain_vanilla 2019-09-27 04:35:55 +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
Jenkinsfile Merge branch 'stable-2.16' into stable-3.0 2020-01-29 08:19:37 +09:00
package.json Replace deprecated require-jsdoc, valid-jsdoc with jsdoc plugin for eslint 2019-12-17 09:59:28 +01:00
README.md Merge branch 'stable-2.15' into stable-2.16 2019-06-28 16:39:36 +09:00
SUBMITTING_PATCHES Add step to SUBMITTING_PATCHES to ensure Change-Id 2018-01-11 20:35:37 +00:00
version.bzl Set version to 3.1.2-SNAPSHOT 2019-12-11 16:03:47 +09:00
WORKSPACE Bump rules_go to 0.21.1 2020-02-02 19:35:40 +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 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 --recurse-submodules 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.