Gerrit event queue
Project description
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.
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
gerritqueue-1.0.0.tar.gz
(8.4 kB
view details)
Built Distribution
File details
Details for the file gerritqueue-1.0.0.tar.gz
.
File metadata
- Download URL: gerritqueue-1.0.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb1ee973c99d667680ba7fb9c71a8e8cf337fcf59340705c92c180502eba4ed0 |
|
MD5 | c5ff6595c767d43fcd60f2e75020a708 |
|
BLAKE2b-256 | b77267f0886aef7e84b356bf2542fac1d2d29d74bad8b8fd756ff2fe42923ab9 |
File details
Details for the file gerritqueue-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: gerritqueue-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83976b011d20dfd5c921c4300362b219f747f2df266306e7dcee3d2dc0500dbc |
|
MD5 | 1782ca4e9c218c1e67b5b72822d0cb18 |
|
BLAKE2b-256 | 6e919d0a0433264484c22313b843815926b4cf838a1b195164cd15d7bb3ae534 |