From d8254146778a32dfe02c682d744f1a806b770379 Mon Sep 17 00:00:00 2001 From: ZhongShengping Date: Mon, 22 Apr 2019 11:23:33 +0800 Subject: [PATCH] Replace git.openstack.org URLs with opendev.org URLs Thorough replacement of git.openstack.org URLs with their opendev.org counterparts. Change-Id: I18b8181e29b1d81245df3534e75f13bde3c80ef3 --- README.rst | 2 +- doc/source/contributor/contributing.rst | 16 ++++++++-------- doc/source/contributor/releasing.rst | 2 +- doc/source/contributor/review-guidelines.rst | 4 ++-- doc/source/user/hacking.rst | 2 +- neutron_lib/api/definitions/base.py | 12 ++++++------ neutron_lib/api/definitions/trunk_details.py | 2 +- neutron_lib/placement/utils.py | 2 +- .../api-definition-base-d2e9514c5ee2ef5b.yaml | 2 +- .../notes/context-public-6df198b77027c224.yaml | 2 +- .../notes/plugin-directory-55861f4098813ba6.yaml | 2 +- .../revert-review-400408-4999a9159689c0c5.yaml | 2 +- tox.ini | 10 +++++----- 13 files changed, 30 insertions(+), 30 deletions(-) diff --git a/README.rst b/README.rst index 3235ae4e0..ccd824da5 100644 --- a/README.rst +++ b/README.rst @@ -15,7 +15,7 @@ Neutron shared routines and utilities * Free software: Apache license * Documentation: https://docs.openstack.org/neutron-lib/latest/ -* Source: https://git.openstack.org/cgit/openstack/neutron-lib +* Source: https://opendev.org/openstack/neutron-lib * Bugs: https://bugs.launchpad.net/neutron * Release notes: https://docs.openstack.org/releasenotes/neutron-lib/ diff --git a/doc/source/contributor/contributing.rst b/doc/source/contributor/contributing.rst index 02113b3e2..3f8bc1b38 100644 --- a/doc/source/contributor/contributing.rst +++ b/doc/source/contributor/contributing.rst @@ -73,11 +73,11 @@ Phase 1: Rehome Examples: -- `319769 `_ brought over a number of common +- `319769 `_ brought over a number of common utility functions as-is from neutron into a new package structure within neutron-lib. -- `253661 `_ rehomed neutron callbacks into a - private package that's enhanced via `346554 `_. -- `319386 `_ rehomes a validator from neutron +- `253661 `_ rehomed neutron callbacks into a + private package that's enhanced via `346554 `_. +- `319386 `_ rehomes a validator from neutron into neutron-lib. Phase 2: Enhance @@ -93,7 +93,7 @@ functionality. Examples: -- `346554 `_ enhances the rehomed private callback +- `346554 `_ enhances the rehomed private callback API in neutron-lib. Phase 3: Release @@ -106,7 +106,7 @@ project. Once a release is cut, an openstack infra proposal bot will submit patches to the master branch of all projects that consume neutron-lib to set the new release as the minimum requirement. Someone from the neutron release team can bump `global requirements` (g-r); for example -`review 393600 `_. +`review 393600 `_. When the bot-proposed requirement patches have merged, your rehomed code can be consumed. @@ -132,7 +132,7 @@ source. - Prepare a neutron core patch to remove and update the rehomed code from its source. This can be done without a `debtcollector `_ notice by following the steps here. In the patch's commit message include the ``NeutronLibImpact`` - so that we can easily `query `_ + so that we can easily `query `_ for such changes. Mark the patch as a work in progress with a -1 workflow vote. - If the change is significant enough, it may warrant a "reference implementation" in an impacted subproject to ensure the impacts are fully understood. Testing this @@ -153,5 +153,5 @@ source. Examples: -- `348472 `_ removes a validator in neutron that +- `348472 `_ removes a validator in neutron that was rehomed to neutron-lib. diff --git a/doc/source/contributor/releasing.rst b/doc/source/contributor/releasing.rst index 958c9c2b9..7f5b947ff 100644 --- a/doc/source/contributor/releasing.rst +++ b/doc/source/contributor/releasing.rst @@ -3,7 +3,7 @@ Releasing ========= Before you intend to release a new version of neutron-lib consider posting -a `sentinel patch `_ +a `sentinel patch `_ that will allow to validate that the neutron-lib hash chosen for tagging is not breaking gate or check jobs affecting a project you care about, first and foremost Neutron. diff --git a/doc/source/contributor/review-guidelines.rst b/doc/source/contributor/review-guidelines.rst index aeeccb897..826d100ab 100644 --- a/doc/source/contributor/review-guidelines.rst +++ b/doc/source/contributor/review-guidelines.rst @@ -29,9 +29,9 @@ When reviewing neutron-lib changes, please be aware: - Publish a change to neutron-lib that uses `Depends-On:` for the dummy change in neutron; this pulls the neutron dummy change into the neutron-lib gate job. For example - `386846 `_ uses a dummy + `386846 `_ uses a dummy neutron-lib patch to test code that already exists in neutron-lib - `master` whereas `346554 `_ + `master` whereas `346554 `_ tests the neutron-lib patch's code itself. - View neutron-lib gate job results and repeat as necessary. diff --git a/doc/source/user/hacking.rst b/doc/source/user/hacking.rst index ddd88b240..e191f7921 100644 --- a/doc/source/user/hacking.rst +++ b/doc/source/user/hacking.rst @@ -49,7 +49,7 @@ To adopt neutron-lib's hacking checks: #. Actively adopt neutron-lib hacking checks by running and monitoring the neutron-lib `periodic job `_ (as per `stadium guidelines - `_ and + `_ and watching for announcements. Announcements regarding neutron-lib adopter hacking checks will be communicated via openstack-discuss email list and `neutron meetings `_. diff --git a/neutron_lib/api/definitions/base.py b/neutron_lib/api/definitions/base.py index b293aa63e..8be3b71a8 100644 --- a/neutron_lib/api/definitions/base.py +++ b/neutron_lib/api/definitions/base.py @@ -148,26 +148,26 @@ KNOWN_EXTENSIONS = ( 'trunk', 'trunk-details', # Add here list of extensions with pointers to the project repo, e.g. - # 'bgp', # http://git.openstack.org/cgit/openstack/neutron-dynamic-routing + # 'bgp', # https://opendev.org/openstack/neutron-dynamic-routing - # http://git.openstack.org/cgit/openstack/neutron-fwaas + # https://opendev.org/openstack/neutron-fwaas 'fwaas', 'fwaasrouterinsertion', 'fwaas_v2', - 'bgpvpn', # https://git.openstack.org/cgit/openstack/networking-bgpvpn + 'bgpvpn', # https://opendev.org/openstack/networking-bgpvpn 'bgpvpn-routes-control', 'bgpvpn-vni', - # git.openstack.org/cgit/openstack/neutron-vpnaas + # https://opendev.org/openstack/neutron-vpnaas 'vpnaas', 'vpn-endpoint-groups', 'vpn-flavors', - # http://git.openstack.org/cgit/openstack/networking-sfc: + # https://opendev.org/openstack/networking-sfc: 'flow_classifier', 'sfc', - # http://git.openstack.org/cgit/openstack/neutron-interconnection: + # https://opendev.org/openstack/neutron-interconnection: 'interconnection', ) diff --git a/neutron_lib/api/definitions/trunk_details.py b/neutron_lib/api/definitions/trunk_details.py index 60cdfd17f..708f9caa2 100644 --- a/neutron_lib/api/definitions/trunk_details.py +++ b/neutron_lib/api/definitions/trunk_details.py @@ -41,7 +41,7 @@ DESCRIPTION = "Expose trunk port details" # A timestamp of when the extension was last updated. UPDATED_TIMESTAMP = "2016-01-01T10:00:00-00:00" # TODO(armax): to be removed when review -# https://review.openstack.org/#/c/484058/ merges +# https://review.opendev.org/#/c/484058/ merges TIMESTAMP = UPDATED_TIMESTAMP # The name of the resource introduced or being extended. diff --git a/neutron_lib/placement/utils.py b/neutron_lib/placement/utils.py index bed579f94..a1eac557b 100644 --- a/neutron_lib/placement/utils.py +++ b/neutron_lib/placement/utils.py @@ -81,7 +81,7 @@ def six_uuid5(namespace, name): # NOTE(bence romsics): The spec said: "Agent resource providers shall # be identified by their already existing Neutron agent UUIDs [...]" # -# https://review.openstack.org/#/c/508149/14/specs/rocky +# https://review.opendev.org/#/c/508149/14/specs/rocky # /minimum-bandwidth-allocation-placement-api.rst@465 # # However we forgot that agent UUIDs are not stable through a few diff --git a/releasenotes/notes/api-definition-base-d2e9514c5ee2ef5b.yaml b/releasenotes/notes/api-definition-base-d2e9514c5ee2ef5b.yaml index ab6df51a5..1091b361a 100644 --- a/releasenotes/notes/api-definition-base-d2e9514c5ee2ef5b.yaml +++ b/releasenotes/notes/api-definition-base-d2e9514c5ee2ef5b.yaml @@ -2,4 +2,4 @@ other: - Provide API definition framework for Neutron Stadium APIs to be consolidated into neutron-lib. For more details see review - https://review.openstack.org/#/c/353131/. + https://review.opendev.org/#/c/353131/. diff --git a/releasenotes/notes/context-public-6df198b77027c224.yaml b/releasenotes/notes/context-public-6df198b77027c224.yaml index d13df73c6..1aa8ee73f 100644 --- a/releasenotes/notes/context-public-6df198b77027c224.yaml +++ b/releasenotes/notes/context-public-6df198b77027c224.yaml @@ -9,4 +9,4 @@ features: ctx = context.get_admin_context() - For more examples, see: https://review.openstack.org/#/c/388157/ + For more examples, see: https://review.opendev.org/#/c/388157/ diff --git a/releasenotes/notes/plugin-directory-55861f4098813ba6.yaml b/releasenotes/notes/plugin-directory-55861f4098813ba6.yaml index 6d1988806..7bd577194 100644 --- a/releasenotes/notes/plugin-directory-55861f4098813ba6.yaml +++ b/releasenotes/notes/plugin-directory-55861f4098813ba6.yaml @@ -12,4 +12,4 @@ features: core_plugin = directory.get_plugin() l3_plugin = directory.get_plugin(constants.L3) - For more examples, see: https://review.openstack.org/#/c/386845/ + For more examples, see: https://review.opendev.org/#/c/386845/ diff --git a/releasenotes/notes/revert-review-400408-4999a9159689c0c5.yaml b/releasenotes/notes/revert-review-400408-4999a9159689c0c5.yaml index 06538a30b..0f9c40224 100644 --- a/releasenotes/notes/revert-review-400408-4999a9159689c0c5.yaml +++ b/releasenotes/notes/revert-review-400408-4999a9159689c0c5.yaml @@ -3,4 +3,4 @@ fixes: - Bug `1720046 `_ is fixed by reverting the logic of ``neutron_lib.utils.net.get_random_mac`` to its original behavior from commit `If2539f94b5479f0d6afa64c973082cbe8c5309ac - `_. + `_. diff --git a/tox.ini b/tox.ini index 02972766f..157e0fcb9 100644 --- a/tox.ini +++ b/tox.ini @@ -13,7 +13,7 @@ setenv = OS_STDOUT_CAPTURE={env:OS_STDOUT_CAPTURE:true} OS_STDERR_CAPTURE={env:OS_STDERR_CAPTURE:true} 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}/requirements.txt -r{toxinidir}/test-requirements.txt commands = @@ -29,7 +29,7 @@ commands = [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}/requirements.txt -r{toxinidir}/doc/requirements.txt commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html @@ -52,7 +52,7 @@ commands = [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}/requirements.txt -r{toxinidir}/doc/requirements.txt commands = sphinx-build -W -b html doc/source doc/build/html @@ -61,7 +61,7 @@ commands = sphinx-build -W -b html doc/source doc/build/html basepython = python3 whitelist_externals = rm 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}/requirements.txt -r{toxinidir}/doc/requirements.txt commands = @@ -71,7 +71,7 @@ commands = [testenv:linkcheck] 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}/requirements.txt -r{toxinidir}/doc/requirements.txt whitelist_externals = rm