From 561b35a8a813c6457508c284a98392d56c5ee5e7 Mon Sep 17 00:00:00 2001 From: Takashi NATSUME Date: Fri, 28 Jul 2017 11:58:06 +0900 Subject: [PATCH] Update URLs in docs, comments and setup.cfg Some URLs are broken, so fix them. The other URLs are redirect to new URLs, so replace them with new ones. Change-Id: Ida2fd70ad0d7b029fadfe91be14d7180b9b5b8d1 Closes-Bug: #1707104 --- CONTRIBUTING.rst | 4 ++-- HACKING.rst | 2 +- README.rst | 8 ++++---- bindep.txt | 2 +- doc/source/contributor/index.rst | 2 +- doc/source/contributor/testing.rst | 2 +- doc/source/reference/api/index.rst | 2 +- novaclient/i18n.py | 2 +- novaclient/v2/servers.py | 2 +- setup.cfg | 2 +- 10 files changed, 14 insertions(+), 14 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index bdb4ad7eb..20115405c 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -1,13 +1,13 @@ If you would like to contribute to the development of OpenStack, you must follow the steps documented at: - http://docs.openstack.org/infra/manual/developers.html#development-workflow + https://docs.openstack.org/infra/manual/developers.html#development-workflow Once those steps have been completed, changes to OpenStack should be submitted for review via the Gerrit tool, following the workflow documented at: - http://docs.openstack.org/infra/manual/developers.html#development-workflow + https://docs.openstack.org/infra/manual/developers.html#development-workflow Pull requests submitted through GitHub will be ignored. diff --git a/HACKING.rst b/HACKING.rst index 49eba1184..5a5d01d7f 100644 --- a/HACKING.rst +++ b/HACKING.rst @@ -2,7 +2,7 @@ Nova Client Style Commandments ============================== - Step 1: Read the OpenStack Style Commandments - http://docs.openstack.org/developer/hacking + https://docs.openstack.org/hacking/latest - Step 2: Read on diff --git a/README.rst b/README.rst index 00f86f46d..acf6493af 100644 --- a/README.rst +++ b/README.rst @@ -2,8 +2,8 @@ Team and repository tags ======================== -.. image:: http://governance.openstack.org/badges/python-novaclient.svg - :target: http://governance.openstack.org/reference/tags/index.html +.. image:: https://governance.openstack.org/tc/badges/python-novaclient.svg + :target: https://governance.openstack.org/tc/reference/tags/index.html .. Change things from this point on @@ -34,10 +34,10 @@ This is a client for the OpenStack Compute API. It provides a Python API (the * `How to Contribute`_ .. _PyPi: https://pypi.python.org/pypi/python-novaclient -.. _Online Documentation: http://docs.openstack.org/python-novaclient +.. _Online Documentation: https://docs.openstack.org/python-novaclient/latest .. _Launchpad project: https://launchpad.net/python-novaclient .. _Blueprints: https://blueprints.launchpad.net/python-novaclient .. _Bugs: https://bugs.launchpad.net/python-novaclient .. _Source: https://git.openstack.org/cgit/openstack/python-novaclient -.. _How to Contribute: http://docs.openstack.org/infra/manual/developers.html +.. _How to Contribute: https://docs.openstack.org/infra/manual/developers.html .. _Specs: http://specs.openstack.org/openstack/nova-specs/ diff --git a/bindep.txt b/bindep.txt index 5c2a93afa..7aea44026 100644 --- a/bindep.txt +++ b/bindep.txt @@ -1,5 +1,5 @@ # This is a cross-platform list tracking distribution packages needed by tests; -# see http://docs.openstack.org/infra/bindep/ for additional information. +# see https://docs.openstack.org/infra/bindep/ for additional information. build-essential [platform:dpkg] dbus-devel [platform:rpm] diff --git a/doc/source/contributor/index.rst b/doc/source/contributor/index.rst index cf8dccae1..4df1ed3f3 100644 --- a/doc/source/contributor/index.rst +++ b/doc/source/contributor/index.rst @@ -8,7 +8,7 @@ Code is hosted at `git.openstack.org`__. Submit bugs to the Nova project on __ https://git.openstack.org/cgit/openstack/python-novaclient __ https://launchpad.net/nova -__ http://docs.openstack.org/infra/manual/developers.html#development-workflow +__ https://docs.openstack.org/infra/manual/developers.html#development-workflow .. toctree:: :maxdepth: 2 diff --git a/doc/source/contributor/testing.rst b/doc/source/contributor/testing.rst index c4e59143f..b789dc2d2 100644 --- a/doc/source/contributor/testing.rst +++ b/doc/source/contributor/testing.rst @@ -18,7 +18,7 @@ test targets that can be run to validate the code. Live functional testing against an existing OpenStack instance. Functional testing assumes the existence of a `clouds.yaml` file as supported -by `os-client-config `__ +by `os-client-config `__ It assumes the existence of a cloud named `devstack` that behaves like a normal DevStack installation with a demo and an admin user/tenant - or clouds named `functional_admin` and `functional_nonadmin`. diff --git a/doc/source/reference/api/index.rst b/doc/source/reference/api/index.rst index c5ed6d885..9e93cdab2 100644 --- a/doc/source/reference/api/index.rst +++ b/doc/source/reference/api/index.rst @@ -55,7 +55,7 @@ application, you can append a (name, version) tuple to the session's For more information on this keystoneauth API, see `Using Sessions`_. -.. _Using Sessions: http://docs.openstack.org/developer/keystoneauth/using-sessions.html +.. _Using Sessions: https://docs.openstack.org/keystoneauth/latest/using-sessions.html It is also possible to use an instance as a context manager in which case there will be a session kept alive for the duration of the with statement:: diff --git a/novaclient/i18n.py b/novaclient/i18n.py index ccf8e583a..21c0addaa 100644 --- a/novaclient/i18n.py +++ b/novaclient/i18n.py @@ -12,7 +12,7 @@ """oslo_i18n integration module for novaclient. -See http://docs.openstack.org/developer/oslo.i18n/usage.html . +See https://docs.openstack.org/oslo.i18n/latest/user/usage.html . """ diff --git a/novaclient/v2/servers.py b/novaclient/v2/servers.py index 413774d5a..ef94b8c92 100644 --- a/novaclient/v2/servers.py +++ b/novaclient/v2/servers.py @@ -820,7 +820,7 @@ class ServerManager(base.BootingManagerWithFind): match the search_opts (optional). The search opts format is a dictionary of key / value pairs that will be appended to the query string. For a complete list of keys see: - http://developer.openstack.org/api-ref-compute-v2.1.html#listServers + https://developer.openstack.org/api-ref/compute/#list-servers :param marker: Begin returning servers that appear later in the server list than that represented by this server id (optional). :param limit: Maximum number of servers to return (optional). diff --git a/setup.cfg b/setup.cfg index 5aa68c2bc..f1905a5d7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,7 +6,7 @@ description-file = license = Apache License, Version 2.0 author = OpenStack author-email = openstack-dev@lists.openstack.org -home-page = http://docs.openstack.org/developer/python-novaclient +home-page = https://docs.openstack.org/python-novaclient/latest classifier = Development Status :: 5 - Production/Stable Environment :: Console