gerritqueue
Gerrit Queue is a Gerrit event queue using Redis.
Requirements
- Python (3.7+)
- pip
- redis
Installation
apt update
apt install python3-dev python3-pip python3-setuptools
pip install gerritqueue
Updating
pip install gerritqueue --upgrade
Running
gerritqueue \
--config-file config.json \
--gerrit-query "change:1"
Settings
Gerrit Queue parameters can be set in the file of config.json.
An example of configuration in config.json
{
"gerrit": {
"debug": false,
"host": "localhost",
"pass": "pass",
"port": 80,
"query": {
"option": ["CURRENT_REVISION"]
},
"user": "user"
},
"redis": {
"db": 0,
"debug": false,
"hash": {
"expire": {
"days": 1
},
"name": "_number",
"value": "current_revision"
},
"host": "localhost",
"pass": "pass",
"port": 6379
}
}
Redis
Name Value
CHANGE_NUMBER CURRENT_REVISION
License Apache
Project License can be found here.
Release files for gerritqueue 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gerritqueue-1.0.2.tar.gz | 8.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gerritqueue-1.0.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 18.1 kB
Release files / gerritqueue-1.0.2.tar.gz
| Download URL | gerritqueue-1.0.2.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb00fb25645cc79fbeac53ed1d5e9f2a3c6d1217db914ac9b8514f61f6959c1c
|
|
BLAKE2b-256 checksum How to use checksums |
d4be6d71fe76fe2e1c4eae5064b70f566b2ce2b0b57166f163540ddbf47c7682
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/2.7.17
|
Release files / gerritqueue-1.0.2-py2.py3-none-any.whl
| Download URL | gerritqueue-1.0.2-py2.py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
61bc6870b9f83df192ec1838baefa31e0c0767229ca8bec905d3a6c6186a9350
|
|
BLAKE2b-256 checksum How to use checksums |
c61dfdc09caa334f5cbdf8495b71af82f2670114cc218a6d9eb1586c6ec8ce53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/2.7.17
|