RETIRED, Gerrit as used by OpenStack
Go to file
Dave Borowitz a758640bc3 VisibleRefFilter Avoid touching the database for drafts
This is an analogous problem to the one with search results fixed in
Ie54b9e2d. VisibleRefFilter is a little trickier because it was using
ChangeCache, which only returned Changes, not the reviewer set. Change
SearchingChangeCacheImpl to cache a different value type and return
ChangeDatas from its search method so we can use the cached
ReviewerSet where appropriate.

Unfortunately for the Reindex program we still need to support not
having a SearchingChangeCacheImpl, which means we have a completely
separate codepath for reading changes from the database.

Change-Id: Ic432a8e48a2bafc8d142b84b25101d95ffb674b7
2016-06-06 12:42:38 -04:00
.settings Enable and fix 'Statement unnecessarily nested within else clause' warnings 2016-06-02 10:20:37 +09:00
Documentation Clarify PUT /accounts/self/emails/{addr} expects an object 2016-06-04 21:18:08 +00:00
ReleaseNotes Use buck rule for ReleaseNotes instead of Makefile 2016-05-17 23:23:31 +00: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
gerrit-acceptance-framework VisibleRefFilter Avoid touching the database for drafts 2016-06-06 12:42:38 -04:00
gerrit-acceptance-tests VisibleRefFilter Avoid touching the database for drafts 2016-06-06 12:42:38 -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 VisibleRefFilter Avoid touching the database for drafts 2016-06-06 12:42:38 -04: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 VisibleRefFilter Avoid touching the database for drafts 2016-06-06 12:42:38 -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 VisibleRefFilter Avoid touching the database for drafts 2016-06-06 12:42:38 -04:00
gerrit-sshd VisibleRefFilter Avoid touching the database for drafts 2016-06-06 12:42:38 -04: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 VisibleRefFilter Avoid touching the database for drafts 2016-06-06 12:42:38 -04:00
polygerrit-ui Merge "Fix 'gr-diff-comment' test when run multiple times" 2016-06-05 15:43:53 +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

README.md

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.