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
This commit is contained in:
Adam Spiers 2019-08-19 12:48:04 +01:00
parent ee6b69cadc
commit d47f1db49e
8 changed files with 12 additions and 11 deletions
doc/source
nova
api/openstack/compute/schemas
conf
tests/functional/regressions

@ -97,7 +97,7 @@ that target. For example:
The `novajoin`__ project provides a dynamic vendordata service to manage host The `novajoin`__ project provides a dynamic vendordata service to manage host
instantiation in an IPA server. instantiation in an IPA server.
__ https://github.com/openstack/novajoin __ https://opendev.org/x/novajoin
Deployment considerations Deployment considerations
~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~

@ -14,7 +14,7 @@ The v2.1 API framework is under ``nova/api`` and each API is implemented in
``nova/api/openstack/compute``. ``nova/api/openstack/compute``.
Note that any change to the Nova API to be merged will first require a 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 for the appropriate repository. For guidance on the design of the API
please refer to the `OpenStack API WG please refer to the `OpenStack API WG
<https://wiki.openstack.org/wiki/API_Working_Group>`_ <https://wiki.openstack.org/wiki/API_Working_Group>`_

@ -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 not aiming for a particular percentage of coverage, rather we are aiming for
good coverage. good coverage.
Generally, every code change should have a related unit test: 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 Integration tests
----------------- -----------------
@ -116,4 +116,4 @@ Interoperability tests
The DefCore committee maintains a list that contains a subset of Tempest 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 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

@ -155,7 +155,7 @@ choice.
Footnotes 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/ .. [2] https://review.opendev.org/#/c/440580/
.. [3] https://docs.openstack.org/nova/latest/user/flavors.html#extra-specs .. [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

@ -266,7 +266,7 @@ base_create_v232['properties']['server'][
# to keep the above mentioned behavior while merging the extension schema code # 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 # into server schema file. Below is the ref code where BDM tag was originally
# got added for 2.32 microversion *only*. # 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/ # 9882a60e69a5ab8da314a199a56defc05098b743/nova/api/
# openstack/compute/block_device_mapping.py#L71 # openstack/compute/block_device_mapping.py#L71
base_create_v233 = copy.deepcopy(base_create_v219) base_create_v233 = copy.deepcopy(base_create_v219)

@ -63,7 +63,7 @@ Set this value if affected by an increased network latency causing
repeated characters when typing in a remote console. repeated characters when typing in a remote console.
"""), """),
# NOTE(takashin): 'serial_port_service_uri' can be non URI format. # 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', cfg.StrOpt('serial_port_service_uri',
help=""" help="""
Identifies the remote system where the serial port traffic will Identifies the remote system where the serial port traffic will

@ -110,7 +110,7 @@ class TestSerialConsoleLiveMigrate(test.TestCase):
is then enabled and VNC + SPICE are disabled. is then enabled and VNC + SPICE are disabled.
The error will be raised at The error will be raised at
https://github.com/openstack/nova/blob/ https://opendev.org/openstack/nova/src/commit/
4f33047d07f5a11b208c344fe206aba01cd8e6fe/ 4f33047d07f5a11b208c344fe206aba01cd8e6fe/
nova/virt/libvirt/driver.py#L5842-L5852 nova/virt/libvirt/driver.py#L5842-L5852
""" """

@ -83,8 +83,9 @@ class TestRetryBetweenComputeNodeBuilds(test.TestCase):
# We can't stub nova.compute.claims.Claims.__init__ because there is # We can't stub nova.compute.claims.Claims.__init__ because there is
# a race where nova.compute.claims.NopClaim will be used instead, # a race where nova.compute.claims.NopClaim will be used instead,
# see for details: # see for details:
# https://github.com/openstack/nova/blob/bb02d11/nova/compute/ # https://opendev.org/openstack/nova/src/commit/
# resource_tracker.py#L121-L130 # bb02d1110a9529217a5e9b1e1fe8ca25873cac59/
# nova/compute/resource_tracker.py#L121-L130
real_instance_claim =\ real_instance_claim =\
nova.compute.resource_tracker.ResourceTracker.instance_claim nova.compute.resource_tracker.ResourceTracker.instance_claim