Update documentation
Update various URLs in the docs, add .eggs to .gitignore, and correct a pep8 problem in gerrit.py Change-Id: Ie86ff3a7cb6e9c742eac0eab243cc374ead42fb6
This commit is contained in:
parent
99136e1e16
commit
f34c110fd9
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
|||||||
# Packages
|
# Packages
|
||||||
*.egg-info
|
*.egg-info
|
||||||
|
.eggs/*
|
||||||
|
|
||||||
.tox
|
.tox
|
||||||
.stestr
|
.stestr
|
||||||
|
@ -4,14 +4,14 @@ Contributing
|
|||||||
If you would like to contribute to the development of OpenStack,
|
If you would like to contribute to the development of OpenStack,
|
||||||
you must follow the steps in this page:
|
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
|
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
|
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
|
of this documentation to learn how changes to OpenStack should be submitted for
|
||||||
review via the Gerrit tool:
|
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.
|
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:
|
To browse the latest code:
|
||||||
|
|
||||||
https://git.openstack.org/cgit/openstack-infra/gerritlib/tree/
|
https://opendev.org/opendev/gerritlib
|
||||||
|
|
||||||
To clone the latest code:
|
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:
|
Code reviews are handled by gerrit:
|
||||||
http://review.openstack.org
|
|
||||||
|
https://review.opendev.org/
|
||||||
|
|
||||||
Use `git review` to submit patches (after creating a gerrit
|
Use `git review` to submit patches (after creating a gerrit
|
||||||
account that links to your launchpad account). Example::
|
account that links to your launchpad account). Example::
|
||||||
|
12
README.rst
12
README.rst
@ -22,21 +22,21 @@ Bug report:
|
|||||||
|
|
||||||
Repository:
|
Repository:
|
||||||
|
|
||||||
* https://git.openstack.org/cgit/openstack-infra/gerritlib
|
* https://opendev.org/opendev/gerritlib
|
||||||
|
|
||||||
Cloning::
|
Cloning::
|
||||||
|
|
||||||
git clone https://git.openstack.org/openstack-infra/gerritlib
|
git clone https://opendev.org/opendev/gerritlib
|
||||||
|
|
||||||
Patches are submitted via Gerrit at:
|
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.
|
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
|
Writing a patch
|
||||||
---------------
|
---------------
|
||||||
@ -55,7 +55,7 @@ Then install the required python packages using pip_::
|
|||||||
|
|
||||||
$ sudo pip install gerritlib
|
$ sudo pip install gerritlib
|
||||||
|
|
||||||
.. _Gerrit: https://code.google.com/p/gerrit/
|
.. _Gerrit: https://www.gerritcodereview.com/
|
||||||
.. _pyflakes: https://pypi.python.org/pypi/pyflakes
|
.. _pyflakes: https://pypi.python.org/pypi/pyflakes
|
||||||
.. _tox: https://testrun.org/tox
|
.. _tox: https://testrun.org/tox
|
||||||
.. _pip: https://pypi.python.org/pypi/pip
|
.. _pip: https://pypi.python.org/pypi/pip
|
||||||
|
@ -145,8 +145,8 @@ class GerritWatcher(threading.Thread):
|
|||||||
pprint.pformat(data))
|
pprint.pformat(data))
|
||||||
self.gerrit.addEvent(data)
|
self.gerrit.addEvent(data)
|
||||||
except json.decoder.JSONDecodeError:
|
except json.decoder.JSONDecodeError:
|
||||||
self.log.debug("Can not parse data from Gerrit event stream: \n%s" %
|
self.log.debug("Cannot parse data from Gerrit event stream: "
|
||||||
pprint.pformat(line))
|
"\n%s" % pprint.pformat(line))
|
||||||
else:
|
else:
|
||||||
# blank read indicates EOF and the connection closed
|
# blank read indicates EOF and the connection closed
|
||||||
self.state = DISCONNECTED
|
self.state = DISCONNECTED
|
||||||
|
Loading…
x
Reference in New Issue
Block a user