commit | 78f9c378063e4f9bf8d3413a5b23c9c0b4d1ecbb | [log] [tgz] |
---|---|---|
author | Ben Rohlfs <brohlfs@google.com> | Mon Oct 30 12:41:53 2023 +0100 |
committer | Ben Rohlfs <brohlfs@google.com> | Mon Oct 30 14:35:43 2023 +0100 |
tree | dc5750405dc9d59ba80c21babb3bba30274d69c3 | |
parent | 808d1f00b9bd324a98c5bb854049b0589cad21dc [diff] |
Manage gr-diff columns in the model This changes all diff components that render <td> or <col> elements. Instead of each component figuring out which of the 7 diff table columns should currently be shown, let the diff model handle that centrally. We believe that this also fixes issues that have not yet surfaced, just because `blame` is typically not used along with `move control`. This also allows us to remove some magic `display:none` rules from the css styles. Instead the Lit renderer does not render the columns at all. That should also have some performance and memory advantages. This also brings us a little close to being able to replace the `table` layout by a `grid` layout. Release-Notes: skip Change-Id: Id4faeca96adff79773a783606c454fb8f3288958
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.