commit | 429926afc71cf3de27497e952d891d4955d55c4f | [log] [tgz] |
---|---|---|
author | Youssef Elghareeb <ghareeb@google.com> | Fri Oct 23 13:19:43 2020 +0200 |
committer | Youssef Elghareeb <ghareeb@google.com> | Fri Nov 20 15:47:42 2020 +0100 |
tree | d79c5b6cd9f95525cad7f37c58f03d8b523b1aac | |
parent | 332d171ec3d92cbb48349161c4540d1a64f525d3 [diff] |
Move some of the old diff cache entities to a new package In this change, we create a new package com.google.gerrit.server.patch.filediff and moved some of the old diff cache entities to it. These entities (mainly the EditTransformer) will be used in the next follow up change by the "File Diff" cache, which will be added to the same package. The other moved entities (Edit, FileEdtis, PatchListLoader) are also moved to the new package because they are used by EditTransformer. Some access modifiers were temporarily changed from package private to public because they depend on classes in com.google.gerrit.server.patch. Note that the PatchListEntry.java and PatchListLoader are implementations of the old diff cache and should be deprecated after the redesign. Change-Id: I5830d57f6cbabefc4604036b58752836673657a5
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.