From dd33e2a2c81043ea99c0453a9da545b4e8abf4aa Mon Sep 17 00:00:00 2001 From: jacky06 Date: Tue, 23 Apr 2019 13:25:13 +0800 Subject: [PATCH] Replace git.openstack.org URLs with opendev.org URLs Change-Id: Iaf18cea9ee9f1edfd1ef1a96a36de1569e399886 --- README.rst | 2 +- doc/source/user/examples.rst | 2 +- doc/source/user/usage.rst | 2 +- tox.ini | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index ffa59bb..6f32374 100644 --- a/README.rst +++ b/README.rst @@ -8,7 +8,7 @@ the WSGI pipeline and used by various modules such as logging. * License: Apache License, Version 2.0 * Documentation: https://docs.openstack.org/oslo.context/latest/ -* Source: https://git.openstack.org/cgit/openstack/oslo.context +* Source: https://opendev.org/openstack/oslo.context * Bugs: https://bugs.launchpad.net/oslo.context * Release notes: https://docs.openstack.org/releasenotes/oslo.context/ diff --git a/doc/source/user/examples.rst b/doc/source/user/examples.rst index c5d2f70..f012baf 100644 --- a/doc/source/user/examples.rst +++ b/doc/source/user/examples.rst @@ -8,7 +8,7 @@ These files can be found in the doc/source/examples directory of the git source of this project. They can also be found at the `online git repository`_ of this project. -.. _online git repository: https://git.openstack.org/cgit/openstack/oslo.context/tree/doc/source/examples +.. _online git repository: https://opendev.org/openstack/oslo.context/src/branch/master/doc/source/user/examples .. _example_usage_simple.py: diff --git a/doc/source/user/usage.rst b/doc/source/user/usage.rst index cc77d90..5fae372 100644 --- a/doc/source/user/usage.rst +++ b/doc/source/user/usage.rst @@ -101,7 +101,7 @@ to provide additional attributes that can be using with oslo.log. The Nova `RequestContext`_ class for example provides additional variables including user_name and project_name. -.. _RequestContext: https://git.openstack.org/cgit/openstack/nova/tree/nova/context.py +.. _RequestContext: https://opendev.org/openstack/nova/src/branch/master/nova/context.py This can for example enable the defining of **logging_user_identity_format = %(user_name)s %(project_name)s** which would produce a log record diff --git a/tox.ini b/tox.ini index 3471871..521a82c 100644 --- a/tox.ini +++ b/tox.ini @@ -5,7 +5,7 @@ envlist = py35,py27,pep8 [testenv] 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 -r{toxinidir}/requirements.txt commands = stestr run --slowest {posargs} @@ -26,7 +26,7 @@ commands = {posargs} [testenv:docs] basepython = python3 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}/doc/requirements.txt commands = sphinx-build -W -b html doc/source doc/build/html @@ -47,7 +47,7 @@ import_exceptions = [testenv:releasenotes] basepython = python3 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}/doc/requirements.txt commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html