RETIRED, Gerrit as used by OpenStack
Go to file
Wyatt Allen 650c529276 Syntax highlighting
Introduces the gr-syntax-layer element. This element works as an
annotation layer that is configured with the diff and asynchronously
computes/applies syntax for the diff.

Introduces a custom build of Highlight.js which gr-syntax-layer makes
use of. Building the script is documented in
scripts/vendor/highlight/building.md.

The layer is connected to the annotation pipeline in gr-diff-builder as
the lowest layer and syntax processing is triggered only after a diff
has been completely rendered.

A number of styles are added to the gr-diff element for syntax markers.
Tests added for gr-syntax-layer.

Bug: Issue 3916
Change-Id: Ic33e40f4fe39dfce1a62de133cfaf32be5e3f25a
2016-07-25 13:47:30 -07:00
.settings Enable and fix 'Statement unnecessarily nested within else clause' warnings 2016-06-02 10:20:37 +09:00
Documentation Return Bad Request on bad reviewers to PostReview 2016-07-25 08:59:11 +09:00
ReleaseNotes Adjust 2.12.3 release notes to use asciidoctor style headings 2016-07-07 14:57:22 +09: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 Add more tests for submodule subscriptions 2016-07-21 22:58:53 -07:00
gerrit-acceptance-tests Return Bad Request on bad reviewers to PostReview 2016-07-25 08:59:11 +09: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 Merge "Implement Bazel build" 2016-06-24 10:51:33 +00:00
gerrit-extension-api Return Bad Request on bad reviewers to PostReview 2016-07-25 08:59:11 +09: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 Merge "Add 'Parent $x' options to diff for merge commits" 2016-07-19 16:27:54 +00:00
gerrit-gwtui-common Merge "Add 'Parent $x' options to diff for merge commits" 2016-07-19 16:27:54 +00:00
gerrit-httpd Catch NumberFormatException on invalid request 2016-07-18 12:25:15 +02:00
gerrit-launcher Implement Bazel build 2016-06-14 21:12:02 +02:00
gerrit-lucene Upgrade Lucene to 5.5.0 2016-07-20 09:59:13 +09: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 AccountByEmailCache: Use account index to lookup emails 2016-07-20 10:42:57 +02:00
gerrit-plugin-api Set version to 2.12.3 2016-07-07 13:15:21 +09:00
gerrit-plugin-archetype Set version to 2.12.3 2016-07-07 13:15:21 +09:00
gerrit-plugin-gwt-archetype Set version to 2.12.3 2016-07-07 13:15:21 +09:00
gerrit-plugin-gwtui Set version to 2.12.3 2016-07-07 13:15:21 +09:00
gerrit-plugin-js-archetype Set version to 2.12.3 2016-07-07 13:15:21 +09:00
gerrit-prettify Implement Bazel build 2016-06-14 21:12:02 +02:00
gerrit-reviewdb Migrate project watches to git (part 1) 2016-07-20 14:16:14 +02:00
gerrit-server Merge "Refactor MergeOpRepoManager#openRepo to return the OpenRepo" 2016-07-25 00:26:14 +00:00
gerrit-sshd Merge "SSH show-queue: option to group output by queue and print queue info" 2016-07-14 07:15:15 +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 Syntax highlighting 2016-07-25 13:47:30 -07:00
plugins Update singleusergroup plugin 2016-07-13 16:34:02 +02:00
polygerrit-ui Syntax highlighting 2016-07-25 13:47:30 -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 Move hooks from core Gerrit to 'hooks' plugin 2016-07-04 11:06:18 +09: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.12.3 2016-07-07 13:15:21 +09: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.