commit | 61003e99cee563caf0668045c9989047fc919c0b | [log] [tgz] |
---|---|---|
author | Dave Borowitz <dborowitz@google.com> | Tue Jul 07 20:02:08 2015 -0700 |
committer | Dave Borowitz <dborowitz@google.com> | Thu Jul 09 15:11:06 2015 -0700 |
tree | 49565d90c7ffa12a3bbe2974076ac949b04c9f70 | |
parent | 71df11c62fd2d7eabdc77b3c895c0b731bf76fcd [diff] |
Refactor signed push support Separate out classes for reading public keys from a repository; checking the public keys; and checking push certificates. This minimizes the amount of Gerrit-specific code which needs to go in the actual pre-receive hook, and makes testing much more feasible. Add lots of tests. When verifying a signature, iterate over all possible keys to find one that can verify the signature, and only then check the key. Move these various classes into a "gpg" subpackage. We use gpg rather than pgp (as Bouncy Castle does) for consistency with C git, which refers to its OpenPGP support consistently as "gpg". Written with a minimum of dependencies (e.g. no Guava or AutoValue) for ease of upstreaming into JGit. Change-Id: I88588a2d33a5e9ea3a75900a0db6ab07269826e8
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 all
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.