simpleinfra
simpleinfra copied to clipboard
dev-desktop: automatically add git config username&email for all gh users
We can grab all this information from their profile (using the github email address that anonymizes your actual email address)
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.
we could scrape the info from the mailmap? XD
Also see https://github.com/rust-lang/simpleinfra/pull/110
Not sure how much of a problem users manually setting it would be though.
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.