commit | 88678da40386b442f5371e944dc15d6e847b07ea | [log] [tgz] |
---|---|---|
author | Wyatt Allen <wyatta@google.com> | Mon May 23 17:18:43 2016 -0700 |
committer | Wyatt Allen <wyatta@google.com> | Thu May 26 12:02:29 2016 -0700 |
tree | 68a2237c6a028c88de1bf947374394ba03c18ef5 | |
parent | 41d9fa63c3c3cb53b6420f648805ab5d421ee981 [diff] |
Add support for images in diffs If gr-diff recognizes that the file difference it's representing is between images, it uses a different diff-builder that displays images in a side-by-side-manner. In this case gr-diff will also make requests for the image data itself, which it can pass down into the image-based diff-builder. Adds methods to gr-rest-api-interface to support rendering the data relevant to image diffs. For images that are revisions of the current change, provides "getChangeFileContents". For images that come from the parent tree (i.e. if the basePatchNum is "PARENT") the interface provides "getCommitInfo" to determine the SHA of the parent commit, and "getCommitFileContents" which can get file contents for a given commit. Bug: Issue 3822 Change-Id: I9be025b4e549fca97c87cdbeede6cb64dea5eac0
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.