RETIRED, Gerrit as used by OpenStack
Go to file
Dave Borowitz 4315f01324 Store reviewer field in the index
Prior to this change, draft changes in search results may have
resulted in touching the database, since ChangeControl#isDraftVisible
checks if the user is a reviewer, and there are not enough stored
fields to compute the reviewer set from the index. (We store approvals
on the current patch set, not all approvals; even the latter would be
insufficient with NoteDb.)

Add a new reviewer field that stores enough information to reconstruct
the whole ReviewerSet, and also to search by reviewer state. Shove
this all in one repeated field with a little comma-separated format,
similar to what we already do for labels. The current
ReviewerPredicate implementation matches the old behavior of returning
results independent of state, although it's now expressed as a
predicate tree.

Change-Id: Ie54b9e2decf847185ec741bc50bae7eb680787a0
2016-06-03 11:54:11 -04:00
.settings Enable and fix 'Statement unnecessarily nested within else clause' warnings 2016-06-02 10:20:37 +09:00
bucklets Buck: Fix typo in gerrit_plugin.bucklet 2015-12-23 17:55:11 +01:00
contrib Added a script to populate some dummy data 2016-05-20 17:31:47 +00:00
Documentation Document panel method of the JavaScript API 2016-06-03 13:27:50 +02:00
gerrit-acceptance-framework VisibleRefFilter: Check visibility of refs/users/ branches 2016-06-01 09:26:09 +09:00
gerrit-acceptance-tests Store reviewer field in the index 2016-06-03 11:54:11 -04:00
gerrit-antlr Remove unnecessary dependencies 2015-09-18 06:02:35 +00:00
gerrit-cache-h2 H2CacheFactory: Make logger private 2016-05-07 21:25:36 +09:00
gerrit-common Enable and fix 'Statement unnecessarily nested within else clause' warnings 2016-06-02 10:20:37 +09:00
gerrit-extension-api Add extension API to get/set default diff preferences 2016-06-03 14:32:09 +02:00
gerrit-gpg Enable and fix 'Statement unnecessarily nested within else clause' warnings 2016-06-02 10:20:37 +09:00
gerrit-gwtdebug WebServer: Fix TIME_IN_THE_PAST constant definition 2016-05-07 22:11:43 +09:00
gerrit-gwtexpui NpTextArea: Remove unused constructor 2016-05-09 09:20:46 -04:00
gerrit-gwtui Enable and fix 'Statement unnecessarily nested within else clause' warnings 2016-06-02 10:20:37 +09:00
gerrit-gwtui-common Enable and fix 'Statement unnecessarily nested within else clause' warnings 2016-06-02 10:20:37 +09:00
gerrit-httpd Enable and fix 'Statement unnecessarily nested within else clause' warnings 2016-06-02 10:20:37 +09:00
gerrit-launcher Enable and fix 'Statement unnecessarily nested within else clause' warnings 2016-06-02 10:20:37 +09:00
gerrit-lucene Store reviewer field in the index 2016-06-03 11:54:11 -04:00
gerrit-main Enable and fix 'Statement unnecessarily nested within else clause' warnings 2016-06-02 10:20:37 +09:00
gerrit-oauth Enable and fix 'Statement unnecessarily nested within else clause' warnings 2016-06-02 10:20:37 +09:00
gerrit-openid Enable and fix 'Statement unnecessarily nested within else clause' warnings 2016-06-02 10:20:37 +09:00
gerrit-patch-commonsnet Enable and fix 'Statement unnecessarily nested within else clause' warnings 2016-06-02 10:20:37 +09:00
gerrit-patch-jgit Buck: Remove jgit cell 2016-04-20 22:02:49 +02:00
gerrit-pgm Selectively ignore errors from NoteDbUpdateManager 2016-06-03 10:04:10 -04:00
gerrit-plugin-api Set version to 2.11.9 2016-05-16 10:38:51 +09:00
gerrit-plugin-archetype HttpPluginServlet: Remove usage of deprecated IMPLEMENTATION_URL constant 2016-05-18 06:22:51 +00:00
gerrit-plugin-gwt-archetype HttpPluginServlet: Remove usage of deprecated IMPLEMENTATION_URL constant 2016-05-18 06:22:51 +00:00
gerrit-plugin-gwtui Set version to 2.11.9 2016-05-16 10:38:51 +09:00
gerrit-plugin-js-archetype HttpPluginServlet: Remove usage of deprecated IMPLEMENTATION_URL constant 2016-05-18 06:22:51 +00:00
gerrit-prettify Buck: Remove jgit cell 2016-04-20 22:02:49 +02:00
gerrit-reviewdb Enable and fix 'Statement unnecessarily nested within else clause' warnings 2016-06-02 10:20:37 +09:00
gerrit-server Store reviewer field in the index 2016-06-03 11:54:11 -04:00
gerrit-sshd Enable and fix 'Statement unnecessarily nested within else clause' warnings 2016-06-02 10:20:37 +09:00
gerrit-util-cli Use native constructors instead of Guava to instantiate empty collections 2016-05-04 22:41:39 +09:00
gerrit-util-http Buck: Remove jgit cell 2016-04-20 22:02:49 +02:00
gerrit-util-ssl Turn on many more Eclipse warnings, and fix them 2014-10-29 15:00:17 -07:00
gerrit-war Set version to 2.11.9 2016-05-16 10:38:51 +09:00
lib Merge "Update Polymer components" 2016-05-25 20:48:26 +00:00
plugins Enable and fix 'Statement unnecessarily nested within else clause' warnings 2016-06-02 10:20:37 +09:00
polygerrit-ui Merge "Revert "Make gr-builder a Polymer component"" 2016-06-03 13:08:17 +00:00
ReleaseNotes Use buck rule for ReleaseNotes instead of Makefile 2016-05-17 23:23:31 +00:00
tools project.py: Allow to specify the name of the generated project 2016-05-30 09:53:15 +00:00
website/releases Fix Diffy logo on release page by encoding the image 2015-12-29 10:36:39 -08:00
.buckconfig Use buck rule for ReleaseNotes instead of Makefile 2016-05-17 23:23:31 +00:00
.buckversion Update Buck to e64a2e2ada022f81e42be750b774024469551398 2016-04-19 14:23:50 +00:00
.editorconfig Added continuation indent to editorconfig 2016-04-26 14:42:58 +02:00
.gitignore Add .eml files to gitignore 2016-05-12 00:57:44 +00:00
.gitmodules Add singleusergroup plugin 2013-11-09 07:45:00 +01:00
.mailmap Update my email addess in mail map 2016-02-12 11:49:00 +01: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
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 past events from README.md 2016-04-01 13:12:41 -04:00
SUBMITTING_PATCHES Update push URL in SUBMITTING_PATCHES 2012-03-29 00:57:14 -04:00
VERSION Set version to 2.11.9 2016-05-16 10:38:51 +09:00

Gerrit Code Review

Gerrit is a code review and project management tool for Git based projects.

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>]

NOTE: release is optional. Last released package of the version is installed if the release number is omitted.