by

In an effort to do a better job at thanking the Appcelerator community for their contributions to our Open Source projects like Titanium and Alloy I have created a small NodeJS package called git-heroes.

Existing solutions

Of course I did have a look at existing solutions like contributors and git-contributors and even submitted a PR to the last to add at least one of the two features I didn’t find in any of them.

  • Specify a revision range to get contributors for, e.g. a specific release.
  • Get stats on actual added and deleted lines instead of only number of commits.

Sample

With git-heroes you can do both. See git-heroes -h for full usage, but as an example here are our heroes for the upcoming Titanium 5.1.0 release:

$ git-heroes -c 5_1_X -p 5_0_2_GA -n

name (16) email commits (255) added (176061) deleted (347769) sum (523830) diff (171708)
Chris Barber chris@cb1inc.com 43 146762 255795 402557 109033
sgtcoolguy chris.a.williams@gmail.com 11 8588 88800 97388 80212
Pedro Enrique pedro.tma@gmail.com 13 6122 207 6329 5915
Feon Sua feonsua@Feons-MacBook-Pro.local 13 5418 30 5448 5388
Hans Knoechel hans.knoechel@hs-osnabrueck.de 75 3026 1449 4475 1577
Hieu Pham hpham@appcelerator.com 13 2285 447 2732 1838
Ben Hatfield bhatfield@appcelerator.com 11 1340 441 1781 899
Ben Bahrenburg ben.bahrenburg@gmail.com 13 994 195 1189 799
Ashraf msamah@appcelerator.com 13 905 114 1019 791
cheekiatng cng@appcelerator.com 26 351 193 544 158
AngelkPetkov apetkov@appcelerator.com 13 226 62 288 164
Manoj Kumar mano.mykingdom@gmail.com 2 22 20 42 2
Fokke Zandbergen mail@fokkezb.nl 5 10 8 18 2
Manuel Lehner manuel.lehner@goyya.com 2 9 5 14 4
Kota Iguchi developer@infosia.co.jp 1 2 2 4 0
Praveen Innamuri pinnamuri@appcelerator.com 1 1 1 2 0