commit | f71b304786287f376ca8d348e3547e1c814b68b8 | [log] [tgz] |
---|---|---|
author | Dave Borowitz <dborowitz@google.com> | Tue Mar 29 14:41:15 2016 -0400 |
committer | Dave Borowitz <dborowitz@google.com> | Wed Apr 06 07:31:33 2016 -0400 |
tree | 927bb2e5c495060898749eb0d2bbbd916dfb757a | |
parent | 78fb87158dfaa0308f83e7882ea462c1525cd51f [diff] |
NoteDb: Consider starred changes part of the Accounts table A StarredChange is a simple pair of (Account.Id, Change.Id), and will ultimately be stored in NoteDb in the All-Users table. It turns out it is not even stored under the Change entity group in the googlesource.com backend, meaning among other things that starred changes can't be updated in the same transaction as a Change entity. Add a new value ACCOUNTS to the NoteDbTable enum and teach NotesMigration to understand this table. Note that in practice we've started migrating Accounts to All-Users without the use of NotesMigration, which is why we haven't done this yet. It's even possible that we will migrate StarredChanges in the same way, but that's a decision for later. This change is the minimal work necessary to stop considering StarredChanges part of the changes migration. Use the new migration bits within StarredChangesUtil. Remove support for starred changes from ChangeRebuilder (no longer applicable) and RebuildNoteDb (not implemented yet). Change-Id: I84fa8b78d308b7dcd6b7592cea8898a93135cd2c
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.