commit | a5979d53989a3f8a6b8b00487de85f51dd7d2ee0 | [log] [tgz] |
---|---|---|
author | Andrew Bonventre <andybons@chromium.org> | Mon Aug 15 17:30:55 2016 -0700 |
committer | Andrew Bonventre <andybons@chromium.org> | Tue Aug 16 15:20:42 2016 -0700 |
tree | 0ef7d2030e43c6eade22855f2f63ce4a37d21cd1 | |
parent | 93a4c8e42d5204664f0ddc93388043d77acd17a6 [diff] |
Don’t allow client to cache PolyGerrit index.html The top-level index should never be cached on the client since it’s lightweight and points to the latest versions of the gr-app resources. This was causing issues where users were seeing stale versions of PolyGerrit because this page was being cached. It should be noted that the _server_ should cache the index.html file indefinitely, and that this change introduces a potentially confusing parameter since “cache” is used both in the context of the in-memory cache of the binary and also the user’s browser cache. Bug: Issue 4403 Change-Id: I70543aceedd5eea00ba9ee5123f16aaffb1f935c
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 IRC channel on freenode is #gerrit. An archive is available at: echelog.com.
The Developer Mailing list is repo-discuss on Google Groups.
Gerrit is provided under the Apache License 2.0.
Install Buck and run the following:
git clone --recursive https://gerrit.googlesource.com/gerrit cd gerrit && buck 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>]
NOTE: release is optional. Last released package of the version is installed if the release number is omitted.