Page MenuHomePhabricator

Rename gerrit account `dannys712-main` to `dannys712`
Open, Needs TriagePublic


Not sure the history behind why it is named dannys712-main, but please rename my gerrit account

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

The Gerrit accounts metadata are stored in the repository All-Users.git and one can check them by fetching (authenticated over ssh) and checking out the special reference refs/users/self. So something like:

git clone ssh://All-Users.git
cd All-Users
git fetch refs/users/self

Which gives:

	fullName = DannyS712
	preferredEmail = xxxx@xxxx.tld

The associations with the LDAP accounts are stored under refs/meta/external-ids (which might require Administrative rights in order to be fetched). Anyw``ay there are two external accounts associated to that Gerrit account:

[externalId "gerrit:dannys712"]
	accountId = 6729
	email =
[externalId "username:dannys712-main"]
	accountId = 6729

None of the external links have been changed since February 2019 and they correspond to respectively:

Apparently due to a rename done via T215092. When renaming an account on Wikitech, we keep the old one around (DannyS712-abandoned and have it blocked). Maybe we need to then drop that external link?