RETIRED, Gerrit as used by OpenStack
Go to file
Michael Zhou 42c22a8fc8 Use @GwtIncompatible to exclude files incompatible with GWT
Currently, GWT's Super Dev Mode shows "Ignored 7 units with
compilation errors in first pass". This is because the 6 files listed
in this change refer to classes / methods that are not emulated in GWT
and should be excluded from the compilation. The production build
doesn't suffer from this problem because we exclude them in
gerrit-common/BUCK.

Instead of listing them in BUCK, rely on Guava's handy
@GwtIncompatible annotation. This tells the GWT compiler to ignore the
file entirely, both in Super Dev Mode and production build.

Add "-strict" to the launch configurations of Super Dev Mode so that
developers can catch errors earlier.

Change-Id: I6e2d6be303fa888a9b4776aaae1148d4fd9a211c
2016-04-11 08:12:06 +00:00
.settings Eclipse: Update default compiler settings from Mars.1 Release (4.5.1) 2016-02-24 13:26:35 +00:00
bucklets Buck: Fix typo in gerrit_plugin.bucklet 2015-12-23 17:55:11 +01:00
contrib Add "threads" command to gerrit.sh bash_completion script 2016-03-23 17:40:35 +00:00
Documentation Clarify documention of Administrators group 2016-04-07 10:09:22 +02:00
gerrit-acceptance-framework AbstractDaemonTest: Add saveProjectConfig method 2016-04-08 07:07:25 +00:00
gerrit-acceptance-tests AbstractDaemonTest: Add saveProjectConfig method 2016-04-08 07:07:25 +00:00
gerrit-antlr Remove unnecessary dependencies 2015-09-18 06:02:35 +00:00
gerrit-cache-h2 Merge "Make H2 database cache size configurable" 2016-02-24 10:42:58 +00:00
gerrit-common Use @GwtIncompatible to exclude files incompatible with GWT 2016-04-11 08:12:06 +00:00
gerrit-extension-api Merge branch 'stable-2.12' 2016-04-08 17:41:43 +09:00
gerrit-gpg Replace usages of CharMatcher constants 2016-02-23 14:50:46 -05:00
gerrit-gwtdebug Expose acceptance test framework as new plugin artifact 2015-09-25 14:46:10 -04:00
gerrit-gwtexpui Merge branch 'stable-2.12' 2016-03-29 08:03:58 -04:00
gerrit-gwtui Merge "Remove old unified diff screen" 2016-04-08 06:33:01 +00:00
gerrit-gwtui-common Expose RevisionInfo to panel extension points 2016-03-22 20:30:01 +00:00
gerrit-httpd Merge "Remove old unified diff screen" 2016-04-08 06:33:01 +00:00
gerrit-launcher Standardize capitalization of "NoteDb" 2016-03-24 14:39:15 -04:00
gerrit-lucene Merge "Revert "Support generic indexes in LuceneVersionManager"" 2016-03-28 15:47:18 +00: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 Fix SSL security issue in the SMTP email relay code 2016-03-13 15:42:32 +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 NoteDb: Consider starred changes part of the Accounts table 2016-04-06 07:31:33 -04:00
gerrit-plugin-api Add new maintainers to "developers" section in pom.xml files 2016-03-15 13:35:49 +09:00
gerrit-plugin-archetype Add new maintainers to "developers" section in pom.xml files 2016-03-15 13:35:49 +09:00
gerrit-plugin-gwt-archetype Add new maintainers to "developers" section in pom.xml files 2016-03-15 13:35:49 +09:00
gerrit-plugin-gwtui Add new maintainers to "developers" section in pom.xml files 2016-03-15 13:35:49 +09:00
gerrit-plugin-js-archetype Add new maintainers to "developers" section in pom.xml files 2016-03-15 13:35:49 +09:00
gerrit-prettify Remove old unified diff screen 2016-04-03 15:55:12 -04:00
gerrit-reviewdb Store NoteDb migration state inside Change 2016-04-06 07:31:33 -04:00
gerrit-server Merge "Refactor array usage to list for RepositoryConfig and GroupSetProvider" 2016-04-08 14:15:15 +00:00
gerrit-sshd gerrit-sshd: Remove usages of Throwables#propagate 2016-04-07 15:27:01 +00: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 changes from topic 'repo-manager-gh16' 2016-03-18 12:58:07 +00:00
lib maven_jar: Support download of artifacts from Maven snapshot repo 2016-04-08 15:05:13 +09:00
plugins Update replication plugin to latest revision 2016-04-07 15:27:32 +00:00
polygerrit-ui Remove refs to --secondary-color 2016-04-07 23:07:55 -04:00
ReleaseNotes Merge branch 'stable-2.12' 2016-03-29 08:03:58 -04:00
tools Use @GwtIncompatible to exclude files incompatible with GWT 2016-04-11 08:12:06 +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 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.12 2015-11-13 15:02:46 -08: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.