commit | af6807f564e8d0de0cf7475dfa2d3f0235415d62 | [log] [tgz] |
---|---|---|
author | Yuxuan 'fishy' Wang <fishywang@google.com> | Wed Feb 10 15:11:57 2016 -0800 |
committer | Edwin Kempin <ekempin@google.com> | Mon Feb 15 09:18:09 2016 +0100 |
tree | b14077f23d70e874571a56f8081710e757fd2f4e | |
parent | d9cafb7ca2d9cc9250b2a6a8881a16581f217f59 [diff] |
CreateChange: Allow create change on new branch We currently disallow creating a new change through CreateChange endpoint against a non-existent branch, but we don't really have a problem with that (except for preventing typos). In this change, we split ChangeInfo into ChangeInfo and ChangeInput. Added a new new_branch field in ChangeInput, default to false to protect against typos, and when it's set to true, allow new change against a non-existent branch. Currently it's only implemented in the API, but not in the UI. Change-Id: I6e661f036b121a33de183c126b763d29b5f2bc93
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.