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 [email protected]).
> 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

_______________________________________________
OpenStack-Infra mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra

Reply via email to