RETIRED, Gerrit as used by OpenStack
Go to file
David Ostrovsky 0b774c478e Update Buck to latest version
This version fixed a major issue: [1] that was a reason of frustration
of many plugin developers: Not cache sources files under symbolic link.
Now for all such source files, the warning is issued:

"
Disabling caching for target //plugins/wip:wip__plugin, because one or
more input files are under a symbolic link
({plugins/wip=/home/davido/projects/wip}). This will severely impact
performance! To resolve this, use separate rules and declare
dependencies instead of using symbolic links.
"

To suppress this warning we add project.allow_symlink option. This
doesn't have any impact for gerrit core but silences the warning above
when plugins are built in gerrit tree mode.

As pointed out in this issue: [2], we are using some artifacts as source
to the java_library() rule as well as binary_jar for prebuilt_ja rule.
To avoid the warning, we rename sources to have "-sources.jar" suffix
and we rename *.zip to end with .jar in other places.

"
Assuming edit.src.zip is a JAR and renaming to edit.src.jar in
//gerrit-patch-jgit:edit_src. Change the extension of the binary_jar to
'.jar' to remove this warning.
"

source_under_test attribute was removed from java_test() rule.
Replication and cookbook-plugin are updated as well.

local.properties support was removed, but we use it only for download
process customization in our own python script, so that we can keep it
usage and not need to move it to .buckconfig.local.

[1] https://github.com/facebook/buck/issues/341
[2] https://github.com/facebook/buck/issues/855

Change-Id: Idf76cc71c21df43e808179b645f9175767b322a8
2016-09-20 13:19:15 +02: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 Add a piece of go code to find mismatching lib versions in bzl/bck 2016-08-26 17:01:50 +02:00
Documentation Build with Java 8 2016-09-20 10:19:52 +02:00
gerrit-acceptance-framework Extract an interface to replace ChangeBundle#fromReviewDb 2016-09-19 16:06:53 +02:00
gerrit-acceptance-tests Update Buck to latest version 2016-09-20 13:19:15 +02:00
gerrit-antlr Implement Bazel build 2016-06-14 21:12:02 +02:00
gerrit-cache-h2 Remove redundant specification of type arguments 2016-09-20 10:24:34 +02:00
gerrit-common Update Buck to latest version 2016-09-20 13:19:15 +02:00
gerrit-extension-api Update Buck to latest version 2016-09-20 13:19:15 +02:00
gerrit-gpg Update Buck to latest version 2016-09-20 13:19:15 +02:00
gerrit-gwtdebug Bump GWT version to 2.8.0-rc2 2016-09-19 15:10:11 +02:00
gerrit-gwtexpui Update Buck to latest version 2016-09-20 13:19:15 +02:00
gerrit-gwtui Update Buck to latest version 2016-09-20 13:19:15 +02:00
gerrit-gwtui-common Update Buck to latest version 2016-09-20 13:19:15 +02:00
gerrit-httpd Update Buck to latest version 2016-09-20 13:19:15 +02:00
gerrit-launcher Implement Bazel build 2016-06-14 21:12:02 +02:00
gerrit-lucene Merge branch stable-2.12 into stable-2.13 2016-09-14 21:03:07 +00:00
gerrit-main Build with Java 8 2016-09-20 10:19:52 +02:00
gerrit-oauth Implement Bazel build 2016-06-14 21:12:02 +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 Update Buck to latest version 2016-09-20 13:19:15 +02:00
gerrit-pgm Update Buck to latest version 2016-09-20 13:19:15 +02:00
gerrit-plugin-api Buck: Create javadoc from source archive 2016-09-07 22:49:38 +02: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 Buck: Create javadoc from source archive 2016-09-07 22:49:38 +02:00
gerrit-plugin-js-archetype Build with Java 8 2016-09-20 10:19:52 +02:00
gerrit-prettify Implement Bazel build 2016-06-14 21:12:02 +02:00
gerrit-reviewdb Update Buck to latest version 2016-09-20 13:19:15 +02:00
gerrit-server Update Buck to latest version 2016-09-20 13:19:15 +02:00
gerrit-sshd Update Buck to latest version 2016-09-20 13:19:15 +02:00
gerrit-util-cli Implement Bazel build 2016-06-14 21:12:02 +02:00
gerrit-util-http Update Buck to latest version 2016-09-20 13:19:15 +02:00
gerrit-util-ssl Implement Bazel build 2016-06-14 21:12:02 +02:00
gerrit-war Set version to 2.11.10 2016-08-25 21:44:33 +09:00
lib Upgrade gwtjsonrpc to 1.11 and gwtorm to 1.16 2016-09-20 11:31:14 +02:00
plugins Update Buck to latest version 2016-09-20 13:19:15 +02:00
polygerrit-ui Merge "Fix bug in autocomplete focus detection" 2016-09-19 20:09:58 +00:00
ReleaseNotes Update 2.13 release notes 2016-09-06 16:46:37 +09:00
tools Update Buck to latest version 2016-09-20 13:19:15 +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 Update Buck to latest version 2016-09-20 13:19:15 +02:00
.buckversion Update Buck to latest version 2016-09-20 13:19:15 +02: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.11.10 2016-08-25 21:44:33 +09:00
WORKSPACE Upgrade gwtjsonrpc to 1.11 and gwtorm to 1.16 2016-09-20 11:31:14 +02: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.