pydanny / contributors

A command-line script to get all the contributors for one or more GitHub projects.
Other
33 stars 10 forks source link

Support for other social coding sites #15

Open jonafato opened 8 years ago

jonafato commented 8 years ago

It would be interesting to be able to point this tool at other sites in addition to GitHub. For example, BitBucket and GitLab both have APIs that cover most (if not all) of the functionality that GitHub's API does. Gitbucket aims to be API compatible with GitHub, so contributors may Just Work™ when pointed at a gitbucket deployment.

This feature could be added with a CLI option, e.g.

$ contributors --host gitlab example/project
$ contributors --host https://example.com/api/v1 --handler github example/project

The options would default to GitHub to match current behavior. The names of options / feature design are open for discussion. Would contributions adding this functionality be welcome?

pydanny commented 8 years ago

I use GitLab a lot so this would be a very useful feature. 😃