RETIRED, Gerrit as used by OpenStack
Go to file
Edwin Kempin 7c69516b8d Reindex: Don't load changes from db to get change number and projects
Reindex does 2 steps:

1. Load all changes from the database to know the number of changes
   and the list of projects.
2. Scan each project for change refs and reindex each change.

For step 1 we are now getting the list of projects from the project
cache, and to know the number of changes we scan the change refs here
too.

For now we are fine with scanning the change refs twice, and we don't
want to cache all change IDs in memory to avoid this.

Change-Id: Ibca563d2978476a89dcf1fe4629562ebc391cd08
Signed-off-by: Edwin Kempin <ekempin@google.com>
2016-02-23 09:17:29 +01:00
.settings Eclipse: Warn on incomplete switch cases even when default exists 2016-01-22 15:14:56 +09:00
bucklets Buck: Fix typo in gerrit_plugin.bucklet 2015-12-23 17:55:11 +01:00
contrib abandon_stale.py: fix typo in option handling 2016-02-15 08:21:57 +00:00
Documentation Make adding of signed-off-by footer for online changes customizable 2016-02-19 22:46:28 +09:00
gerrit-acceptance-framework AbstractDaemonTest: Extract methods for parsing resources 2016-02-19 14:02:40 -05:00
gerrit-acceptance-tests Merge "Rename revert message on original change" 2016-02-23 00:27:32 +00:00
gerrit-antlr Remove unnecessary dependencies 2015-09-18 06:02:35 +00:00
gerrit-cache-h2 Buck: Emulate real JGit project structure in its own cell 2016-02-14 11:46:49 +01:00
gerrit-common AccountService: Remove unused myAccount method 2016-02-19 10:37:48 +09:00
gerrit-extension-api Make adding of signed-off-by footer for online changes customizable 2016-02-19 22:46:28 +09:00
gerrit-gpg Merge "Buck: Emulate real JGit project structure in its own cell" 2016-02-18 15:27:09 +00:00
gerrit-gwtdebug Expose acceptance test framework as new plugin artifact 2015-09-25 14:46:10 -04:00
gerrit-gwtexpui Clippy: replace "drifty" icon with "page_white_copy" from Silk Icons 2016-01-12 15:37:16 +09:00
gerrit-gwtui Revert "InlineEdit: Switch to using native jump-to-line addon" 2016-02-19 15:57:40 +01:00
gerrit-gwtui-common Make adding of signed-off-by footer for online changes customizable 2016-02-19 22:46:28 +09:00
gerrit-httpd PluginServletContext: Instantiate logger with class name 2016-02-23 15:40:43 +09:00
gerrit-launcher Polygerrit: Decouple bower components rebuild from dev workflow 2016-01-22 08:30:21 -05:00
gerrit-lucene Buck: Emulate real JGit project structure in its own cell 2016-02-14 11:46:49 +01:00
gerrit-main Replace C-style array declarations with Java-style declarations 2015-03-19 12:15:43 +09:00
gerrit-oauth Import StandardCharsets.UTF_8 as static 2015-10-19 14:59:46 +09:00
gerrit-openid Buck: Emulate real JGit project structure in its own cell 2016-02-14 11:46:49 +01:00
gerrit-patch-commonsnet Consistently use character encoding constants 2015-10-16 08:39:12 +00:00
gerrit-patch-jgit Buck: Emulate real JGit project structure in its own cell 2016-02-14 11:46:49 +01:00
gerrit-pgm Reindex: Don't load changes from db to get change number and projects 2016-02-23 09:17:29 +01:00
gerrit-plugin-api Merge "Buck: Emulate real JGit project structure in its own cell" 2016-02-18 15:27:09 +00:00
gerrit-plugin-archetype Set version to 2.11.7 2016-02-10 10:41:16 +09:00
gerrit-plugin-gwt-archetype Set version to 2.11.7 2016-02-10 10:41:16 +09:00
gerrit-plugin-gwtui Set version to 2.11.7 2016-02-10 10:41:16 +09:00
gerrit-plugin-js-archetype Set version to 2.11.7 2016-02-10 10:41:16 +09:00
gerrit-prettify Buck: Emulate real JGit project structure in its own cell 2016-02-14 11:46:49 +01:00
gerrit-reviewdb Replace AccountGeneralPreferences entity with git backend (phase 2) 2016-02-18 10:31:07 +00:00
gerrit-server Reindex: Don't load changes from db to get change number and projects 2016-02-23 09:17:29 +01:00
gerrit-sshd Buck: Emulate real JGit project structure in its own cell 2016-02-14 11:46:49 +01:00
gerrit-util-cli Add missing braces around if- for- and while-statements 2015-03-19 12:15:42 +09:00
gerrit-util-http Buck: Emulate real JGit project structure in its own cell 2016-02-14 11:46:49 +01:00
gerrit-util-ssl Turn on many more Eclipse warnings, and fix them 2014-10-29 15:00:17 -07:00
gerrit-war Merge "Buck: Emulate real JGit project structure in its own cell" 2016-02-18 15:27:09 +00:00
lib Merge changes from topic 'revert-cm-5-11' 2016-02-22 15:39:15 +00:00
plugins Update replication plugin to latest revision 2016-02-23 16:34:15 +09:00
polygerrit-ui Fix missing semicolon in CSS for change list star position 2016-02-23 00:28:22 +00:00
ReleaseNotes Merge branch 'stable-2.12' 2016-02-10 22:38:29 +01:00
tools Buck: Fix source path generation for JGit cell, again 2016-02-19 13:06:26 +00:00
website/releases Fix Diffy logo on release page by encoding the image 2015-12-29 10:36:39 -08:00
.buckconfig Buck: Allow to consume JGit from its own cell 2016-02-09 00:40:08 +00:00
.buckversion Update Buck to newest version 2016-01-28 03:12:05 +00:00
.editorconfig Add basic EditorConfig 2015-03-03 07:12:16 +00:00
.gitignore Ignore all *.iml (IntelliJ module files). 2016-02-09 16:11:01 +01: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 Readme: Update events section 2016-01-07 21:29:47 +01:00
SUBMITTING_PATCHES Update push URL in SUBMITTING_PATCHES 2012-03-29 00:57:14 -04:00
VERSION Set version to 2.11.7 2016-02-10 10:41:16 +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.

Events

  • March 14-18 2016: Gerrit Hackathon, Berlin (free seats are still available).