Gerrit Stats is a tool used for Gerrit stats via Gerrit API.
- python >= 3.7
pip install -U pywin32
pip install -U pyinstaller
pip install -Ur requirements.txt
pyinstaller --clean --name gerritstats -F stats.py
pip install gerritstatspip install gerritstats --upgradegerritstats --config-file config.json --gerrit-query "since:2020-06-01 until:2020-06-02" --output-file output.jsonGerrit Stats parameters can be set in the directory config.
An example of configuration in config.json:
{
"gerrit": {
"host": "localhost:80",
"pass": "pass",
"query": {
"option": ["CURRENT_REVISION"]
},
"user": "user"
}
}
Project License can be found here.