commit | 3f644c5ccec0c2fbda3cf5255b140b0f8aebe6de | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Fri Aug 19 17:10:20 2016 +0200 |
committer | Edwin Kempin <ekempin@google.com> | Mon Aug 22 08:23:55 2016 +0200 |
tree | 2d693c0721287a8cbaecd6aa49dde3d3fe53126f | |
parent | dd884f9e3bbe1ea8d45d37fa3cf450102dec3cef [diff] |
Add tests for pushing commit of other user Sometimes commits of other users are pushed for review, e.g. when cherry-picking commits that were authored by other users. In this case the other user should be added as reviewer and be notified by email. However if the commit is pushed to a restricted branch that is not visible to the other user, there should be no notification to the other user. If the other user cannot see the change it would be a security issue if an email notification that contains code changes is sent. Add tests for both cases. Change-Id: I4ab3fc7317e93e507d6f2253b0bfcd6caf712ae9 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.