RETIRED, Gerrit as used by OpenStack
Go to file
Han-Wen Nienhuys 2e7f5ccb7c tools/maven: generate Maven install scripts
Build actions can be cached, so they can't be used for Maven
interactions.  Instead, generate a script that calls buck and then
runs the upload process.

This obviates tools/maven/api.py.

The script tools/maven/api.sh runs all deployment steps combined
(generate script, generate artifacts, upload to maven.)

Tested:
  Ran "python tools/maven/api.py -n deploy" before and "buck
build //tools/maven:gen_api_deploy" afterwards. The old command line
and generated script differ as expected:

 * paths in the script are absolute, because Buck expands $(location)
   to absolute paths.

 * the ordering of arguments differs, because Python dict iteration
   was random beforehand.

 * "-o" missing afterward, as expected.

The same check was performed for gen_api_install.

Change-Id: Ia246000f8b59e881c53265751e2ebcfe8ec7d433
2016-05-03 13:30:00 +02: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 tools/maven: generate Maven install scripts 2016-05-03 13:30:00 +02:00
gerrit-acceptance-framework Merge branch 'stable-2.12' 2016-04-27 22:19:40 +09:00
gerrit-acceptance-tests ChangeRebuilderImpl: Ensure first event creates change 2016-04-29 09:10:55 -04:00
gerrit-antlr Remove unnecessary dependencies 2015-09-18 06:02:35 +00:00
gerrit-cache-h2 Buck: Remove jgit cell 2016-04-20 22:02:49 +02:00
gerrit-common Merge "Added /projects/name/access as REST endpoint. Implemented GET." 2016-04-25 11:46:43 +00:00
gerrit-extension-api EditScreen: Show the base version of the file in a CodeMirror merge view 2016-04-27 03:05:00 -04:00
gerrit-gpg Buck: Remove jgit cell 2016-04-20 22:02:49 +02:00
gerrit-gwtdebug Expose acceptance test framework as new plugin artifact 2015-09-25 14:46:10 -04:00
gerrit-gwtexpui Remove redundant modifiers from interfaces' methods 2016-04-12 21:44:27 +09:00
gerrit-gwtui DiffScreen: Fix jumping to the previous Vim search result 2016-04-29 08:37:59 +00:00
gerrit-gwtui-common Allow file annotations (blame) in side-by-side diff 2016-04-25 08:38:55 -04:00
gerrit-httpd Buck: Remove jgit cell 2016-04-20 22:02:49 +02:00
gerrit-launcher Standardize capitalization of "NoteDb" 2016-03-24 14:39:15 -04:00
gerrit-lucene Extract gerrit_index.config into its own class 2016-04-26 19:15:03 +02: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: Remove jgit cell 2016-04-20 22:02:49 +02:00
gerrit-patch-commonsnet Add missing whitespace around keywords, operators and braces 2016-04-11 19:51:18 +09:00
gerrit-patch-jgit Buck: Remove jgit cell 2016-04-20 22:02:49 +02:00
gerrit-pgm Extract gerrit_index.config into its own class 2016-04-26 19:15:03 +02:00
gerrit-plugin-api Export blame-cache to gerrit-plugin-api 2016-04-26 12:50:38 +00: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 plugin JS resource paths to /config/server/info 2016-04-13 15:07:25 -07:00
gerrit-plugin-gwtui Remove redundant 'final' modifiers 2016-04-12 21:45:53 +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: Remove jgit cell 2016-04-20 22:02:49 +02:00
gerrit-reviewdb ChangeBundle: Ignore null originalSubject in ReviewDb changes 2016-04-29 09:10:55 -04:00
gerrit-server Merge changes from topic 'notedb-diff-fixes' 2016-04-29 13:23:38 +00:00
gerrit-sshd Support generic indexes in LuceneVersionManager 2016-04-26 07:52:36 +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: Remove jgit cell 2016-04-20 22:02:49 +02:00
gerrit-util-ssl Turn on many more Eclipse warnings, and fix them 2014-10-29 15:00:17 -07:00
gerrit-war Merge "Buck: Remove jgit cell" 2016-04-20 20:29:47 +00:00
lib Merge "Use default asciidoctor CSS style instead of doc.css" 2016-04-29 13:12:03 +00:00
plugins tools/maven: generate Maven install scripts 2016-05-03 13:30:00 +02:00
polygerrit-ui Respect "Show Change Number In Changes Table" preference 2016-04-30 14:36:04 +02:00
ReleaseNotes Update the CodeMirror version in 2.13 release notes 2016-04-20 17:06:06 -04:00
tools tools/maven: generate Maven install scripts 2016-05-03 13:30:00 +02:00
website/releases Fix Diffy logo on release page by encoding the image 2015-12-29 10:36:39 -08:00
.buckconfig tools/maven: generate Maven install scripts 2016-05-03 13:30:00 +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 Added tmp files to gitignore 2016-04-28 17:16:06 +02: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.