commit | f367b5d3aee7dc84e9be799646f4076d9db9a0d5 | [log] [tgz] |
---|---|---|
author | Dave Borowitz <dborowitz@google.com> | Tue Mar 08 20:45:44 2016 -0500 |
committer | Dave Borowitz <dborowitz@google.com> | Mon Mar 14 17:32:15 2016 +0100 |
tree | 10e5b0bd95152b03d83d1cb457f1d8b594d7a56f | |
parent | f531d0aeb90891c578c6ccafa6beab3f2629c7c0 [diff] |
Include a UUID portion in NoteDb author identities Author identities include per-server specific account IDs, so it is not safe to mix IDs from different servers. Ensure each server only ever produces identities with one ID during its lifetime, by writing out a random UUID to gerrit.config as gerrit.serverId. This happens during init, and optionally lazily during startup. For now NoteDb changes can be migrated between servers as long as this file is kept intact. Eventually, when federating changes between servers, we will need come up with some mechanism for coalescing various per-server identities into a single account, like the current AccountExternalId mapping (except not exactly that because Shawn regrets it). Such a mechanism will simply need to know how to handle this kind of UUID format. Change-Id: I9492c9c561892488703d15f7cde6094aa03f957b
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.