RETIRED, Gerrit as used by OpenStack
Go to file
David Pursehouse 6031b05397 RevisionApi: Add method to list votes per revision
The current API allows to get votes either:

- By revision, but only the votes from a specific reviewer

- By change, but only all votes on the current patch set

Add a method that allows to get all the votes for a specific revision.

The result is returned as a multimap of the label name to a list
of approval infos for that label. The approval infos contain the Id,
name, username and email fields.

Change-Id: I35cde09b3ee059e8b03aff1c4ee2747944c3d37c
2019-02-06 17:14:29 +09:00
.settings Merge branch 'stable-2.14' into stable-2.15 2018-05-16 08:15:29 +09:00
Documentation cmd-review: Add another example to clarify review using change number and PS 2019-02-06 08:47:21 +09:00
ReleaseNotes Merge branch 'stable-2.13' into stable-2.14 2019-01-18 20:57:29 +09:00
contrib abandon_stale.py: send data using json argument, not data argument 2017-09-27 13:49:55 +02:00
gerrit-acceptance-framework Daemon: use regular binding for auditModule 2019-02-05 13:37:09 +00:00
gerrit-acceptance-tests RevisionApi: Add method to list votes per revision 2019-02-06 17:14:29 +09:00
gerrit-cache-h2 Merge branch 'stable-2.14' into stable-2.15 2018-05-30 09:35:44 +09:00
gerrit-cache-mem Introduce mechanism to overload Gerrit core modules 2018-05-14 13:09:55 +09:00
gerrit-common Merge branch 'stable-2.14' into stable-2.15 2018-10-15 21:27:21 +09:00
gerrit-elasticsearch Elasticsearch: Support and use v6.6.0 for testing 2019-01-30 16:37:05 -05:00
gerrit-extension-api RevisionApi: Add method to list votes per revision 2019-02-06 17:14:29 +09:00
gerrit-gpg Merge branch 'stable-2.14' into stable-2.15 2018-11-07 10:18:37 +09:00
gerrit-gwtdebug Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
gerrit-gwtexpui Consistently define default serialVersionUID 2018-12-20 05:41:00 +00:00
gerrit-gwtui RelatedChanges: Don't show "Same Topic" for only one change 2019-01-18 10:10:24 +09:00
gerrit-gwtui-common Merge branch 'stable-2.14' into stable-2.15 2019-01-09 23:10:35 +01:00
gerrit-httpd Disable deps.js requests in the index template 2019-01-31 14:34:41 +00:00
gerrit-index Merge branch 'stable-2.14' into stable-2.15 2018-09-12 14:17:28 +09:00
gerrit-launcher StandaloneSiteTest: Ignore user and system git config 2018-03-20 10:45:26 -04:00
gerrit-lucene De-couple online reindex activation from index module 2018-12-30 21:51:52 +00:00
gerrit-main Remove 'final' from method signatures across gerrit. 2017-06-14 09:18:42 +02:00
gerrit-oauth ExternalIds NoteDb migration: Avoid intermediate migration state 2018-03-07 21:35:20 +01:00
gerrit-openid Consistently define default serialVersionUID 2018-12-20 05:41:00 +00:00
gerrit-patch-commonsnet Remove 'final' from method signatures across gerrit. 2017-06-14 09:18:42 +02:00
gerrit-patch-jgit Remove 'final' from method signatures across gerrit. 2017-06-14 09:18:42 +02:00
gerrit-pgm Daemon: use regular binding for auditModule 2019-02-05 13:37:09 +00:00
gerrit-plugin-api Set version to 2.15.10-SNAPSHOT 2019-01-25 11:31:16 +09:00
gerrit-plugin-gwtui Set version to 2.15.10-SNAPSHOT 2019-01-25 11:31:16 +09:00
gerrit-prettify Remove 'final' from method signatures across gerrit. 2017-06-14 09:18:42 +02:00
gerrit-reviewdb Merge branch 'stable-2.14' into stable-2.15 2019-01-09 23:10:35 +01:00
gerrit-server RevisionApi: Add method to list votes per revision 2019-02-06 17:14:29 +09:00
gerrit-sshd ReviewCommand: Let PostReview handle notifyhandling 2018-10-17 11:55:13 +02:00
gerrit-test-util Fix infinite loop in IntraLineLoader 2018-04-13 05:43:41 -04:00
gerrit-util-cli CmdLineParser: Remove unused prefix argument 2017-09-01 07:55:52 +00:00
gerrit-util-http Merge branch 'stable-2.14' into stable-2.15 2018-09-12 14:17:28 +09:00
gerrit-util-ssl Remove 'final' from method signatures across gerrit. 2017-06-14 09:18:42 +02:00
gerrit-war Set version to 2.15.10-SNAPSHOT 2019-01-25 11:31:16 +09:00
lib Merge branch 'stable-2.14' into stable-2.15 2019-01-18 21:00:36 +09:00
plugins Update git submodules 2019-01-15 23:40:20 +00:00
polygerrit-ui Fix support for deleting branches (if you have can_delete) 2019-01-22 00:21:39 +00:00
tools Merge branch 'stable-2.14' into stable-2.15 2019-01-11 09:11:00 +09:00
website/releases Replace download links for releases index page 2018-09-27 05:47:05 +00:00
.bazelproject Build IntelliJ project with full debug info 2017-04-14 11:29:51 -04:00
.bazelrc Migrate `tools/bazel.rc` to `.bazelrc` 2018-08-03 21:50:11 +02:00
.editorconfig Added continuation indent to editorconfig 2016-04-26 14:42:58 +02:00
.git-blame-ignore-revs Update git hyper-blame configuration 2017-02-17 16:35:50 +09:00
.gitignore Ignore intellij bazel plugin's data directory 2018-11-09 10:20:16 +00:00
.gitmodules Remove the cookbook-plugin submodule 2017-03-24 10:59:31 +09:00
.mailmap Update .mailmap 2019-02-06 08:41:42 +09:00
.pydevproject Update PyDev project to use Python 2.7 2014-10-02 15:16:44 +09:00
0001-Replace-native-http-git-_archive-with-Skylark-rules.patch Bazel: Replace native {http,git}_archive with Skylark rules 2018-06-05 05:13:58 +00:00
BUILD Bazel: Automatically fix lint errors with buildifier 2019-01-08 23:11:59 +01: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 Switch GitHub mirror URL to the most up-to-date 2017-04-05 09:03:59 +01:00
SUBMITTING_PATCHES Update push URL in SUBMITTING_PATCHES 2012-03-29 00:57:14 -04:00
WORKSPACE Elasticsearch: Support and use v6.6.0 for testing 2019-01-30 16:37:05 -05:00
version.bzl Set version to 2.15.10-SNAPSHOT 2019-01-25 11:31:16 +09:00

README.md

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 Bazel and run the following:

    git clone --recursive https://gerrit.googlesource.com/gerrit
    cd gerrit && bazel 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.