Script to gather metrics about how the teams are functioning and how the community is contributing.
- set your GitHub API token as an environment variable
export GITHUB_TOKEN='your_token'
- Configure your teams in the teams.json file
- run the script using
python3 metrics.py
This script makes the following assumptions
- You're using GitHub teams to indicate who is a team member and who is an external contributor.
- New bugs get the label
needs-triaged
to indicate the bug has not yet been reviewed by the team. Once the review has occurred, the label should be removed.
Requirements
pip3 install python-dateutil
pip3 install PyGithub