RETIRED, Gerrit as used by OpenStack
Go to file
Edwin Kempin 1815347a33 Add account predicate that checks if user can see a certain change
This predicate is useful if account queries are used to suggest users
in the context of a change, because then users that can't see the
change should be filtered out. E.g. this predicate should be used when
suggesting assignees for a change.

Change-Id: I2c43d04c65718e1e6419cf94c4bbfb21aaf7d9f8
Signed-off-by: Edwin Kempin <ekempin@google.com>
2018-03-25 13:55:14 +01:00
.settings Enable new Eclipse 4.7 "unlikely-arg-type" warning 2017-09-21 16:39:04 +09:00
contrib abandon_stale.py: send data using json argument, not data argument 2017-09-27 13:49:55 +02:00
Documentation Add account predicate that checks if user can see a certain change 2018-03-25 13:55:14 +01:00
gerrit-acceptance-framework Release 2.15-rc4 2018-03-21 15:40:46 -04:00
gerrit-acceptance-tests GC All-Users after migrating to NoteDb 2018-03-19 09:33:21 -04:00
gerrit-cache-h2 Revert "Reduce chance of deadlock in account cache" 2018-02-27 21:26:11 -05:00
gerrit-common Extract an enum for label functions 2018-02-21 08:27:32 -05:00
gerrit-elasticsearch Add account predicate that checks if user can see a certain change 2018-03-25 13:55:14 +01:00
gerrit-extension-api Release 2.15-rc4 2018-03-21 15:40:46 -04:00
gerrit-gpg Merge branch 'stable-2.14' into stable-2.15 2017-11-07 17:12:03 +09:00
gerrit-gwtdebug Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
gerrit-gwtexpui Remove 'final' from method signatures across gerrit. 2017-06-14 09:18:42 +02:00
gerrit-gwtui GWT/Poly: Default to "Create initial commit" during project creation 2018-02-28 06:54:21 +00:00
gerrit-gwtui-common Remove handling of change.allowDrafts 2018-02-21 14:26:23 +00:00
gerrit-httpd Add attributes to <body> tag of login forms 2018-01-09 10:36:58 +00:00
gerrit-index Add account predicate that checks if user can see a certain change 2018-03-25 13:55:14 +01:00
gerrit-launcher StandaloneSiteTest: Ignore user and system git config 2018-03-20 10:45:26 -04:00
gerrit-lucene Add account predicate that checks if user can see a certain change 2018-03-25 13:55:14 +01:00
gerrit-main Remove 'final' from method signatures across gerrit. 2017-06-14 09:18:42 +02:00
gerrit-oauth Add attributes to <body> tag of login forms 2018-01-09 10:36:58 +00:00
gerrit-openid Merge branch 'stable-2.14' into stable-2.15 2018-02-09 08:46:53 +09:00
gerrit-patch-commonsnet Remove 'final' from method signatures across gerrit. 2017-06-14 09:18:42 +02:00
gerrit-patch-jgit Remove 'final' from method signatures across gerrit. 2017-06-14 09:18:42 +02:00
gerrit-pgm Merge branch 'stable-2.14' into stable-2.15 2018-03-22 19:34:53 +09:00
gerrit-plugin-api Release 2.15-rc4 2018-03-21 15:40:46 -04:00
gerrit-plugin-gwtui Release 2.15-rc4 2018-03-21 15:40:46 -04:00
gerrit-prettify Remove 'final' from method signatures across gerrit. 2017-06-14 09:18:42 +02:00
gerrit-reviewdb Merge branch 'stable-2.14' into stable-2.15 2017-10-18 22:56:58 -04:00
gerrit-server Add account predicate that checks if user can see a certain change 2018-03-25 13:55:14 +01:00
gerrit-sshd Merge branch 'stable-2.14' into stable-2.15 2018-03-06 09:59:52 +09:00
gerrit-test-util Remove last BUCK build file 2017-08-17 00:28:15 +02:00
gerrit-util-cli CmdLineParser: Remove unused prefix argument 2017-09-01 07:55:52 +00:00
gerrit-util-http Support faster cross-domain XHR calls 2017-06-16 20:57:16 -07:00
gerrit-util-ssl Remove 'final' from method signatures across gerrit. 2017-06-14 09:18:42 +02:00
gerrit-war Release 2.15-rc4 2018-03-21 15:40:46 -04:00
lib Revert "Reduce chance of deadlock in account cache" 2018-02-27 19:17:02 -05:00
plugins Update git submodules 2018-03-21 23:43:36 +00:00
polygerrit-ui Included-In dialog polish 2018-03-22 11:20:08 +00:00
ReleaseNotes Remove Buck based build 2017-01-23 12:44:58 +00:00
tools Merge branch 'stable-2.14' into stable-2.15 2018-03-08 21:07:26 +09:00
website/releases Fix Diffy logo on release page by encoding the image 2015-12-29 10:36:39 -08:00
.bazelproject Build IntelliJ project with full debug info 2017-04-14 11:29:51 -04: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 Add /plugins/cookbook-plugin/ to .gitignore 2017-11-06 11:41:05 +01:00
.gitmodules Remove the cookbook-plugin submodule 2017-03-24 10:59:31 +09:00
.mailmap Update .mailmap 2017-07-19 15:32:39 +09:00
.pydevproject Update PyDev project to use Python 2.7 2014-10-02 15:16:44 +09:00
BUILD Format BUILD and WORKSPACE files with buildifier 2017-02-28 17:32:44 +09: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 Switch GitHub mirror URL to the most up-to-date 2017-04-05 09:03:59 +01:00
SUBMITTING_PATCHES Update push URL in SUBMITTING_PATCHES 2012-03-29 00:57:14 -04:00
version.bzl Release 2.15-rc4 2018-03-21 15:40:46 -04:00
WORKSPACE Revert "Reduce chance of deadlock in account cache" 2018-02-27 21:26:11 -05: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.