https://github.com/tarao/oss-contributions
List OSS contributions of users or organization members
https://github.com/tarao/oss-contributions
github
Last synced: 3 months ago
JSON representation
List OSS contributions of users or organization members
- Host: GitHub
- URL: https://github.com/tarao/oss-contributions
- Owner: tarao
- License: mit
- Created: 2020-08-03T11:54:25.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-18T18:59:19.000Z (about 3 years ago)
- Last Synced: 2023-03-04T05:38:36.719Z (almost 3 years ago)
- Topics: github
- Language: Ruby
- Homepage:
- Size: 43 KB
- Stars: 17
- Watchers: 1
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
oss-contributions
=================
List OSS contributions (GitHub repositories) of specified users.
```
Usage: GITHUB_TOKEN=xxxx bundle exec ruby oss_contributions.rb [OPTIONS] [...]
Options:
-u, --user=USER User whose contribution is analyzed. Use this option multiple
times to specify more than one user.
-o, --organization=ORGANIZATION Organization whose members are added to --user option.
-f, --from=YYYY-MM-DD Date from when to start enumerating contributions.
-t, --to=YYYY-MM-DD Date to when to stop enumerating contributions.
-m, --min-stargazers=NUM Exclude repositories which have stargazers less than this
value.
-c, --contribution-only Exclude contributions by the repository owner.
-i, --include-personal By default, repositories which only have contributions by their
owners are excluded. Specify this option to include them.
-s, --sort=ORDER The order of repositories and contributors. The following
values are available.
max-contribution
Order by pull-requests, commits, reviews, issues,
contributors, role, stargazers with taking maximum values of
criteria among contributions in a single repository.
total-contributions
Order by pull-requests, commits, reviews, issues,
contributors, role, stargazers with taking the sum of each
criterion among contributions in a single repository.
total-contributors
Order by contributors, role, pull-requests, commits,
reviews, issues, stargazers with taking the sum of each
criterion among contributions in a single repository.
stargazers
Order by stargazers, contributors, role, pull-requests,
commits, reviews, issues with taking the sum of each
criterion among contributions in a single repository.
This is the default value in case no --sort=ORDER is
specified.
, ...
Order by comma separated criteria.
Available criteria:
commits
contributors
issues
pull-requests
reviews
role
stargazers
-r, --render=TEMPLATE Template file (.erb) to generate the output. JSON value is
printed without this option.
```
Example
-------

See [#1](https://github.com/tarao/oss-contributions/issues/1) for a complete example.
License
-------
MIT