Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
including contributor e-mail addresses when their names aren't known #824
Every once in a while I commit a patch from someone whose real name is unknown. Either I know their e-mail or their github name, which I turn into an e-mail the github recommended way
So I would like to give these people proper credit. I think having them in the repo for the -by line is proper credit but then they aren't in the contributor list. Is that an oversight? I don't know how people with unknown real names would feel about having their e-mails in the contributor list (maybe easier for spam harvesting?) but in the case of github users we could put it in like
It is sort of made on purpose. If people don't provide a name, I see that as a sort of statement that they're not using a name and then they can't be referred to by name. People tend to be bit wary of having their email addresses showing up at places (for spam reasons) so simply inserting the full email might not be what these people would like either. Back in the day I used to email these people and ask them how they would like to be given credit for their help, but these days I often just let them not end up in the THANKS file. Right or wrong.
We similarly exclude aliases and nicknames. I've sort of gotten the idea that people use aliases and nicknames because they don't want to use their name so I've not added such names either. Also because aliases are even less unique than real names so the alias of today may not be the same person that used that alias a year ago...
For users at known sites like github, saying "jveazey at github" seems fine enough but I'm not sure how we'd deal with other domains...
This lists 12 users that are email only. 10 of them on github, so maybe we should just make the script handle github emails...
so how about
diff --git a/scripts/contributors.sh b/scripts/contributors.sh index 8838610..5ebac1c 100755 --- a/scripts/contributors.sh +++ b/scripts/contributors.sh @@ -50,7 +50,7 @@ cut -d: -f2- | \ cut '-d<' -f1 | \ tr , '\012' | \ sed 's/ and /\n/' | \ -sed -e 's/^ //' -e 's/ $//g' +sed -e 's/^ //' -e 's/ $//g' -e 'firstname.lastname@example.org$/ \(github\)/' grep "^ [^ \(]" RELEASE-NOTES| \ sed 's/, */\n/g'| \