Gerrit Stats
Gerrit Stats is a tool used for Gerrit stats via Gerrit API.
Requirement
- python >= 3.7
Build
pip install -U pywin32
pip install -U pyinstaller
pip install -Ur requirements.txt
pyinstaller --clean --name gerritstats -F stats.py
Installation
pip install gerritstats
Update
pip install gerritstats --upgrade
Run
gerritstats --config-file config.json --gerrit-query "since:2020-06-01 until:2020-06-02" --output-file output.json
Settings
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.
Release files for gerritstats 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gerritstats-1.1.0.tar.gz | 9.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gerritstats-1.1.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 22.1 kB
Release files / gerritstats-1.1.0.tar.gz
| Download URL | gerritstats-1.1.0.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b5ac593db606c1941cede3cc87d3f845eb2d11791ccfea4e19408b0d4d7e50cb
|
|
BLAKE2b-256 checksum How to use checksums |
08680ad84a714fe2e0d1cfa30f9052d2237d2a25f285b98c976333ac50008983
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.6.9
|
Release files / gerritstats-1.1.0-py2.py3-none-any.whl
| Download URL | gerritstats-1.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 12.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ff9feb0a39dc68078c153f52bef6cc0fe5dfe6e2e75ce61c395119b60b484dc4
|
|
BLAKE2b-256 checksum How to use checksums |
c855f8a1e43e00ad2420e182085b8c98f1c883500c76e3eef32c6ff5b2cfec46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.6.9
|