simpleinfra icon indicating copy to clipboard operation
simpleinfra copied to clipboard

dev-desktop: automatically add git config username&email for all gh users

Open oli-obk opened this issue 3 years ago • 3 comments

We can grab all this information from their profile (using the github email address that anonymizes your actual email address)

oli-obk avatar Jul 11 '22 13:07 oli-obk

Many contributors don't use a github-anonymized email address today, and today I believe would get an error on first commit, whereas in the future would silently use the 'wrong' email; it's likely to add a lot of churn to our mailmap file (or would need support in rust-lang/thanks) if we do this.

Mark-Simulacrum avatar Jul 11 '22 13:07 Mark-Simulacrum

we could scrape the info from the mailmap? XD

oli-obk avatar Jul 11 '22 14:07 oli-obk

Also see https://github.com/rust-lang/simpleinfra/pull/110

Not sure how much of a problem users manually setting it would be though.

pietroalbini avatar Jul 17 '22 11:07 pietroalbini

https://github.com/rust-lang/simpleinfra/pull/110 has been merged and setting the Git username and email is now part of the init.sh script.

jdno avatar Jan 05 '23 12:01 jdno