commit | 5e269758e8dd645f92f3c34ac6802282d1d6bbe3 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Fri Aug 12 11:56:41 2016 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Fri Aug 12 12:03:42 2016 +0900 |
tree | 2c41fb2ccfeb7efb34b3201498a28ec143e5e911 | |
parent | 96dd7e15e260dc525d47f38a1cbd162bfe8b7f22 [diff] |
AccountManager: Don't try to change username that is already set Since change I2c0f26bb4 it is not possible to change the username after it has been set. Attempting to do so results in an exception. This situation can occur for example if `ldap.accountSshUserName` is set in the `gerrit.config` using `${userPrincipalName.localPart}` to initialize the username from the user's email address. If the user's email address changes after their first login, the username resolved by `accountSshUserName` will change. Then on subsequent logins, when AccountManager tries to change it to the new value, an exception is thrown and the user is not able to log in. Instead of attempting to change the username, log a warning. Change-Id: Ie9d3501b2c386990c8439b3c7a9aae06cf51013b
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.