Gerrit Stats
Project description
Gerrit Stats
Gerrit Stats is a tool used for Gerrit stats via Gerrit API.
Requirement
- python (3.7+)
- pip
- python-dev
Installation
On Ubuntu / Mint, install Gerrit Stats with the following commands:
apt update
apt install python3-dev python3-pip python3-setuptools
pip install gerritstats
On OS X, install Gerrit Stats via Homebrew (or via Linuxbrew on Linux):
TBD
On Windows, install Gerrit Stats with the following commands:
pip install -U pywin32
pip install -U pyinstaller
pip install -Ur requirements.txt
pyinstaller --clean --name gerritstats -F stats.py
Updating
pip install gerritstats --upgrade
Running
gerritstats \
--config-file config.json \
--gerrit-query "since:2020-06-01 until:2020-06-02" \
--output-file output.json
Setting
Gerrit 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"
}
}
License
Project License can be found here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gerritstats-1.0.0.tar.gz
(11.1 kB
view hashes)
Built Distribution
Close
Hashes for gerritstats-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7963d3494984410553009b26df7c2ad1bcebe9d92ca4b4a0de14611c7de41bd |
|
MD5 | 909d16b75a016d17f7d06d427ac2859f |
|
BLAKE2b-256 | b659f560b8ba5fa67572dd574e9d20dc249aea7580da2a9e529a02fe4ab00aa0 |