Library for Gerrit
3ff5407988
The previous change assumed that all projects would have their acl file paths updated via ansible's lineinfile module. But lineinfile only updates the last match. Since we've got two config lines we want to match and update we run the lineinfile task twice which should end up updating both of them. Change-Id: I714281d86569f248f4ae3d909b019f060fe6c520 |
||
---|---|---|
doc | ||
gerritlib | ||
playbooks/jeepyb-integration | ||
tools | ||
.gitignore | ||
.gitreview | ||
.stestr.conf | ||
.testr.conf | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README
Gerritlib is a Python library for interacting with Gerrit. It aims to provide a more conventionally pythonic way of managing a Gerrit instance.
To install:
$ sudo python setup.py install
Online documentation:
Developers
Bug report:
Repository:
Cloning:
git clone https://git.openstack.org/openstack-infra/gerritlib
Patches are submitted via Gerrit at:
Please do not submit GitHub pull requests, they will be automatically closed.
More details on how you can contribute is available on our wiki at:
Writing a patch
We ask that all code submissions be pep8 and pyflakes clean. The
easiest way to do that is to run tox before submitting code for review
in Gerrit. It will run pep8
and pyflakes
in
the same manner as the automated test suite that will run on proposed
patchsets.
Installing without setup.py
Then install the required python packages using pip:
$ sudo pip install gerritlib