RETIRED, Gerrit as used by OpenStack
Go to file
Michael Zhou 9a7f4493a7 Use a pre-built minified CodeMirror in the release build
I've started to maintain a minified CodeMirror distribution at
https://www.npmjs.com/package/codemirror-minified. It is released
on both NPM and WebJars with a version number that matches the
current version of CodeMirror. It comes with all non-test
JavaScript and CSS files minified.

Commit 7b11d6ad30
(change I05d925c94a3c0368366e9d3ad109cf84492810fc) already turned off
CodeMirror obfuscation in non-release builds. With this further change,
we can avoid running Closure Compiler altogether.

Removed the special case for CodeMirror in
Documentation/gen_licenses.py since it's no longer needed.

Removed the now unused js_minify() rule and the rules for downloading
Closure Compiler and its externs. They will be re-added to tools/js for
minifying PolyGerrit.

Change-Id: I36b4c29e2300384f49d3660266cc7b89140c9faf
2016-04-04 20:33:27 -04:00
.settings Eclipse: Update default compiler settings from Mars.1 Release (4.5.1) 2016-02-24 13:26:35 +00:00
Documentation Use a pre-built minified CodeMirror in the release build 2016-04-04 20:33:27 -04:00
ReleaseNotes Merge branch 'stable-2.12' 2016-03-29 08:03:58 -04: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
gerrit-acceptance-framework Add a way to change the destination of open changes 2016-03-30 13:30:38 -06:00
gerrit-acceptance-tests Merge "AccountApi: Add methods to get and set GeneralPreferencesInfo" 2016-04-04 11:32:31 +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 ACLs for superproject subscriptions 2016-03-21 12:14:58 -07:00
gerrit-extension-api Merge "AccountApi: Add methods to get and set GeneralPreferencesInfo" 2016-04-04 11:32:31 +00: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 Buck: Turn off Codemirror obfuscation in non release build 2016-04-04 20:30:55 -04:00
gerrit-gwtui-common Expose RevisionInfo to panel extension points 2016-03-22 20:30:01 +00:00
gerrit-httpd Serve fonts from Gerrit instead of Google Fonts. 2016-04-01 13:11:02 -04: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 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 Merge "Reindex: Support generic indexes" 2016-03-30 12:00:42 +00: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 Buck: Emulate real JGit project structure in its own cell 2016-02-14 11:46:49 +01:00
gerrit-reviewdb Fix PUBLISH_ALL_REVISIONS in NoteDb 2016-03-29 12:56:20 -04:00
gerrit-server Merge "AccountApi: Add methods to get and set GeneralPreferencesInfo" 2016-04-04 11:32:31 +00:00
gerrit-sshd Revert "Support generic indexes in LuceneVersionManager" 2016-03-25 21:20: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 Use a pre-built minified CodeMirror in the release build 2016-04-04 20:33:27 -04:00
plugins Remove usages of Throwables#propagate 2016-03-22 09:44:26 -04:00
polygerrit-ui Merge "Cleanup gr-change-view (remove gr-ajax use)" 2016-04-04 15:38:10 +00:00
tools Merge "Remove confirmation step from plugin archetype deploy script" 2016-03-11 12:26:45 +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.13-SNAPSHOT 2015-11-09 21:44:27 +00: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.