commit | 01b5928ff1518f853f6fc9d2068a0381d6a17da2 | [log] [tgz] |
---|---|---|
author | Hermann Loose <hermannloose@google.com> | Mon Sep 20 10:36:50 2021 +0200 |
committer | Hermann Loose <hermannloose@google.com> | Mon Sep 20 10:36:50 2021 +0200 |
tree | 72db6b2292e9c20ea953fb62a749c06f2075d8c1 | |
parent | 25ab18b2acfa72bb30fd32f8101c1651a871f00d [diff] |
Support opening base and revision image in a new tab Note that opening / saving the image when the highlight layer is shown will still give only the highlight layer, not the underlying image plus highlight layer, which would likely require rendering both images into a canvas, which is more effort and makes the result less "pristine" than handing the user the original bytes we got for base and revision (although this last point might not be considered a problem). Another valid option would be setting `display: none` on the highlight layer when `showHighlight` is false. I am not sure how that interacts with hardware acceleration / memory, if quickly switching the highlight layer on and off would be slower than through changing opacity (which as far as I understand is very cheap and does not require repaints). Change-Id: I2d6b1fdb7f171409d1069a31b89936d22078f1d9
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 Developer Mailing list is repo-discuss on Google Groups.
Gerrit is provided under the Apache License 2.0.
Install Bazel and run the following:
git clone --recurse-submodules https://gerrit.googlesource.com/gerrit cd gerrit && bazel 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>]
On Fedora run:
dnf clean all && dnf install gerrit-<version>[-<release>]
Docker images of Gerrit are available on DockerHub
To run a CentOS 8 based Gerrit image:
docker run -p 8080:8080 gerritcodereview/gerrit[:version]-centos8
To run a Ubuntu 20.04 based Gerrit image:
docker run -p 8080:8080 gerritcodereview/gerrit[:version]-ubuntu20
NOTE: release is optional. Last released package of the version is installed if the release number is omitted.