commit | e7e32ee8c25da6d7abb2c0bf008487a2aa63e757 | [log] [tgz] |
---|---|---|
author | Ben Rohlfs <brohlfs@google.com> | Mon Feb 12 11:37:24 2024 +0100 |
committer | Ben Rohlfs <brohlfs@google.com> | Tue Feb 13 10:04:06 2024 +0100 |
tree | 9a65c148cfeb5ae65f7b01f1d20713db057d99cf | |
parent | 5a75440d3452ffdee104144654c3822a52bae3c4 [diff] |
Add a simplified version of the DiffProcessor Rendering is controlled by Lit, so we don't need a sophisticated diff processor that breaks up its work into multiple steps or large diff chunkts into smaller ones. Guard the new processing by a rendering preference flag. The second patchset of this change is the copy of the original diff processor, so maybe reviewing the change is easier when diffing against patchset 2. Even for very large files with lots of diff chunks the simplified diff processing took only 6 milliseconds. So while we have opted for a controlled flag based rollout we don't actually anticipate any negative effect. :-) Release-Notes: skip Google-Bug-Id: b/285911793 Change-Id: I7b1e58c9d4d05b55ac94ec9cf7276d41c782a376
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.