Merge "Update documentation"

This commit is contained in:
Zuul 2021-05-07 01:40:09 +00:00 committed by Gerrit Code Review
commit cf83939469
4 changed files with 15 additions and 13 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
# Packages
*.egg-info
.eggs/*
.tox
.stestr

View File

@ -4,14 +4,14 @@ Contributing
If you would like to contribute to the development of OpenStack,
you must follow the steps in this page:
http://docs.openstack.org/infra/manual/developers.html
https://docs.opendev.org/opendev/infra-manual/latest/developers.html
If you already have a good understanding of how the system works and your
OpenStack accounts are set up, you can skip to the development workflow section
of this documentation to learn how changes to OpenStack should be submitted for
review via the Gerrit tool:
http://docs.openstack.org/infra/manual/developers.html#development-workflow
https://docs.opendev.org/opendev/infra-manual/latest/developers.html#development-workflow
Pull requests submitted through GitHub will be ignored.
@ -21,14 +21,15 @@ Bugs should be filed on StoryBoard, not GitHub:
To browse the latest code:
https://git.openstack.org/cgit/openstack-infra/gerritlib/tree/
https://opendev.org/opendev/gerritlib
To clone the latest code:
git clone https://git.openstack.org/openstack-infra/gerritlib
git clone https://opendev.org/opendev/gerritlib
Code reviews are handled by gerrit:
http://review.openstack.org
https://review.opendev.org/
Use `git review` to submit patches (after creating a gerrit
account that links to your launchpad account). Example::

View File

@ -22,21 +22,21 @@ Bug report:
Repository:
* https://git.openstack.org/cgit/openstack-infra/gerritlib
* https://opendev.org/opendev/gerritlib
Cloning::
git clone https://git.openstack.org/openstack-infra/gerritlib
git clone https://opendev.org/opendev/gerritlib
Patches are submitted via Gerrit at:
* https://review.openstack.org/
* https://review.opendev.org/
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:
More details on how you can contribute is available at:
* http://docs.openstack.org/infra/manual/developers.html
* https://docs.opendev.org/opendev/infra-manual/latest/developers.html
Writing a patch
---------------
@ -55,7 +55,7 @@ Then install the required python packages using pip_::
$ sudo pip install gerritlib
.. _Gerrit: https://code.google.com/p/gerrit/
.. _Gerrit: https://www.gerritcodereview.com/
.. _pyflakes: https://pypi.python.org/pypi/pyflakes
.. _tox: https://testrun.org/tox
.. _pip: https://pypi.python.org/pypi/pip

View File

@ -150,8 +150,8 @@ class GerritWatcher(threading.Thread):
pprint.pformat(data))
self.gerrit.addEvent(data)
except json.decoder.JSONDecodeError:
self.log.debug("Can not parse data from Gerrit event stream: \n%s" %
pprint.pformat(line))
self.log.debug("Cannot parse data from Gerrit event stream: "
"\n%s" % pprint.pformat(line))
else:
# blank read indicates EOF and the connection closed
self.state = DISCONNECTED