x/build/cmd/gopherbot: fix Gerrit reviewer email addresses #35078
I have three main email addresses (gmail.com, golang.org, google.com), with three corresponding Chrome identities/Google accounts.
So do many others on the Go team. (Or at least two)
And because I've clicked links to Gerrit reviews while signed into each of the three, Gerrit has helpfully signed me in & made an account for me.
Which then means my name shows up in the autocomplete list for "bradfitz" in three ways.
It's distracting when I get reviews to the wrong email account.
This just bit @ianlancetaylor too.
I realized we could just have a mapping table and make gopherbot fix the reviewers if it sees a wrong one added by mistake.
The text was updated successfully, but these errors were encountered:
I've run into this too. I've worked around it by changing the name and status in my unwanted Gerrit profile to be the string "DO NOT USE":
It has been effective in that I haven't had any reviews sent to it since then.
Here's how it looks in Gerrit's autocompletion UI:
I think this Gerrit behavior is very unfriendly, especially since there's no way to delete or deactivate the account after it is created. We should file a bug/feature request against Gerrit to be able to resolve this problem more generally, rather than just for the Go project. And one less thing we have to maintain ourselves.
I imagine we can add a new field like
There are some existing ones:
Those who are interested in this Gerrit problem being resolved should leave a "star" on the relevant issues to indicate interest, so that they are better prioritized.