A tool to generate a list of contributors from a specific range of commits
MIT License
A tool to generate a list of contributors from a specific range of commits
npm install gh-contrib-list
In code:
var ghContribList = require('gh-contrib-list');
ghContribList(options);
Returns a Promise with an array of contributors. Each contributor has the following properties:
id
- Github username of the contributorname
- Full name of the contributorcommitCount
- Number of commits the person has contributeduser
- The user or organization (required)repo
- The repository name (required)commit
- A commit SHA to run the query from (commits including and after this one will be used) (required)oauthKey
- If one is provided it will be used when making Github API requeststo
- If another commit SHA is provided here the commits used will be between the commit
option and this one.removeGreenkeeper
- If this is set to true, any commits by Greenkeeper will be automatically removed.retry
- If this is set to true, the request will be retried in the event that the Github API returns a 202 status (retry momentarily).This script is heavily based on top-gh-contribs.