Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/gopherbot: compare Gerrit users by email only
maintner represents Gerrit users via its underlying low-level git author representation, such as: Foo Bar <GerritUserID@GerritServerID> The server ID represents the Gerrit instance and doesn't change. The user ID uniquely identifies a Gerrit user on the Gerrit instance. However, Gerrit is not consistent about the name it uses. Sometimes it's the actual name, but other times it's "Gerrit User <NumericID>". For example, both of these forms come up: Dmitri Shuralyov <6005@62eb7196-b449-3ce5-99f1-c037f21e1705> Gerrit User 6005 <6005@62eb7196-b449-3ce5-99f1-c037f21e1705> Fix the author comparison logic in unwaitCLs task by comparing only the git email of Gerrit users. Fixes golang/go#30172 Change-Id: Ib193de844ecc6212723344765fc920bc08d906a4 Reviewed-on: https://go-review.googlesource.com/c/161977 Reviewed-by: Brad Fitzpatrick <[email protected]>
- Loading branch information