RETIRED, Gerrit as used by OpenStack
Go to file
David Pursehouse 42ebc67bb7 Update git submodules
* Update plugins/delete-project from branch 'master'
  to 39dd25c822be14a69282d38e5205f0ca4f2902c1
  - Merge branch 'stable-3.1'
    
    * stable-3.1:
      Fix so that GWTUI js file is not executed under PolyGerrit
      DeleteProjectIT: Check that project gets unwatched after deletion
      DeleteProjectIT: Assert that after forced delete reindexing happened
      DeleteProjectIT: Add ssh delete watched project test similar to http
      Fix reindex after project deletion
      Upgrade bazlets to latest stable-2.16 to build with 2.16.13 API
      Upgrade bazlets to latest stable-2.16
      Upgrade bazlets to latest stable-2.15 to build with 2.15.18 API
      Upgrade bazlets to latest stable-2.15
      Upgrade bazlets to latest stable-2.14
      Bazel: Migrate workspace status script to python
      Upgrade bazlets to latest stable-2.16
      Upgrade bazlets to latest stable-2.15
      Upgrade bazlets to latest stable-2.14
      Bump Bazel version to 1.1.0
      build.md: Correct in-tree test command
      Replace bazel-genfiles with bazel-bin in documentation
    
    Change-Id: I68db79e2797b254c7fd79d8587b51e066f81b7f4
    
  - Merge branch 'stable-3.0' into stable-3.1
    
    * stable-3.0:
      Fix so that GWTUI js file is not executed under PolyGerrit
      DeleteProjectIT: Check that project gets unwatched after deletion
      DeleteProjectIT: Assert that after forced delete reindexing happened
      DeleteProjectIT: Add ssh delete watched project test similar to http
      Fix reindex after project deletion
      Upgrade bazlets to latest stable-2.16 to build with 2.16.13 API
      Upgrade bazlets to latest stable-2.16
      Upgrade bazlets to latest stable-2.15 to build with 2.15.18 API
      Upgrade bazlets to latest stable-2.15
      Upgrade bazlets to latest stable-2.14
      Bazel: Migrate workspace status script to python
      Upgrade bazlets to latest stable-2.16
      Upgrade bazlets to latest stable-2.15
      Upgrade bazlets to latest stable-2.14
      Bump Bazel version to 1.1.0
      build.md: Correct in-tree test command
      Replace bazel-genfiles with bazel-bin in documentation
    
    Adjust DeleteProjectIT and DatabaseDeleteHandler to API changes.
    
    Change-Id: I7dd082b728fa7a98b225c10ef6d2ecf11e7daa09
    
  - Merge branch 'stable-2.16' into stable-3.0
    
    * stable-2.16:
      Fix so that GWTUI js file is not executed under PolyGerrit
    
    Change-Id: I9b5e59bb31cc7de07cf863af7baebe556e8f494f
    
  - Merge "Fix so that GWTUI js file is not executed under PolyGerrit" into stable-2.16
  - Merge branch 'stable-2.16' into stable-3.0
    
    * stable-2.16:
      DeleteProjectIT: Check that project gets unwatched after deletion
      DeleteProjectIT: Assert that after forced delete reindexing happened
      DeleteProjectIT: Add ssh delete watched project test similar to http
      Fix reindex after project deletion
      Upgrade bazlets to latest stable-2.16 to build with 2.16.13 API
      Upgrade bazlets to latest stable-2.16
      Upgrade bazlets to latest stable-2.15 to build with 2.15.18 API
      Upgrade bazlets to latest stable-2.15
      Upgrade bazlets to latest stable-2.14
      Bazel: Migrate workspace status script to python
      Upgrade bazlets to latest stable-2.16
      Upgrade bazlets to latest stable-2.15
      Upgrade bazlets to latest stable-2.14
      Bump Bazel version to 1.1.0
      build.md: Correct in-tree test command
      Replace bazel-genfiles with bazel-bin in documentation
    
    Change-Id: Ic060483ccb190c7f31c3bb13eeb15d230c3378b1
    
  - Merge branch 'stable-2.15' into stable-2.16
    
    * stable-2.15:
      DeleteProjectIT: Check that project gets unwatched after deletion
      DeleteProjectIT: Assert that after forced delete reindexing happened
      DeleteProjectIT: Add ssh delete watched project test similar to http
      Fix reindex after project deletion
    
    Change-Id: I29fca09892a5a6878547c5d0bbd2966310d986a3
    
  - Merge changes Iaf1826ab,I02632cb6,I5ca2ec2b,I6578e664 into stable-2.15
    
    * changes:
      DeleteProjectIT: Check that project gets unwatched after deletion
      DeleteProjectIT: Assert that after forced delete reindexing happened
      DeleteProjectIT: Add ssh delete watched project test similar to http
      Fix reindex after project deletion
    
  - Fix so that GWTUI js file is not executed under PolyGerrit
    
    When using PolyGerrit, it appears that it loads GWTUI specific
    delete-project js files. It dosen't appear to inject "window.Polymer"
    into it thus will always equal undefined or false.
    
    To fix this we look for the GERRIT_UI cookie which if the user is using
    GWTUI, will have this set.
    
    Change-Id: I2512fe18108799f3a73b00ada8a756eb6e397879
    
  - DeleteProjectIT: Check that project gets unwatched after deletion
    
    Change-Id: Iaf1826ab98280aa042304b30d873575c71bdac60
    
  - DeleteProjectIT: Assert that after forced delete reindexing happened
    
    Unit tests didn't check whether reindexing happened after deletion or
    not. In NoteDb case even after git repo got deleted changes were still
    present in the index, so querying on a deleted project name returned
    change information.
    
    Bug: Issue 11650
    Change-Id: I02632cb6195e262478850e5ec589d01aab4a9ef3
    
  - DeleteProjectIT: Add ssh delete watched project test similar to http
    
    Change-Id: I5ca2ec2b7df92a8fc24135c4d94efe00ab4d761e
    
  - Fix reindex after project deletion
    
    Make plugin to properly support NoteDb.
    
    DatabaseDeleteHandler:
    - Check if ReviewDb is enabled from inside DatabaseHandler.
    - Add functionality for deleteChanges to check whether ReviewDb is
      enabled, since NoteDb behaves differently compared to ReviewDb.
    
    Bug: Issue 11650
    Change-Id: I6578e6649e9fe0d8c139243cdade8c86e1b6c0ed
    
  - Upgrade bazlets to latest stable-2.16 to build with 2.16.13 API
    
    Change-Id: Ib378315a93969b1de605e2d9cc8b2758f37920e4
    
  - Upgrade bazlets to latest stable-2.16
    
    download_file.py: Fix root workspace directory detection
    
    Change-Id: I26017fc180b761feba2b5f01d4eb7a0e7c7b690c
    
  - Merge branch 'stable-2.15' into stable-2.16
    
    * stable-2.15:
      Upgrade bazlets to latest stable-2.15 to build with 2.15.18 API
      Upgrade bazlets to latest stable-2.15
      Upgrade bazlets to latest stable-2.14
      Bazel: Migrate workspace status script to python
    
    Change-Id: Ib8b9c5efc04f2b2f983c091bf96c4eafeca510ec
    
  - Upgrade bazlets to latest stable-2.15 to build with 2.15.18 API
    
    Change-Id: Icf85a0b3340f2bfe58b3b21ec57a2640cf8a1ba4
    
  - Merge branch 'stable-2.14' into stable-2.15
    
    * stable-2.14:
      Upgrade bazlets to latest stable-2.14
      Bazel: Migrate workspace status script to python
    
    Change-Id: I9ff2983f304b3cfa04ef88401f09d33c5746595f
    
  - Upgrade bazlets to latest stable-2.15
    
    download_file.py: Fix root workspace directory detection
    
    Change-Id: I1c5eb23dfe5978270c10ef6d2baaed7ecd0a04fc
    
  - Upgrade bazlets to latest stable-2.14
    
    download_file.py: Fix root workspace directory detection
    
    Change-Id: Id2da57a98ab0344dc9942d9ff0338309494b0f48
    
  - Bazel: Migrate workspace status script to python
    
    Migrate tools/workspace-status.sh script to Python to ensure better
    compatibility with other operating systems, as suggested in: [1].
    
    [1] https://github.com/bazelbuild/bazel/issues/5958
    
    Change-Id: I20ec325d610353309a40fc85132382004bc61bd0
    
  - Upgrade bazlets to latest stable-2.16
    
    Fix genrule2 to clean up temporary folder content
    
    Change-Id: I1d186a2082b364f7acc2d99c20ec0211efebbfd2
    
  - Merge branch 'stable-2.15' into stable-2.16
    
    * stable-2.15:
      Upgrade bazlets to latest stable-2.15
      Upgrade bazlets to latest stable-2.14
      Bump Bazel version to 1.1.0
    
    Change-Id: Ie6b12736c2b07752cf91908764bf828a83694c6c
    
  - Upgrade bazlets to latest stable-2.15
    
    Fix genrule2 to clean up temporary folder content
    
    Change-Id: I1d186a2082b364f7acc2d99c20ec0211efebbfd2
    
  - Merge branch 'stable-2.14' into stable-2.15
    
    * stable-2.14:
      Upgrade bazlets to latest stable-2.14
    
    Change-Id: I53bd20467b8c6268a102acc75badcaf7290ce720
    
  - Upgrade bazlets to latest stable-2.14
    
    Fix genrule2 to clean up temporary folder content
    
    Change-Id: I1d186a2082b364f7acc2d99c20ec0211efebbfd2
    
  - Merge branch 'stable-2.14' into stable-2.15
    
    * stable-2.14:
      Bump Bazel version to 1.1.0
    
    Change-Id: Ia7d244ec3ec3ae0078cb8b766bef95b3c9be922a
    
  - Bump Bazel version to 1.1.0
    
    Change-Id: I4e4c2a3c6f1b73e913fd6eda7e53f30fd8a20985
    
  - Merge branch 'stable-2.15' into stable-2.16
    
    * stable-2.15:
      build.md: Correct in-tree test command
    
    Change-Id: Iea24800c7100e6c0ab405158a3573eceb0f3957e
    
  - build.md: Correct in-tree test command
    
    Change-Id: Iff17be4a87b058eeabc30faf774c04e26f9d51ea
    
  - Merge branch 'stable-2.15' into stable-2.16
    
    * stable-2.15:
      Replace bazel-genfiles with bazel-bin in documentation
    
    Change-Id: I1496826af979861ef9391d113430379535a152e4
    
  - Merge branch 'stable-2.14' into stable-2.15
    
    * stable-2.14:
      Replace bazel-genfiles with bazel-bin in documentation
    
    Change-Id: I70ea61357ec662fa2e18325a437185d27bcd4f3d
    
  - Replace bazel-genfiles with bazel-bin in documentation
    
    Bug: Issue 11757
    Change-Id: I0c901f84e0c4c07a4ae913eab4f71e1f6167dab5
2019-12-04 07:40:00 +00: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 Remove mitm-ui 2019-11-13 11:51:09 -08:00
Documentation Fix abandonIfMergeable when indexMergeable is disabled 2019-12-04 10:02:50 +09:00
e2e-tests/load-tests E2E load tests example scenarios 2019-09-10 16:19:10 +00:00
java Fix abandonIfMergeable when indexMergeable is disabled 2019-12-04 10:02:50 +09:00
javatests/com/google/gerrit Fix abandonIfMergeable when indexMergeable is disabled 2019-12-04 10:02:50 +09:00
lib Merge branch 'stable-3.1' 2019-11-26 13:14:34 +09:00
modules Upgrade JGit to latest master 2019-11-17 08:59:26 -08:00
plugins Update git submodules 2019-12-04 07:40:00 +00:00
polygerrit-ui Fix undefined branch in create-destination-dialog 2019-12-03 07:59:35 +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 AssigneeStatusUpdate 2019-10-16 15:09:56 +02:00
resources Merge branch 'stable-3.0' into stable-3.1 2019-10-22 14:52:59 +09:00
tools Merge branch 'stable-3.1' 2019-12-03 12:51:23 +09: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 1.2.0 2019-11-23 06:24:48 +00: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 2019-11-27 08:53:43 +09:00
package.json Replace deprecated polylint 2019-11-13 09:36:58 +00: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.1-SNAPSHOT 2019-11-15 00:14:24 -08:00
WORKSPACE Merge branch 'stable-3.1' 2019-12-03 12:51:23 +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 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.