[OpenStack-Infra] [Gerrit] Can't add you as a reviewer

Antoine Musso hashar at free.fr
Thu Apr 25 07:54:31 UTC 2013


Le 24/04/13 23:32, Monty Taylor a écrit :
>> > Monty, if it makes a difference, I merged lp ids recently, and made this
>> > my primary (instead of sdague at linux.vnet.ibm.com).
> So - we're not syncing lp and gerrit any more. If you changed lp ids, I
> believe you now need to do something specifically with gerrit...

Hello,

Sadly Gerrit does not support renaming users :(  Wikimedia has a bug
report about it and even propose a way to alter the database manually:

 https://bugzilla.wikimedia.org/show_bug.cgi?id=40061

Apparently it it would be:

update accounts set full_name = "New Name" where full_name = "Old Name"
update account_external_ids set external_id = "gerrit:New Name" where
external_id = "gerrit:Old Name"

That was with Gerrit 2.4, I am not sure we renamed any user though.


Another way is to merge the accounts as described at:

 http://code.google.com/p/gerrit/wiki/SqlMergeUserAccounts

That does not look nice though :)

-- 
Antoine "hashar" Musso



More information about the OpenStack-Infra mailing list