RETIRED, Gerrit as used by OpenStack
Go to file
Shawn Pearce 67a3330950 Add capability.administrateServer to gerrit.config
This provides a fail-safe in case an administrator deletes all
administrateServer entries from All-Projects.

In a default installation of Gerrit Code Review all administrators are
locked out and recovery must happen by directly modifying the
refs/meta/config branch in All-Projects "behind Gerrit's back".  In
some hosted installations this option may not be available to the
administrators, as the UNIX account is managed by a different group.

By adding a fail-safe group to gerrit.config the administrators are
always able to use the REST API and web interface to manage the
server, even if all entries were accidentally removed or incorrectly
specified in All-Projects.

Change-Id: I3083dc2997061ce7be095fb53f187856ab8ed0df
2016-08-11 15:37:40 -07:00
.settings Enable and fix 'Statement unnecessarily nested within else clause' warnings 2016-06-02 10:20:37 +09:00
Documentation Add capability.administrateServer to gerrit.config 2016-08-11 15:37:40 -07:00
ReleaseNotes Update 2.13 release notes 2016-08-10 08:39:40 -04: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 Merge branch 'stable-2.12' 2016-08-10 11:31:04 +09:00
gerrit-acceptance-tests Merge "SubmoduleOp: Allow all branches to be subscribed" 2016-08-10 15:23:36 +00:00
gerrit-antlr Implement Bazel build 2016-06-14 21:12:02 +02:00
gerrit-cache-h2 Merge "Add advanced H2 option handling" 2016-07-11 12:50:20 +00:00
gerrit-common SubmoduleOp: Allow all branches to be subscribed 2016-08-04 16:13:11 -07:00
gerrit-extension-api Add REST API endpoints for user's contribution agreements 2016-08-09 05:15:04 +00:00
gerrit-gpg AccountCacheImpl#ByNameLoader: Use account index to lookup usernames 2016-07-20 14:16:03 +02:00
gerrit-gwtdebug WebServer: Fix TIME_IN_THE_PAST constant definition 2016-05-07 22:11:43 +09:00
gerrit-gwtexpui Add rel=nofollow parameter to links in comments 2016-07-21 10:01:25 +09:00
gerrit-gwtui Add data-branch and data-project to attributes for related changes. 2016-08-09 11:13:37 -07:00
gerrit-gwtui-common Add CHANGE_SCREEN_BELOW_COMMIT_INFO_BLOCK extension point 2016-07-28 16:30:37 -07:00
gerrit-httpd Merge branch 'stable-2.12' 2016-08-10 11:31:04 +09:00
gerrit-launcher Implement Bazel build 2016-06-14 21:12:02 +02:00
gerrit-lucene Merge "Add an optional flag to force an online reindex" 2016-08-03 13:18:35 +00:00
gerrit-main Enable and fix 'Statement unnecessarily nested within else clause' warnings 2016-06-02 10:20:37 +09:00
gerrit-oauth Implement Bazel build 2016-06-14 21:12:02 +02:00
gerrit-openid Implement Bazel build 2016-06-14 21:12:02 +02:00
gerrit-patch-commonsnet Merge "Implement Bazel build" 2016-06-24 10:51:33 +00:00
gerrit-patch-jgit Implement Bazel build 2016-06-14 21:12:02 +02:00
gerrit-pgm Add capability.administrateServer to gerrit.config 2016-08-11 15:37:40 -07:00
gerrit-plugin-api Merge branch 'stable-2.12' 2016-06-27 11:08:44 +09:00
gerrit-plugin-archetype Merge branch 'stable-2.12' 2016-06-27 11:08:44 +09:00
gerrit-plugin-gwt-archetype Merge branch 'stable-2.12' 2016-06-27 11:08:44 +09:00
gerrit-plugin-gwtui Merge branch 'stable-2.12' 2016-06-27 11:08:44 +09:00
gerrit-plugin-js-archetype Merge branch 'stable-2.12' 2016-06-27 11:08:44 +09:00
gerrit-prettify Implement Bazel build 2016-06-14 21:12:02 +02:00
gerrit-reviewdb PatchSet: Increase size of groups column 2016-08-10 14:06:43 +09:00
gerrit-server Add capability.administrateServer to gerrit.config 2016-08-11 15:37:40 -07:00
gerrit-sshd Merge "ShowConnections: Only show start and idle columns for mina backend" 2016-08-04 06:09:28 +00:00
gerrit-util-cli Implement Bazel build 2016-06-14 21:12:02 +02:00
gerrit-util-http Implement Bazel build 2016-06-14 21:12:02 +02:00
gerrit-util-ssl Implement Bazel build 2016-06-14 21:12:02 +02:00
gerrit-war StreamEventsApiListener: Move to com.google.gerrit.server.events 2016-07-08 06:26:25 +00:00
lib Upgrade JGit to 4.4.1.201607150455-r.105-g81ba2be 2016-08-10 11:52:29 +09:00
plugins Parse and serve reviewer updates via REST API 2016-08-05 10:17:09 -07:00
polygerrit-ui Remove unused syntax elements 2016-08-11 10:42:17 -07:00
tools Implement Bazel build 2016-06-14 21:12:02 +02:00
website/releases Fix Diffy logo on release page by encoding the image 2015-12-29 10:36:39 -08:00
.bazelrc Implement Bazel build 2016-06-14 21:12:02 +02:00
.buckconfig Implement Bazel build 2016-06-14 21:12:02 +02: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 Implement Bazel build 2016-06-14 21:12:02 +02:00
.gitmodules Adapt .gitmodules to enable superproject subscriptions 2016-07-27 12:01:40 -07: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 Merge branch 'stable-2.12' 2016-06-27 11:08:44 +09:00
SUBMITTING_PATCHES Update push URL in SUBMITTING_PATCHES 2012-03-29 00:57:14 -04:00
VERSION Set version to 2.13-SNAPSHOT 2015-11-09 21:44:27 +00:00
WORKSPACE Implement Bazel build 2016-06-14 21:12:02 +02: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.