Aggre-Git
Report on aggregated Github activity data, based around PRs and users within your organization
- Report on historical Github activity for your user or organization.
- Reads from the Github REST API, accessed through a Python library called PyGithub - see homepage and Github repo.
Purpose
This project reports on data from the Github API. It creates PR report and a commit report CSV using input parameters.
The project uses the V3 REST API, which works fine for light reporting. But performs poorly at scale - for a commit report on a given branch, it takes 5000 requests to fetch 5000 commits. That is slow to run and also means you are likely to exceed the API rate limit of 5000 requests per hour.
Therefore if you want to do reporting at scale, use this other project instead. It makes use of the Github V4 GraphQL API so scales well.
Documentation
See the following within the docs directory:
For collaborators - if you want to make the project better, see the contribution guidelines.
For info on the PyGithub library, go to their docs and their examples of library usage.
License
Released under MIT.