Note: this will be moved to repo-tools at some point.
How to collect conventional commit stats:
Install requirements.txt into your current virtualenv.
Install repo-tools (https://github.com/edx/repo-tools) into your current virtualenv.
(if needed) Create a directory called "edx"
cd into edx.
Clone the edx org:
$ clone_org edx
Update all the repos:
$ gittree "git fetch --all; git checkout \$(git remote show origin | awk '/HEAD branch/ {print \$NF}'); git pull"
cd ..
Delete the existing commits.db file, if any.
Collect commit stats. Consider every edx repo, ignore the ones ending in "-private", and include all the ones that have an openedx.yaml file:
$ python commitstats.py --ignore='*-private' --require=openedx.yaml edx/*
Now commits.db is a SQLite database with a table called "commits".
Draw a chart:
$ python plotit.py