RETIRED, Gerrit as used by OpenStack
Go to file
David Ostrovsky 50785fdbb2 Bazel: Publish maven artifacts to local and remote repositories
Currently too big files are published, because some unwanted transitive
dependencies are included in the final artifacts. That will be fixed in
follow-up change by using neverlink option in java_library rule or using
provided_deps attribute that will be addded in future releases of Bazel:
[1].

TEST PLAN:

  $ VERBOSE=1 tools/maven/api.sh install bazel
  $ VERBOSE=1 tools/maven/api.sh install buck

* [1] https://github.com/bazelbuild/bazel/issues/1402

Change-Id: Ie73d4ae34d96be7f97f6329c4c30c814f54688d5
2016-11-03 12:47:24 +00:00
.settings Build with Java 8 2016-09-20 10:19:52 +02:00
bucklets Buck: Fix typo in gerrit_plugin.bucklet 2015-12-23 17:55:11 +01:00
contrib Remove unused/outdated Pylint configuration file 2016-10-20 09:07:01 +09:00
Documentation Bazel: Publish maven artifacts to local and remote repositories 2016-11-03 12:47:24 +00:00
gerrit-acceptance-framework Bazel: Publish maven artifacts to local and remote repositories 2016-11-03 12:47:24 +00:00
gerrit-acceptance-tests Merge "Fix eclipse unused variable warning" 2016-10-31 05:27:33 +00:00
gerrit-antlr bazel: remove 'out' attribute from genrule2, and use throughout. 2016-11-02 13:54:10 +01:00
gerrit-cache-h2 Support for setting diskLimit from CacheModule bindings 2016-09-22 22:51:33 +02:00
gerrit-common Bazel: Fix test for //gerrit-common:client_tests 2016-10-26 07:45:09 +02:00
gerrit-elasticsearch Mark Elastic Search tests as flaky 2016-10-31 12:34:32 +09:00
gerrit-extension-api Bazel: Publish maven artifacts to local and remote repositories 2016-11-03 12:47:24 +00:00
gerrit-gpg Bump bouncy castle to 1.55 2016-10-25 12:21:22 +00:00
gerrit-gwtdebug Bump GWT version to 2.8.0-rc2 2016-09-19 15:10:11 +02:00
gerrit-gwtexpui Build a Recommender for Reviewer Suggestion 2016-10-12 16:51:58 +02:00
gerrit-gwtui Bazel: Fix build 2016-11-03 08:06:21 +01:00
gerrit-gwtui-common bazel: remove 'out' attribute from genrule2, and use throughout. 2016-11-02 13:54:10 +01:00
gerrit-httpd Servlet 2.5 compatibility for response recorder 2016-10-30 06:36:20 +00:00
gerrit-index bazel: update for elasticsearch and lucene. 2016-09-28 21:17:08 +02:00
gerrit-launcher Merge changes from topic 'win32' 2016-09-23 12:12:11 +00:00
gerrit-lucene Upgrade Guava to 20.0-rc1 2016-10-24 23:46:14 +09:00
gerrit-main Merge changes from topic 'bazel-build' 2016-09-20 11:57:48 +00:00
gerrit-oauth OAuthTokenCache: Use account id as key 2016-10-18 23:37:24 +02:00
gerrit-openid Move AuthType from gerrit-reviewdb to extension API 2016-08-23 17:27:50 +09:00
gerrit-patch-commonsnet Merge branch 'stable-2.12' 2016-08-18 09:09:43 -04:00
gerrit-patch-jgit bazel: remove 'out' attribute from genrule2, and use throughout. 2016-11-02 13:54:10 +01:00
gerrit-pgm Merge changes Ic1331b5a,I632d502f 2016-10-25 23:55:16 +00:00
gerrit-plugin-api Bazel: Publish maven artifacts to local and remote repositories 2016-11-03 12:47:24 +00:00
gerrit-plugin-archetype Build with Java 8 2016-09-20 10:19:52 +02:00
gerrit-plugin-gwt-archetype Build with Java 8 2016-09-20 10:19:52 +02:00
gerrit-plugin-gwtui Bazel: Add build for gerrit-plugin-gwtui 2016-10-28 08:48:27 +02:00
gerrit-plugin-js-archetype Build with Java 8 2016-09-20 10:19:52 +02:00
gerrit-prettify bazel: genasciidoc and genasciidoc_zip rule 2016-10-07 15:20:35 +08:00
gerrit-reviewdb Move refs/cache-automerge/ generation logic to RefNames 2016-10-31 15:46:10 -04:00
gerrit-server Merge branch 'stable-2.13' 2016-11-02 17:36:09 +09:00
gerrit-sshd ChangeArgumentParser: Replace FluentIterable with Java 8 stream 2016-11-02 17:40:59 +09:00
gerrit-util-cli Implement Bazel build 2016-06-14 21:12:02 +02:00
gerrit-util-http Convert some Functions/Predicates to streams & lambdas (5) 2016-09-21 04:27:43 -04:00
gerrit-util-ssl Implement Bazel build 2016-06-14 21:12:02 +02:00
gerrit-war bazel: remove 'out' attribute from genrule2, and use throughout. 2016-11-02 13:54:10 +01:00
lib Bazel: Fix build 2016-11-03 08:06:21 +01:00
plugins bazel: remove 'out' attribute from genrule2, and use throughout. 2016-11-02 13:54:10 +01:00
polygerrit-ui Merge "Fix for autolinking missing matches" 2016-11-03 03:43:32 +00:00
ReleaseNotes Replace 2.12.x and 2.13.x release notes with links to homepage 2016-10-19 18:08:51 +09:00
tools Bazel: Publish maven artifacts to local and remote repositories 2016-11-03 12:47:24 +00:00
website/releases Fix Diffy logo on release page by encoding the image 2015-12-29 10:36:39 -08:00
.bazelproject Add .bazelproject file 2016-10-27 06:32:47 +00:00
.bazelrc Reinstate 214171ddda 2016-10-24 14:47:44 +02:00
.buckconfig Merge branch 'stable-2.13' 2016-09-21 11:35:53 +02:00
.buckversion Update buck to latest version 2016-10-04 14:18:47 +09:00
.editorconfig Added continuation indent to editorconfig 2016-04-26 14:42:58 +02:00
.gitignore Ignore .metadata folder managed by Eclipse 2016-10-04 12:06:17 +02:00
.gitmodules Adapt .gitmodules to enable superproject subscriptions 2016-07-27 12:01:40 -07:00
.mailmap Fix .mailmap 2016-10-17 14:03:40 +09: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
BUILD Bazel: Include documentation in release and withdocs WAR 2016-10-25 22:34:10 +02: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 Add Gerrit install for Fedora and Docker 2016-10-27 08:29:41 +01:00
SUBMITTING_PATCHES Update push URL in SUBMITTING_PATCHES 2012-03-29 00:57:14 -04:00
version.bzl Bazel: Publish maven artifacts to local and remote repositories 2016-11-03 12:47:24 +00:00
WORKSPACE Bump GWT version to 2.8.0 2016-10-27 22:22:05 +02:00

Gerrit Code Review

Gerrit is a code review and project management tool for Git based projects.

Build Status

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>]

On Fedora run:

    dnf clean all && dnf install gerrit-<version>[-<release>]

Use pre-built Gerrit images on Docker

Docker images of Gerrit are available on DockerHub

To run a CentOS 7 based Gerrit image:

    docker run -p 8080:8080 gerritforge/gerrit-centos7[:version]

To run a Ubuntu 15.04 based Gerrit image:

    docker run -p 8080:8080 gerritforge/gerrit-ubuntu15.04[:version]

NOTE: release is optional. Last released package of the version is installed if the release number is omitted.