The goal of Gitribution 2 is to extract data from our repo commit history in a format that can be used by Mozilla's Project Baloo. We currently have over 1,000 repos on Github.
We are using this custom tool to query the API, rather than githubarchive.org because we want to capture commit history for repos that start elsewhere, but then get moved into the various Mozilla organization accounts - this is a common workflow for repos, and valuable contribution activity would be missed if we only tracked the push and pull events.
Looks at the people (github logins) involved in:
- commits
- node
- heroku toolbelt
- mysql db
See script in sql/create_table.sql
For local dev, copy sample.env to .env and add credentials Set equivilent environment variables on Heroku
to_track.js
foreman start fetchcommits
foreman start fetchprs
foreman start fetchissues
or
heroku run fetchcommits
heroku run fetchprs
heroku run fetchissues