Generate a list of recent (possible) new contributors to a GitHub project
(Extracted from http://github.com/rvagg/iojs-tools)
The default number of days of history to inspect is
7, this can be changed with the
The default organisation and repository pair is
node/nodejs but this can be overridden by supplying the pair as an argument, e.g:
new-contributors will load the git history of the repository in the current working directory, collecting email addresses of contributors up to
<days> ago. It will also attempt to load a
.mailmap file as it existed
<days> ago, if it exists. Pull requests created since
<days> ago are then analysed and the git email addresses of each of the contributors are compared to the existing contributors as per the git log and and
.mailmap entries. Any addresses that are new indicate a possible new contributor. The output consists of a list of pull requests and the names and addresses of the authors.
$ new-contributors --days 4Loaded 4 days old /Users/rvagg/git/nodejs/node/.mailmap with 159 entries...Found 884 email addresses in git log up to 4 days ago for /Users/rvagg/git/nodejs/node...Checking 21 pull requests for nodejs/node...New contributors for the last 4 days:NUMBER CONTACT TITLE URL#4269 Martin von Gagern <firstname.lastname@example.org> Fix deprecation message for ErrnoException#4263 Hideki Yamamura <email@example.com> doc: fix improper http.get sample code in http.markdown#4234 Vitor Cortez <firstname.lastname@example.org> doc: clarify explanation of first stream section#4231 Vladimir Krivosheev <email@example.com> v8 remote debug: export BreakEvent, BreakPoint and CompileEvent
new-contributors is Copyright (c) 2015 Rod Vagg @rvagg and licenced under the MIT licence. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE.md file for more details.