commit | 12fbf41e95c3cd46fc2a8986a719c3f3cd4d742c | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Thu Jan 21 14:51:10 2016 +0100 |
committer | Edwin Kempin <ekempin@google.com> | Fri Jan 22 15:39:14 2016 +0100 |
tree | 3fdc26a4d7e5f07b73584b4c45f274a6734705f3 | |
parent | e8618b8e55eeaa55482abf6a8c53dbb2de0744ef [diff] |
Store subject and original subject in notedb This adds a 'Subject' footer to the commit message of the refs/changes/XX/YYYY/meta notes branch when the change is created and whenever a new patch set with a different subject is added. The current subject is taken from most recent commit on the notes branch that contains a 'Subject' footer. The original subject is taken from the first commit on the notes branch. Tests which manually insert new changes must be adapted so that the initial commit to the notes branch contains the subject. In order to set the 'Subject' footer only when the subject was changed, we must compare the new subject to the old subject when a new patch set is inserted. To be able to access the old subject when a a new patch set is created, PatchSetInserter must ensure that the body of the commit was parsed. Otherwise the subject would not be available and trying to get it would fail with a NullPointerException. Change-Id: I71bfe88e16c3e0b41530f399441b16e2cd44f59e 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.