From 3216c90db0becb140cb7bc1c4b9a55a5f1c79bef Mon Sep 17 00:00:00 2001 From: manchandavishal Date: Tue, 23 Apr 2019 05:14:24 +0000 Subject: [PATCH] Changes for url transition to OpenDev This commit changes openstack.org URL to opendev.org URL as discussed here [1] [1] http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html Change-Id: I10d71b6face1f58c42ae3e2a590f1ac77fb5e4af --- README.rst | 2 +- tox.ini | 4 ++-- {{cookiecutter.repo_name}}/.gitreview | 2 +- {{cookiecutter.repo_name}}/README.rst | 2 +- {{cookiecutter.repo_name}}/doc/source/index.rst | 2 +- {{cookiecutter.repo_name}}/package.json | 4 ++-- {{cookiecutter.repo_name}}/tox.ini | 4 ++-- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.rst b/README.rst index 187c4de..3259c51 100644 --- a/README.rst +++ b/README.rst @@ -72,7 +72,7 @@ Then:: .. _pbr: https://docs.openstack.org/pbr/latest/ -.. _hacking: https://git.openstack.org/cgit/openstack-dev/hacking/plain/HACKING.rst +.. _hacking: https://opendev.org/openstack/hacking/raw/branch/master/HACKING.rst .. _eslint: http://eslint.org/ .. _OpenStack-Infra: https://docs.openstack.org/infra/system-config .. _testrepository: https://testrepository.readthedocs.org/ diff --git a/tox.ini b/tox.ini index ce5f250..eb0eed5 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ envlist = checkbuild skipsdist = True [testenv] -install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} -U {opts} {packages} +install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} deps = @@ -21,7 +21,7 @@ setenv = IGNORE_GIT=1 commands = rm -rf {envdir}/horizon - git clone https://git.openstack.org/openstack/horizon {envdir}/horizon + git clone https://opendev.org/openstack/horizon {envdir}/horizon rm -rf {envdir}/cafe-ui cookiecutter --no-input --output-dir {envdir} {toxinidir} # To pass {postargs} for running `tox -edocs` in generated plugin, diff --git a/{{cookiecutter.repo_name}}/.gitreview b/{{cookiecutter.repo_name}}/.gitreview index 5426828..880e6d7 100644 --- a/{{cookiecutter.repo_name}}/.gitreview +++ b/{{cookiecutter.repo_name}}/.gitreview @@ -1,4 +1,4 @@ [gerrit] -host=review.openstack.org +host=review.opendev.org port=29418 project={{cookiecutter.repo_group}}/{{cookiecutter.repo_name}}.git diff --git a/{{cookiecutter.repo_name}}/README.rst b/{{cookiecutter.repo_name}}/README.rst index e5cd7a7..e1eba4a 100644 --- a/{{cookiecutter.repo_name}}/README.rst +++ b/{{cookiecutter.repo_name}}/README.rst @@ -5,7 +5,7 @@ {{ cookiecutter.project_short_description}} * Free software: Apache license -* Source: http://git.openstack.org/cgit/{{ cookiecutter.repo_group }}/{{ cookiecutter.repo_name }} +* Source: http://opendev.org/{{ cookiecutter.repo_group }}/{{ cookiecutter.repo_name }} * Bugs: http://bugs.launchpad.net/{{ cookiecutter.launchpad_project }} Features diff --git a/{{cookiecutter.repo_name}}/doc/source/index.rst b/{{cookiecutter.repo_name}}/doc/source/index.rst index 7564c8f..44d3bfb 100644 --- a/{{cookiecutter.repo_name}}/doc/source/index.rst +++ b/{{cookiecutter.repo_name}}/doc/source/index.rst @@ -5,7 +5,7 @@ {{ cookiecutter.project_short_description}} * Free software: Apache license -* Source: http://git.openstack.org/cgit/{{ cookiecutter.repo_group }}/{{ cookiecutter.repo_name }} +* Source: http://opendev.org/{{ cookiecutter.repo_group }}/{{ cookiecutter.repo_name }} * Bugs: http://bugs.launchpad.net/{{ cookiecutter.launchpad_project }} Features diff --git a/{{cookiecutter.repo_name}}/package.json b/{{cookiecutter.repo_name}}/package.json index 917065f..3667710 100644 --- a/{{cookiecutter.repo_name}}/package.json +++ b/{{cookiecutter.repo_name}}/package.json @@ -3,7 +3,7 @@ "description": "{{ cookiecutter.call_by_name }} JavaScript tests", "repository": { "type": "git", - "url": "https://git.openstack.org/openstack/{{ cookiecutter.repo_name }}" + "url": "https://opendev.org/openstack/{{ cookiecutter.repo_name }}" }, "version": "0.0.0", "private": true, @@ -26,7 +26,7 @@ }, "dependencies": {}, "scripts": { - "postinstall": "if [ ! -d .tox ] || [ ! -d .tox/karma ]; then tox -ekarma --notest; python3 -m pip install -U -t ./.tox/karma/lib/`python3 -V|tr -d ' '|tr 'P' 'p'|cut -c -9`/site-packages/ -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt ../horizon; fi", + "postinstall": "if [ ! -d .tox ] || [ ! -d .tox/karma ]; then tox -ekarma --notest; python3 -m pip install -U -t ./.tox/karma/lib/`python3 -V|tr -d ' '|tr 'P' 'p'|cut -c -9`/site-packages/ -chttps://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt ../horizon; fi", "lint": "eslint --no-color {{ cookiecutter.module_name }}/static", "lintq": "eslint --quiet {{ cookiecutter.module_name }}/static", "test": "karma start {{ cookiecutter.module_name }}/karma.conf.js --single-run" diff --git a/{{cookiecutter.repo_name}}/tox.ini b/{{cookiecutter.repo_name}}/tox.ini index d04dcf1..d53fe5c 100644 --- a/{{cookiecutter.repo_name}}/tox.ini +++ b/{{cookiecutter.repo_name}}/tox.ini @@ -14,7 +14,7 @@ setenv = VIRTUAL_ENV={envdir} NOSE_OPENSTACK_YELLOW=0.025 NOSE_OPENSTACK_SHOW_ELAPSED=1 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 = python manage.py test {posargs} --settings={{cookiecutter.module_name}}.test.settings @@ -102,7 +102,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}/doc/requirements.txt commands= sphinx-build -W -b html doc/source doc/build/html