Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 29 lines (28 sloc) 1.39 KB
#!/bin/sh
#
# Generate a list of everyone who has contributed to the project merging those who commited under two names or email addresses.
#
# To can pass an arg (which goes to git log)
# Example: to see everyone who contributed between tag 0.6 and now
# ./generateAuthors 0.6..HEAD
#
# Currently this is sorted based on # of commits, sorting contributions is not a simple topic
# as pointed out in this article http://lwn.net/Articles/222773/
#
git log --pretty="format:%an %ae" $1 \
| sed -e 's/smart2128 /Vincenzo Reale /g' \
| sed -e 's/buster\.xtense\.dyndns\.org/ts2server\.com/g' \
| sed -e 's/^cfchris6 /Christian Franke /g' \
| sed -e 's/^faw /Jakub Wieczorek /g' \
| sed -e 's/^LEW21 /Janusz Lewandowski /g' \
| sed -e 's/lew21@pecet.(none)$/lew21st@gmail.com/g' \
| sed -e 's/adam\.treat@torchmobile\.com/treat@kde\.org/g' \
| sed -e 's/torarnv@gmail\.com/tavestbo@trolltech\.com/g' \
| sed -e 's/bks@coldkeck2\.colorado\.edu/bks24@cornell\.edu/g' \
| sed -e 's/porphyr /Mark Reiche /g' \
| sed -e 's/vinx@zulu\.(none)/smart2128@baslug\.org/g' \
| sed -e 's/Matvey Kozhev/Maia Kozheva/g' \
| sed -e 's/kristof@localhost.(none)/kristof.bal@gmail.com/g' \
| sed -e 's/tavestbo@trolltech.com/tor.arne.vestbo@nokia.com/g' \
| sed -e 's/ariya.hidayat@trolltech.com/ariya.hidayat@gmail.com/g' \
| sort | uniq -c | sort -n -r | sed -e 's/^ *[0-9]* //g'