summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Spiers <aspiers@suse.com>2019-08-19 12:48:04 +0100
committerAdam Spiers <aspiers@suse.com>2019-08-19 21:08:27 +0100
commitd47f1db49ea7596dadf99e2a887308b84f8d38cc (patch)
tree09ab46680ecc8614ff2714ea0ffa63975dacf76c
parentee6b69cadc75219aa53bdb91bb71a8b0cedd215b (diff)
downloadnova-d47f1db49ea7596dadf99e2a887308b84f8d38cc.tar.gz
Switch some GitHub URLs to point to opendev.org
Also update some outdated URLs at the same time, e.g. defcore is now interop. Unfortunately unlike GitHub, gitea doesn't yet support URLs with shortened SHA1s; however this is being worked on: https://github.com/go-gitea/gitea/issues/6450 Change-Id: I6e6b63619f1138cc961b61be548453361d01f73c
-rw-r--r--doc/source/admin/vendordata.rst2
-rw-r--r--doc/source/contributor/api.rst2
-rw-r--r--doc/source/contributor/testing.rst4
-rw-r--r--doc/source/reference/scheduler-hints-vs-flavor-extra-specs.rst4
-rw-r--r--nova/api/openstack/compute/schemas/servers.py2
-rw-r--r--nova/conf/vmware.py2
-rw-r--r--nova/tests/functional/regressions/test_bug_1595962.py2
-rw-r--r--nova/tests/functional/regressions/test_bug_1671648.py5
8 files changed, 12 insertions, 11 deletions
diff --git a/doc/source/admin/vendordata.rst b/doc/source/admin/vendordata.rst
index e7c1a8b4ee..ff412e83e5 100644
--- a/doc/source/admin/vendordata.rst
+++ b/doc/source/admin/vendordata.rst
@@ -97,7 +97,7 @@ that target. For example:
The `novajoin`__ project provides a dynamic vendordata service to manage host
instantiation in an IPA server.
-__ https://github.com/openstack/novajoin
+__ https://opendev.org/x/novajoin
Deployment considerations
~~~~~~~~~~~~~~~~~~~~~~~~~
diff --git a/doc/source/contributor/api.rst b/doc/source/contributor/api.rst
index fa8457f812..553deffa76 100644
--- a/doc/source/contributor/api.rst
+++ b/doc/source/contributor/api.rst
@@ -14,7 +14,7 @@ The v2.1 API framework is under ``nova/api`` and each API is implemented in
``nova/api/openstack/compute``.
Note that any change to the Nova API to be merged will first require a
-spec be approved first. See `here <https://github.com/openstack/nova-specs>`_
+spec be approved first. See `here <https://opendev.org/openstack/nova-specs>`_
for the appropriate repository. For guidance on the design of the API
please refer to the `OpenStack API WG
<https://wiki.openstack.org/wiki/API_Working_Group>`_
diff --git a/doc/source/contributor/testing.rst b/doc/source/contributor/testing.rst
index 9f67b0308f..4c339ee0b1 100644
--- a/doc/source/contributor/testing.rst
+++ b/doc/source/contributor/testing.rst
@@ -79,7 +79,7 @@ The correct level of unit test coverage is very subjective, and as such we are
not aiming for a particular percentage of coverage, rather we are aiming for
good coverage.
Generally, every code change should have a related unit test:
-https://github.com/openstack/nova/blob/master/HACKING.rst#creating-unit-tests
+https://opendev.org/openstack/nova/src/branch/master/HACKING.rst#creating-unit-tests
Integration tests
-----------------
@@ -116,4 +116,4 @@ Interoperability tests
The DefCore committee maintains a list that contains a subset of Tempest tests.
These are used to verify if a particular Nova deployment's API responds as
-expected. For more details, see: https://github.com/openstack/defcore
+expected. For more details, see: https://opendev.org/openstack/interop
diff --git a/doc/source/reference/scheduler-hints-vs-flavor-extra-specs.rst b/doc/source/reference/scheduler-hints-vs-flavor-extra-specs.rst
index 209c8554e9..242b07f53b 100644
--- a/doc/source/reference/scheduler-hints-vs-flavor-extra-specs.rst
+++ b/doc/source/reference/scheduler-hints-vs-flavor-extra-specs.rst
@@ -155,7 +155,7 @@ choice.
Footnotes
---------
-.. [1] https://github.com/openstack/nova/blob/fbe6f77bc/nova/objects/image_meta.py#L225
+.. [1] https://opendev.org/openstack/nova/src/commit/fbe6f77bc1cb41f5d6cfc24ece54d3413f997aab/nova/objects/image_meta.py#L225
.. [2] https://review.opendev.org/#/c/440580/
.. [3] https://docs.openstack.org/nova/latest/user/flavors.html#extra-specs
-.. [4] https://github.com/openstack/nova/blob/fbe6f77bc/nova/api/openstack/compute/schemas/scheduler_hints.py
+.. [4] https://opendev.org/openstack/nova/src/commit/fbe6f77bc1cb41f5d6cfc24ece54d3413f997aab/nova/api/openstack/compute/schemas/scheduler_hints.py
diff --git a/nova/api/openstack/compute/schemas/servers.py b/nova/api/openstack/compute/schemas/servers.py
index ce1e2035df..6d0651cc0e 100644
--- a/nova/api/openstack/compute/schemas/servers.py
+++ b/nova/api/openstack/compute/schemas/servers.py
@@ -266,7 +266,7 @@ base_create_v232['properties']['server'][
# to keep the above mentioned behavior while merging the extension schema code
# into server schema file. Below is the ref code where BDM tag was originally
# got added for 2.32 microversion *only*.
-# Ref- https://github.com/openstack/nova/blob/
+# Ref- https://opendev.org/openstack/nova/src/commit/
# 9882a60e69a5ab8da314a199a56defc05098b743/nova/api/
# openstack/compute/block_device_mapping.py#L71
base_create_v233 = copy.deepcopy(base_create_v219)
diff --git a/nova/conf/vmware.py b/nova/conf/vmware.py
index 9dc73fd68a..5f391cd317 100644
--- a/nova/conf/vmware.py
+++ b/nova/conf/vmware.py
@@ -63,7 +63,7 @@ Set this value if affected by an increased network latency causing
repeated characters when typing in a remote console.
"""),
# NOTE(takashin): 'serial_port_service_uri' can be non URI format.
- # See https://github.com/openstack/vmware-vspc/blob/master/README.rst
+ # See https://opendev.org/x/vmware-vspc/src/branch/master/README.rst
cfg.StrOpt('serial_port_service_uri',
help="""
Identifies the remote system where the serial port traffic will
diff --git a/nova/tests/functional/regressions/test_bug_1595962.py b/nova/tests/functional/regressions/test_bug_1595962.py
index 902ef176f0..daf13871b4 100644
--- a/nova/tests/functional/regressions/test_bug_1595962.py
+++ b/nova/tests/functional/regressions/test_bug_1595962.py
@@ -110,7 +110,7 @@ class TestSerialConsoleLiveMigrate(test.TestCase):
is then enabled and VNC + SPICE are disabled.
The error will be raised at
- https://github.com/openstack/nova/blob/
+ https://opendev.org/openstack/nova/src/commit/
4f33047d07f5a11b208c344fe206aba01cd8e6fe/
nova/virt/libvirt/driver.py#L5842-L5852
"""
diff --git a/nova/tests/functional/regressions/test_bug_1671648.py b/nova/tests/functional/regressions/test_bug_1671648.py
index 50aee40f3c..4db7835fdc 100644
--- a/nova/tests/functional/regressions/test_bug_1671648.py
+++ b/nova/tests/functional/regressions/test_bug_1671648.py
@@ -83,8 +83,9 @@ class TestRetryBetweenComputeNodeBuilds(test.TestCase):
# We can't stub nova.compute.claims.Claims.__init__ because there is
# a race where nova.compute.claims.NopClaim will be used instead,
# see for details:
- # https://github.com/openstack/nova/blob/bb02d11/nova/compute/
- # resource_tracker.py#L121-L130
+ # https://opendev.org/openstack/nova/src/commit/
+ # bb02d1110a9529217a5e9b1e1fe8ca25873cac59/
+ # nova/compute/resource_tracker.py#L121-L130
real_instance_claim =\
nova.compute.resource_tracker.ResourceTracker.instance_claim