Skip to content

Commit

Permalink
internal/gophers: remove GitHubOfGomoteUser
Browse files Browse the repository at this point in the history
The new gomote SSH implementation doesn't rely on knowing the user's
GitHub account and its public SSH keys, there's no more need for the
GitHubOfGomoteUser function and its maintenance.

For golang/go#54735.
For golang/go#47521.

Change-Id: Ic35ad254d8cf8bbd0ef652bedbec7e6222bb1cd9
Reviewed-on: https://go-review.googlesource.com/c/build/+/499595
TryBot-Result: Gopher Robot <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>
Run-TryBot: Dmitri Shuralyov <[email protected]>
Auto-Submit: Dmitri Shuralyov <[email protected]>
Reviewed-by: Carlos Amedee <[email protected]>
  • Loading branch information
dmitshur authored and gopherbot committed May 31, 2023
1 parent e0a88d0 commit 756b7f5
Showing 1 changed file with 0 additions and 59 deletions.
59 changes: 0 additions & 59 deletions internal/gophers/gophers.go
Original file line number Diff line number Diff line change
Expand Up @@ -3228,62 +3228,3 @@ func init() {
addPerson("沈涛", "[email protected]", "@smileusd")
addPerson("祥曦 徐", "[email protected]", "28434@62eb7196-b449-3ce5-99f1-c037f21e1705")
}

// GitHubOfGomoteUser returns the GitHub username for the provided gomote user.
func GitHubOfGomoteUser(gomoteUser string) (githubUser string) {
switch gomoteUser {
case "amedee":
return "cagedmantis"
case "austin":
return "aclements"
case "cbro":
return "broady"
case "cherryyz":
return "cherrymui"
case "cmang":
return "paranoiacblack"
case "dneil":
return "neild"
case "drchase":
return "dr2chase"
case "gri":
return "griesemer"
case "hakim":
return "hyangah"
case "herbie":
return "cybrcodr"
case "iant":
return "ianlancetaylor"
case "jbd":
return "rakyll"
case "joetsai":
return "dsnet"
case "jrjohnson":
return "johnsonj"
case "khr":
return "randall77"
case "lazard":
return "davidlazar"
case "mpratt":
return "prattmic"
case "pjw":
return "pjweinbgo"
case "r":
return "robpike"
case "rakoczy":
return "toothrot"
case "rstambler":
return "stamblerre"
case "sameer":
return "Sajmani"
case "shadams":
return "adams-sarah"
case "spf":
return "spf13"
case "valsorda":
return "FiloSottile"
case "bracewell":
return "rolandshoemaker"
}
return gomoteUser
}

0 comments on commit 756b7f5

Please sign in to comment.