commit | 9b8e8895774b8393d686a9ecf4a599abdbff50ca | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Thu Oct 13 10:27:21 2016 +0200 |
committer | Edwin Kempin <ekempin@google.com> | Thu Oct 13 15:02:30 2016 +0200 |
tree | d0afc7cfdf5df4c65b46c16f38700c5e415635ad | |
parent | 50e25a2a41e21ff760b8e6e1313cb79ac801dba5 [diff] |
PutAssignee: Fail with 400 Bad Request if in input no assignee is set So far SetAssigneeOp accepted null as assignee if there was no old assignee, but then trying to add the null assignee as reviewer failed with a NullPointerException in PostReviewers#prepareApplication(...). Deleting of assignees should be done via the DeleteAssignee REST endpoint. Move the permission check out of SetAssigneeOp, because we always do this first before checking for bad requests (e.g. see SetHead). Change-Id: Ia19e7a47d3925215deb13eb78e1814bb42cf5bae Signed-off-by: Edwin Kempin <ekempin@google.com>
Gerrit is a code review and project management tool for Git based projects.
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.
For information about how to install and use Gerrit, refer to the documentation.
Our canonical Git repository is located on googlesource.com. There is a mirror of the repository on Github.
Please report bugs on the issue tracker.
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.
The IRC channel on freenode is #gerrit. An archive is available at: echelog.com.
The Developer Mailing list is repo-discuss on Google Groups.
Gerrit is provided under the Apache License 2.0.
Install Buck and run the following:
git clone --recursive https://gerrit.googlesource.com/gerrit cd gerrit && buck build release
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.