Replace git.openstack.org URLs with opendev.org URLs

Change-Id: I0ab27098deb48de60b4d93cbedf59c1d0aa4f318
This commit is contained in:
jacky06 2019-04-23 13:25:13 +08:00
parent 5dac9e8f21
commit f0a9926b11
4 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
===================================
===============
oslo.middleware
===================================
===============
.. image:: https://img.shields.io/pypi/v/oslo.middleware.svg
:target: https://pypi.org/project/oslo.middleware/
@ -17,6 +17,6 @@ and support for limiting size/connection etc.
* Free software: Apache license
* Documentation: https://docs.openstack.org/oslo.middleware/latest/
* Source: https://git.openstack.org/cgit/openstack/oslo.middleware
* Source: https://opendev.org/openstack/oslo.middleware
* Bugs: https://bugs.launchpad.net/oslo.middleware
* Release notes: https://docs.openstack.org/releasenotes/oslo.middleware/

View File

@ -1,6 +1,6 @@
==============================
oslo.middleware Reference
==============================
=========================
oslo.middleware Reference
=========================
.. toctree::
:glob:

View File

@ -210,7 +210,7 @@ class CORS(base.ConfigurableMiddleware):
# NOTE(dims): Support older code that still passes in
# a string for allowed_origin instead of a list
if isinstance(allowed_origin, six.string_types):
# TODO(krotscheck): https://review.openstack.org/#/c/312687/
# TODO(krotscheck): https://review.opendev.org/#/c/312687/
LOG.warning('DEPRECATED: The `allowed_origin` keyword argument in '
'`add_origin()` should be a list, found String.')
allowed_origin = [allowed_origin]

View File

@ -7,7 +7,7 @@ setenv =
VIRTUAL_ENV={envdir}
install_command = pip install {opts} {packages}
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
-r{toxinidir}/test-requirements.txt
commands = stestr run --slowest {posargs}