commit | 714c8b960c113c64c43feee5e6f21c9e00da206c | [log] [tgz] |
---|---|---|
author | Ben Rohlfs <brohlfs@google.com> | Wed May 10 12:07:17 2023 +0200 |
committer | Ben Rohlfs <brohlfs@google.com> | Mon Jul 03 16:14:47 2023 +0200 |
tree | 62ea1223e8f83285255ca82e76c12df4b45c1972 | |
parent | 93b1318ccab4c4930c07632a477dcb72fd543f19 [diff] |
Move comment awareness into gr-diff-row Only render comment slots when we know that a comment for that line exists. Move rendering of `gr-ranged-comment-hint` into the diff row. Reducing the node observer magic in gr-diff is one of the refactoring goals here. We are making one tiny sacrifice here: If there are multiple comments on one line, then we show the hint for long comments on top of all comments instead of directly before the relevant comment: https://imgur.com/a/w571R0m Bringing this feature back would mean that we need to take control over the slot attribute and create one slot element for each comment. But I am leaving this for later. Release-Notes: skip Change-Id: I94e0701b1cfa620d44aeabde99f0f2dc5338070a
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.