=============
Python library for managing Gerrit through ssh
Getting Started
===============
Queries
-------
from gerrit import filters
from gerrit import reviews
project = filters.OrFilter()
project.add_items('project', ['openstack/glance', 'openstack/python-glanceclient'])
other = filters.Items()
other.add_items('is', 'open')
other.add_items('limit', 100)
query = reviews.Query('review.openstack.org')
for review in query.filter(project, other):
# do something with the review
Reviews
-------
from gerrit import reviews
rev = reviews.Review('23424,12', host='review.openstack.org')
# Set the patch as WIP
rev.status('workinprogress')
rev.commit()
# Set the patch as ready for review
rev.status('readyforreview')
rev.commit("Ok, it is ready for review")
# Code-review -2
rev.review(-2)
rev.commit("Erm, I don't like this patch at all")
# Code-review -2
rev.review(2)
rev.verify(1)
rev.commit("Cool, LGTM, approved")
Metadata
Release files for python-gerrit 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python_gerrit-0.0.2-py27-none-any.whl | Python 2.7 | none | any | Details for python_gerrit-0.0.2-py27-none-any.whl |
Release files / python_gerrit-0.0.2-py27-none-any.whl
| Download URL | python_gerrit-0.0.2-py27-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 2.7 |
|
SHA-256 checksum How to use checksums |
2cbd7be7548660e4b1ae4d13d1e26046d2f936fc50b40254870f0717ecbfcf2b
|
|
BLAKE2b-256 checksum How to use checksums |
469f10dc90d1a1eccccfa225e0977ea5c0949d456177b07b6b97f42236efc1e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for python-gerrit 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.