Update python-openstacksdk references to openstacksdk
Now that the repo is renamed, update all of the references.
While we're at it, remote unused translation config.
Note: intentionally not trying to update all of the openstack>opendev
changes since then as they are not really needed in an old stable
branch.
Change-Id: Ib9f80eb809317483f83f79952470c2b57b2bb7c6
(cherry picked from commit f44ed7ab35
)
This commit is contained in:
parent
3d71e2a719
commit
3b9f369410
|
@ -1,5 +1,5 @@
|
||||||
[gerrit]
|
[gerrit]
|
||||||
host=review.opendev.org
|
host=review.opendev.org
|
||||||
port=29418
|
port=29418
|
||||||
project=openstack/python-openstacksdk.git
|
project=openstack/openstacksdk.git
|
||||||
defaultbranch=stable/queens
|
defaultbranch=stable/queens
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
.. _contributing:
|
.. _contributing:
|
||||||
|
|
||||||
===================================
|
============================
|
||||||
Contributing to python-openstacksdk
|
Contributing to openstacksdk
|
||||||
===================================
|
============================
|
||||||
|
|
||||||
If you're interested in contributing to the python-openstacksdk project,
|
If you're interested in contributing to the openstacksdk project,
|
||||||
the following will help get you started.
|
the following will help get you started.
|
||||||
|
|
||||||
Contributor License Agreement
|
Contributor License Agreement
|
||||||
|
@ -13,7 +13,7 @@ Contributor License Agreement
|
||||||
.. index::
|
.. index::
|
||||||
single: license; agreement
|
single: license; agreement
|
||||||
|
|
||||||
In order to contribute to the python-openstacksdk project, you need to have
|
In order to contribute to the openstacksdk project, you need to have
|
||||||
signed OpenStack's contributor's agreement.
|
signed OpenStack's contributor's agreement.
|
||||||
|
|
||||||
Please read `DeveloperWorkflow`_ before sending your first patch for review.
|
Please read `DeveloperWorkflow`_ before sending your first patch for review.
|
||||||
|
@ -30,7 +30,7 @@ Project Hosting Details
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|
||||||
Project Documentation
|
Project Documentation
|
||||||
http://docs.openstack.org/sdks/python/openstacksdk/
|
https://docs.openstack.org/openstacksdk/latest/
|
||||||
|
|
||||||
Bug tracker
|
Bug tracker
|
||||||
https://bugs.launchpad.net/python-openstacksdk
|
https://bugs.launchpad.net/python-openstacksdk
|
||||||
|
@ -39,7 +39,7 @@ Mailing list (prefix subjects with ``[sdk]`` for faster responses)
|
||||||
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
|
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
|
||||||
|
|
||||||
Code Hosting
|
Code Hosting
|
||||||
https://git.openstack.org/cgit/openstack/python-openstacksdk
|
https://git.openstack.org/cgit/openstack/openstacksdk
|
||||||
|
|
||||||
Code Review
|
Code Review
|
||||||
https://review.openstack.org/#/q/status:open+project:openstack/python-openstacksdk,n,z
|
https://review.openstack.org/#/q/status:open+project:openstack/openstacksdk,n,z
|
||||||
|
|
|
@ -163,8 +163,8 @@ Links
|
||||||
=====
|
=====
|
||||||
|
|
||||||
* `Issue Tracker <https://storyboard.openstack.org/#!/project/760>`_
|
* `Issue Tracker <https://storyboard.openstack.org/#!/project/760>`_
|
||||||
* `Code Review <https://review.openstack.org/#/q/status:open+project:openstack/python-openstacksdk,n,z>`_
|
* `Code Review <https://review.openstack.org/#/q/status:open+project:openstack/openstacksdk,n,z>`_
|
||||||
* `Documentation <https://developer.openstack.org/sdks/python/openstacksdk/>`_
|
* `Documentation <https://developer.openstack.org/sdks/python/openstacksdk/>`_
|
||||||
* `PyPI <https://pypi.python.org/pypi/python-openstacksdk/>`_
|
* `PyPI <https://pypi.python.org/pypi/openstacksdk/>`_
|
||||||
* `Mailing list <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev>`_
|
* `Mailing list <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev>`_
|
||||||
* `Bugs <https://bugs.launchpad.net/python-openstacksdk>`_
|
* `Bugs <https://bugs.launchpad.net/python-openstacksdk>`_
|
||||||
|
|
|
@ -52,7 +52,7 @@ shade integration
|
||||||
response = conn.compute.get('/servers') # REST passthrough
|
response = conn.compute.get('/servers') # REST passthrough
|
||||||
|
|
||||||
* Invent some terminology that is clear and makes sense to distinguish between
|
* Invent some terminology that is clear and makes sense to distinguish between
|
||||||
the object interface that came originally from python-openstacksdk and the
|
the object interface that came originally from openstacksdk and the
|
||||||
interface that came from shade.
|
interface that came from shade.
|
||||||
* Shift the shade interface methods to use the Object Interface for their
|
* Shift the shade interface methods to use the Object Interface for their
|
||||||
operations. It's possible there may be cases where the REST layer needs to
|
operations. It's possible there may be cases where the REST layer needs to
|
||||||
|
|
|
@ -31,7 +31,7 @@ extensions = [
|
||||||
]
|
]
|
||||||
|
|
||||||
# openstackdocstheme options
|
# openstackdocstheme options
|
||||||
repository_name = 'openstack/python-openstacksdk'
|
repository_name = 'openstack/openstacksdk'
|
||||||
bug_project = '760'
|
bug_project = '760'
|
||||||
bug_tag = ''
|
bug_tag = ''
|
||||||
html_last_updated_fmt = '%Y-%m-%d %H:%M'
|
html_last_updated_fmt = '%Y-%m-%d %H:%M'
|
||||||
|
@ -56,7 +56,7 @@ source_suffix = '.rst'
|
||||||
master_doc = 'index'
|
master_doc = 'index'
|
||||||
|
|
||||||
# General information about the project.
|
# General information about the project.
|
||||||
project = u'python-openstacksdk'
|
project = u'openstacksdk'
|
||||||
copyright = u'2017, Various members of the OpenStack Foundation'
|
copyright = u'2017, Various members of the OpenStack Foundation'
|
||||||
|
|
||||||
# A few variables have to be set for the log-a-bug feature.
|
# A few variables have to be set for the log-a-bug feature.
|
||||||
|
|
|
@ -36,9 +36,9 @@ as occasional talk about SDKs created for languages outside of Python.
|
||||||
Email
|
Email
|
||||||
*****
|
*****
|
||||||
|
|
||||||
The `openstack-dev <mailto:openstack-dev@openstack.org?subject=[python-openstacksdk]%20Question%20about%20the%20python-openstacksdk>`_
|
The `openstack-dev <mailto:openstack-dev@openstack.org?subject=[sdk]%20Question%20about%20openstacksdk>`_
|
||||||
mailing list fields questions of all types on OpenStack. Using the
|
mailing list fields questions of all types on OpenStack. Using the
|
||||||
``[python-openstacksdk]`` filter to begin your email subject will ensure
|
``[sdk]`` filter to begin your email subject will ensure
|
||||||
that the message gets to SDK developers.
|
that the message gets to SDK developers.
|
||||||
|
|
||||||
Coding Standards
|
Coding Standards
|
||||||
|
|
|
@ -89,13 +89,13 @@ Getting the Source Code
|
||||||
review systems that we use.
|
review systems that we use.
|
||||||
|
|
||||||
The canonical Git repository is hosted on openstack.org at
|
The canonical Git repository is hosted on openstack.org at
|
||||||
http://git.openstack.org/cgit/openstack/python-openstacksdk/, with a
|
http://git.openstack.org/cgit/openstack/openstacksdk/, with a
|
||||||
mirror on GitHub at https://github.com/openstack/python-openstacksdk.
|
mirror on GitHub at https://github.com/openstack/openstacksdk.
|
||||||
Because of how Git works, you can create a local clone from either of those,
|
Because of how Git works, you can create a local clone from either of those,
|
||||||
or your own personal fork.::
|
or your own personal fork.::
|
||||||
|
|
||||||
(sdk3)$ git clone https://git.openstack.org/openstack/python-openstacksdk.git
|
(sdk3)$ git clone https://git.openstack.org/openstack/openstacksdk.git
|
||||||
(sdk3)$ cd python-openstacksdk
|
(sdk3)$ cd openstacksdk
|
||||||
|
|
||||||
Installing Dependencies
|
Installing Dependencies
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
|
@ -49,7 +49,7 @@ DevStack
|
||||||
There are many ways to run and configure DevStack. The link above will show
|
There are many ways to run and configure DevStack. The link above will show
|
||||||
you how to run DevStack a number of ways. You'll need to choose a method
|
you how to run DevStack a number of ways. You'll need to choose a method
|
||||||
you're familiar with and can run in your environment. Wherever DevStack is
|
you're familiar with and can run in your environment. Wherever DevStack is
|
||||||
running, we need to make sure that python-openstacksdk contributors are
|
running, we need to make sure that openstacksdk contributors are
|
||||||
using the same configuration.
|
using the same configuration.
|
||||||
|
|
||||||
This is the ``local.conf`` file we use to configure DevStack.
|
This is the ``local.conf`` file we use to configure DevStack.
|
||||||
|
|
|
@ -4,9 +4,9 @@ Installation
|
||||||
|
|
||||||
At the command line::
|
At the command line::
|
||||||
|
|
||||||
$ pip install python-openstacksdk
|
$ pip install openstacksdk
|
||||||
|
|
||||||
Or, if you have virtualenv wrapper installed::
|
Or, if you have virtualenv wrapper installed::
|
||||||
|
|
||||||
$ mkvirtualenv python-openstacksdk
|
$ mkvirtualenv openstacksdk
|
||||||
$ pip install python-openstacksdk
|
$ pip install openstacksdk
|
||||||
|
|
|
@ -2,5 +2,5 @@
|
||||||
Release Notes
|
Release Notes
|
||||||
=============
|
=============
|
||||||
|
|
||||||
Release notes for `python-openstacksdk` can be found at
|
Release notes for `openstacksdk` can be found at
|
||||||
https://releases.openstack.org/teams/openstacksdk.html
|
https://releases.openstack.org/teams/openstacksdk.html
|
||||||
|
|
|
@ -44,4 +44,4 @@ To get a action based on its name or ID:
|
||||||
.. literalinclude:: ../../examples/clustering/action.py
|
.. literalinclude:: ../../examples/clustering/action.py
|
||||||
:pyobject: get_action
|
:pyobject: get_action
|
||||||
|
|
||||||
.. _manage action: http://git.openstack.org/cgit/openstack/python-openstacksdk/tree/examples/clustering/action.py
|
.. _manage action: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/clustering/action.py
|
||||||
|
|
|
@ -189,5 +189,5 @@ To restore a specified cluster, members in the cluster will be checked.
|
||||||
:pyobject: recover_cluster
|
:pyobject: recover_cluster
|
||||||
|
|
||||||
|
|
||||||
.. _manage cluster: http://git.openstack.org/cgit/openstack/python-openstacksdk/tree/examples/clustering/cluster.py
|
.. _manage cluster: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/clustering/cluster.py
|
||||||
|
|
||||||
|
|
|
@ -44,4 +44,4 @@ To get a event based on its name or ID:
|
||||||
.. literalinclude:: ../../examples/clustering/event.py
|
.. literalinclude:: ../../examples/clustering/event.py
|
||||||
:pyobject: get_event
|
:pyobject: get_event
|
||||||
|
|
||||||
.. _manage event: http://git.openstack.org/cgit/openstack/python-openstacksdk/tree/examples/clustering/event.py
|
.. _manage event: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/clustering/event.py
|
||||||
|
|
|
@ -117,4 +117,4 @@ To restore a specified node.
|
||||||
.. literalinclude:: ../../examples/clustering/node.py
|
.. literalinclude:: ../../examples/clustering/node.py
|
||||||
:pyobject: recover_node
|
:pyobject: recover_node
|
||||||
|
|
||||||
.. _manage node: http://git.openstack.org/cgit/openstack/python-openstacksdk/tree/examples/clustering/node.py
|
.. _manage node: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/clustering/node.py
|
||||||
|
|
|
@ -99,4 +99,4 @@ still in use, you will get an error message.
|
||||||
:pyobject: delete_policy
|
:pyobject: delete_policy
|
||||||
|
|
||||||
|
|
||||||
.. _manage policy: http://git.openstack.org/cgit/openstack/python-openstacksdk/tree/examples/clustering/policy.py
|
.. _manage policy: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/clustering/policy.py
|
||||||
|
|
|
@ -42,4 +42,4 @@ it.
|
||||||
|
|
||||||
Full example: `manage policy type`_
|
Full example: `manage policy type`_
|
||||||
|
|
||||||
.. _manage policy type: http://git.openstack.org/cgit/openstack/python-openstacksdk/tree/examples/clustering/policy_type.py
|
.. _manage policy type: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/clustering/policy_type.py
|
||||||
|
|
|
@ -102,4 +102,4 @@ still in use, you will get an error message.
|
||||||
:pyobject: delete_profile
|
:pyobject: delete_profile
|
||||||
|
|
||||||
|
|
||||||
.. _manage profile: http://git.openstack.org/cgit/openstack/python-openstacksdk/tree/examples/clustering/profile.py
|
.. _manage profile: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/clustering/profile.py
|
||||||
|
|
|
@ -41,4 +41,4 @@ To get the details about a profile type, you need to provide the name of it.
|
||||||
|
|
||||||
Full example: `manage profile type`_
|
Full example: `manage profile type`_
|
||||||
|
|
||||||
.. _manage profile type: http://git.openstack.org/cgit/openstack/python-openstacksdk/tree/examples/clustering/profile_type.py
|
.. _manage profile type: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/clustering/profile_type.py
|
||||||
|
|
|
@ -97,4 +97,4 @@ use, you will get an error message.
|
||||||
:pyobject: delete_receiver
|
:pyobject: delete_receiver
|
||||||
|
|
||||||
|
|
||||||
.. _manage receiver: http://git.openstack.org/cgit/openstack/python-openstacksdk/tree/examples/clustering/receiver.py
|
.. _manage receiver: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/clustering/receiver.py
|
||||||
|
|
|
@ -83,7 +83,7 @@ for it to become active.
|
||||||
|
|
||||||
Full example: `compute resource create`_
|
Full example: `compute resource create`_
|
||||||
|
|
||||||
.. _compute resource list: http://git.openstack.org/cgit/openstack/python-openstacksdk/tree/examples/compute/list.py
|
.. _compute resource list: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/compute/list.py
|
||||||
.. _network resource list: http://git.openstack.org/cgit/openstack/python-openstacksdk/tree/examples/network/list.py
|
.. _network resource list: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/network/list.py
|
||||||
.. _compute resource create: http://git.openstack.org/cgit/openstack/python-openstacksdk/tree/examples/compute/create.py
|
.. _compute resource create: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/compute/create.py
|
||||||
.. _public–key cryptography: https://en.wikipedia.org/wiki/Public-key_cryptography
|
.. _public–key cryptography: https://en.wikipedia.org/wiki/Public-key_cryptography
|
||||||
|
|
|
@ -18,7 +18,7 @@ To create a :class:`~openstack.connection.Connection` instance, use the
|
||||||
.. literalinclude:: ../examples/connect.py
|
.. literalinclude:: ../examples/connect.py
|
||||||
:pyobject: create_connection
|
:pyobject: create_connection
|
||||||
|
|
||||||
Full example at `connect.py <http://git.openstack.org/cgit/openstack/python-openstacksdk/tree/examples/connect.py>`_
|
Full example at `connect.py <http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/connect.py>`_
|
||||||
|
|
||||||
.. note:: To enable logging, see the :doc:`logging` user guide.
|
.. note:: To enable logging, see the :doc:`logging` user guide.
|
||||||
|
|
||||||
|
|
|
@ -108,4 +108,4 @@ sub-regions with a region to make a tree-like structured hierarchy.
|
||||||
|
|
||||||
Full example: `identity resource list`_
|
Full example: `identity resource list`_
|
||||||
|
|
||||||
.. _identity resource list: http://git.openstack.org/cgit/openstack/python-openstacksdk/tree/examples/identity/list.py
|
.. _identity resource list: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/identity/list.py
|
||||||
|
|
|
@ -75,7 +75,7 @@ Delete an image.
|
||||||
|
|
||||||
Full example: `image resource delete`_
|
Full example: `image resource delete`_
|
||||||
|
|
||||||
.. _image resource create: http://git.openstack.org/cgit/openstack/python-openstacksdk/tree/examples/image/create.py
|
.. _image resource create: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/image/create.py
|
||||||
.. _image resource delete: http://git.openstack.org/cgit/openstack/python-openstacksdk/tree/examples/image/delete.py
|
.. _image resource delete: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/image/delete.py
|
||||||
.. _image resource list: http://git.openstack.org/cgit/openstack/python-openstacksdk/tree/examples/image/list.py
|
.. _image resource list: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/image/list.py
|
||||||
.. _image resource download: http://git.openstack.org/cgit/openstack/python-openstacksdk/tree/examples/image/download.py
|
.. _image resource download: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/image/download.py
|
||||||
|
|
|
@ -136,7 +136,7 @@ Delete a project network and its subnets.
|
||||||
|
|
||||||
Full example: `network resource delete`_
|
Full example: `network resource delete`_
|
||||||
|
|
||||||
.. _network resource create: http://git.openstack.org/cgit/openstack/python-openstacksdk/tree/examples/network/create.py
|
.. _network resource create: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/network/create.py
|
||||||
.. _network resource delete: http://git.openstack.org/cgit/openstack/python-openstacksdk/tree/examples/network/delete.py
|
.. _network resource delete: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/network/delete.py
|
||||||
.. _network resource list: http://git.openstack.org/cgit/openstack/python-openstacksdk/tree/examples/network/list.py
|
.. _network resource list: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/network/list.py
|
||||||
.. _network security group create: http://git.openstack.org/cgit/openstack/python-openstacksdk/tree/examples/network/security_group_rules.py
|
.. _network security group create: http://git.openstack.org/cgit/openstack/openstacksdk/tree/examples/network/security_group_rules.py
|
||||||
|
|
|
@ -2,7 +2,7 @@ Transition from Profile
|
||||||
=======================
|
=======================
|
||||||
|
|
||||||
.. note:: This section describes migrating code from a previous interface of
|
.. note:: This section describes migrating code from a previous interface of
|
||||||
python-openstacksdk and can be ignored by people writing new code.
|
openstacksdk and can be ignored by people writing new code.
|
||||||
|
|
||||||
If you have code that currently uses the :class:`~openstack.profile.Profile`
|
If you have code that currently uses the :class:`~openstack.profile.Profile`
|
||||||
object and/or an ``authenticator`` instance from an object based on
|
object and/or an ``authenticator`` instance from an object based on
|
||||||
|
@ -41,7 +41,7 @@ Replacing authenticator
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
There is no direct replacement for ``openstack.auth.base.BaseAuthPlugin``.
|
There is no direct replacement for ``openstack.auth.base.BaseAuthPlugin``.
|
||||||
``python-openstacksdk`` uses the `keystoneauth`_ library for authentication
|
``openstacksdk`` uses the `keystoneauth`_ library for authentication
|
||||||
and HTTP interactions. `keystoneauth`_ has `auth plugins`_ that can be used
|
and HTTP interactions. `keystoneauth`_ has `auth plugins`_ that can be used
|
||||||
to control how authentication is done. The ``auth_type`` config parameter
|
to control how authentication is done. The ``auth_type`` config parameter
|
||||||
can be set to choose the correct authentication method to be used.
|
can be set to choose the correct authentication method to be used.
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
# TODO(shade) Rework for Zuul v3
|
# TODO(shade) Rework for Zuul v3
|
||||||
|
|
||||||
export OPENSTACKSDK_DIR="$BASE/new/python-openstacksdk"
|
export OPENSTACKSDK_DIR="$BASE/new/openstacksdk"
|
||||||
|
|
||||||
cd $OPENSTACKSDK_DIR
|
cd $OPENSTACKSDK_DIR
|
||||||
sudo chown -R jenkins:stack $OPENSTACKSDK_DIR
|
sudo chown -R jenkins:stack $OPENSTACKSDK_DIR
|
||||||
|
|
|
@ -43,7 +43,7 @@ extensions = [
|
||||||
]
|
]
|
||||||
|
|
||||||
# openstackdocstheme options
|
# openstackdocstheme options
|
||||||
repository_name = 'openstack/python-openstacksdk'
|
repository_name = 'openstack/openstacksdk'
|
||||||
bug_project = '760'
|
bug_project = '760'
|
||||||
bug_tag = ''
|
bug_tag = ''
|
||||||
html_last_updated_fmt = '%Y-%m-%d %H:%M'
|
html_last_updated_fmt = '%Y-%m-%d %H:%M'
|
||||||
|
|
14
setup.cfg
14
setup.cfg
|
@ -36,19 +36,5 @@ warning-is-error = 1
|
||||||
[upload_sphinx]
|
[upload_sphinx]
|
||||||
upload-dir = doc/build/html
|
upload-dir = doc/build/html
|
||||||
|
|
||||||
[compile_catalog]
|
|
||||||
directory = openstack/locale
|
|
||||||
domain = python-openstacksdk
|
|
||||||
|
|
||||||
[update_catalog]
|
|
||||||
domain = python-openstacksdk
|
|
||||||
output_dir = openstack/locale
|
|
||||||
input_file = openstack/locale/python-openstacksdk.pot
|
|
||||||
|
|
||||||
[extract_messages]
|
|
||||||
keywords = _ gettext ngettext l_ lazy_gettext
|
|
||||||
mapping_file = babel.cfg
|
|
||||||
output_file = openstack/locale/python-openstacksdk.pot
|
|
||||||
|
|
||||||
[wheel]
|
[wheel]
|
||||||
universal = 1
|
universal = 1
|
||||||
|
|
Loading…
Reference in New Issue