commit | c2c108c7a404051dd51f317352ded9e0e5a5650d | [log] [tgz] |
---|---|---|
author | Patrick Hiesel <hiesel@google.com> | Thu Jul 23 09:54:22 2020 +0200 |
committer | Patrick Hiesel <hiesel@google.com> | Tue Aug 11 14:51:49 2020 +0200 |
tree | de28e03502a7824932815adaf0bce9c78d13c6f3 | |
parent | e2e28974a696e0e82dfde30b1a2eca82df742d2b [diff] |
Persist ProjectCache This commit splits the 'projects' cache into two pieces: 1) The 'projects' cache: This cache continues to work as it did before. It offers a by-name caching without the need to present or load the ObjectId of refs/meta/config. 2) The 'persisted_projects' cache: This cache is the persisted variant of 'projects'. It's used in the loader for 'projects' and - as all persisted caches - has the ObjectId in the key. This new setup allows admins to persist the project cache - if desired - to ease cold start times. This is an additional performance improvement next to ProjectCacheWarmer. It might at some point replace ProjectCacheWarmer. For now, the two co-exist. The split is done in this way to make sure we can still access projects in the cache without loading a SHA1 for each lookup as that would be prohibitively slow given the amount of requests this cache serves. Change-Id: I174076acd90ae815ac66e1e0f8a72db0701bf2d3
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.