Library for Gerrit
Go to file
Sorin Sbarnea ac82273984 Allow custom retries on gerrit connection
Previous code was not allowing use of Gerrit without hardcoded infinite
retries inside Gerrit constructor, meaning that wrong credentials
would create an endless loop which gerritlib consumer could not
prevent.

This allows client to specify number of attempts and delay before
a failure is returned.

Change-Id: I5bd14a14539a2705babb9f9922c800383031c6ac
2020-09-28 16:50:00 +01:00
doc Add support for TCP keep alive in gerritlib 2020-09-09 17:45:39 -07:00
gerritlib Allow custom retries on gerrit connection 2020-09-28 16:50:00 +01:00
playbooks/jeepyb-integration Add branches arg to createProject 2020-07-15 11:11:44 -07:00
tools Add branches arg to createProject 2020-07-15 11:11:44 -07:00
.gitignore Replace testrepository with stestr 2020-05-20 20:07:15 +01:00
.gitreview OpenDev Migration Patch 2019-04-19 19:26:01 +00:00
.stestr.conf Replace testrepository with stestr 2020-05-20 20:07:15 +01:00
.testr.conf Specify testenv command for tox>=2.5 2016-12-01 20:20:59 +00:00
.zuul.yaml Add branches arg to createProject 2020-07-15 11:11:44 -07:00
CONTRIBUTING.rst Replace openstack.org git:// URLs with https:// 2019-03-24 20:33:40 +00:00
LICENSE Apply cookiecutter defaults 2014-06-02 18:22:04 +02:00
MANIFEST.in Add integration testing with jeepyb and gerrit 2020-01-28 11:01:01 -08:00
README.rst Update project docs 2015-04-20 13:10:34 -07:00
requirements.txt Use newer paramiko 2020-01-27 16:13:11 -08:00
setup.cfg Enable py36-py38 testing 2020-05-20 19:38:05 +01:00
setup.py Remove erroneous comment 2013-10-27 18:36:33 -04:00
test-requirements.txt Add support for TCP keep alive in gerritlib 2020-09-09 17:45:39 -07:00
tox.ini Fixed linting issues 2020-05-21 17:12:40 +01:00

README.rst

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