commit | 91f808283770828eb7f915de9e061f471d215426 | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Mon Aug 22 08:53:52 2016 +0200 |
committer | Edwin Kempin <ekempin@google.com> | Mon Aug 22 09:00:21 2016 +0200 |
tree | e9b2f564c3af59d8e67dad2a0530c25db705441b | |
parent | e7d4a5a8756074c7ad86405b00bf987cddc04de2 [diff] |
Add tests for pushing commit with footer of other user Sometimes commits with footers of other users are pushed for review, e.g. when cherry-picking commits. For certain footers, e.g. 'Reviewed-by', the user from the footer should be added as CC 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: I4b8d69fd2e71e82775f17daa50542e29f5db06f8 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.