commit | 5b52df68c78cc2a7cff373535bb85467ce0040ff | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Fri Oct 21 09:45:22 2016 +0200 |
committer | Edwin Kempin <ekempin@google.com> | Fri Oct 21 16:17:40 2016 +0200 |
tree | a7a31a0f12da9bf5a4b6123f211dd261ca952e8b | |
parent | 87f4b1d61a04d4f0750d8c82ad06066e5a23422b [diff] |
Include labels in change query results if submit record is not stored in index If a server has an old change index where the STORED_SUBMIT_RECORD_LENIENT field is not present yet, the change info entities returned from change queries miss the labels field when DETAILED_LABELS or LABELS are requested. Due to this the UI doesn't show any labels in change lists. This issue was introduced by change Ie8a185 which stored the submit records in the index, but didn't allow lazy loading of the submit records if they were missing in the index. Fix this by lazy loading the submit records when DETAILED_LABELS or LABELS are requested, but the index is still missing the stored submit records. This logic is only needed temporarily to allow online migrations at Google. Once all Gerrit instances at Google have been upgraded and use the new index version this code is no longer needed. Bug: Issue 4802 Change-Id: I0faa5244bd974a35cbd4e99ac27adcaa4c20a4d1 Signed-off-by: Edwin Kempin <ekempin@google.com>
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.