commit | 0265937f446190a0cbf3f165339452168e1cfe26 | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Sat Jan 16 15:21:15 2016 +0100 |
committer | David Pursehouse <david.pursehouse@sonymobile.com> | Wed Jan 20 01:10:38 2016 +0000 |
tree | 3324d14ef06006d7ae6e87275e7bbd9cc4e47e89 | |
parent | 0300e1344eded0f23bed3d039402241dd0824cbc [diff] |
Schema_113: Fix push certificate column type I519240547 extended patch sets table with push certificate column to store push certificate that was used in ReceiveCommits. But the column type was too small for PGP certificate description. Extend the column from VARCHAR(255) to CLOB, as used in the account table ssh key column. Given that the problem was discovered after 2.12 was already released, and following the rule that we do not support DB schema migration on stable release branches, this diff doesn't perform a schema migration. Instead we will add this warning in the 2.12.1 release notes: WARNING: If you already upgraded to 2.12, you would need to issue this SQL statement manually (e.g. using `ssh host gerrit gsql` SSH command): alter table patch_sets modify push_certficate clob Note that the misspelled "push_certficate" is the actual name of the column. The column cannot be renamed due to the fact that we cannot run a migration. Change-Id: I495ed0e1330811f12f082cce6b595c0cd67edabf
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.