From ce33bf27e5945955c04cecff29e04d6b26fef69b Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Sun, 24 Mar 2019 20:36:01 +0000 Subject: [PATCH] Replace openstack.org git:// URLs with https:// This is a mechanically generated change to replace openstack.org git:// URLs with https:// equivalents. This is in aid of a planned future move of the git hosting infrastructure to a self-hosted instance of gitea (https://gitea.io), which does not support the git wire protocol at this stage. This update should result in no functional change. For more information see the thread at http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html Change-Id: I53162497c2f53e45139e6a3aa9ff20538ec1b35e --- openstack_requirements/tests/test_update.py | 4 ++-- playbooks/requirements-integration-dsvm/run.yaml | 2 +- tools/cruft.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/openstack_requirements/tests/test_update.py b/openstack_requirements/tests/test_update.py index c9d5322a65..5b93575978 100644 --- a/openstack_requirements/tests/test_update.py +++ b/openstack_requirements/tests/test_update.py @@ -393,13 +393,13 @@ class TestSyncRequirementsFile(testtools.TestCase): """) project_content = textwrap.dedent("""\ foo - -e git://git.openstack.org/openstack/neutron.git#egg=neutron + -e https://git.openstack.org/openstack/neutron.git#egg=neutron """) global_reqs = requirement.parse(global_content) project_reqs = list(requirement.to_reqs(project_content)) actions, reqs = update._sync_requirements_file( global_reqs, project_reqs, 'f', False, False, False) - n = '-e git://git.openstack.org/openstack/neutron.git#egg=neutron' + n = '-e https://git.openstack.org/openstack/neutron.git#egg=neutron' self.assertEqual(requirement.Requirements([ requirement.Requirement('foo', '', '', '', ''), requirement.Requirement('', '', '', '', n)]), diff --git a/playbooks/requirements-integration-dsvm/run.yaml b/playbooks/requirements-integration-dsvm/run.yaml index 86edaff5a3..c0fea5cb74 100644 --- a/playbooks/requirements-integration-dsvm/run.yaml +++ b/playbooks/requirements-integration-dsvm/run.yaml @@ -17,7 +17,7 @@ dest: devstack-gate EOF /usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \ - git://git.openstack.org \ + https://git.openstack.org \ openstack-infra/devstack-gate executable: /bin/bash chdir: '{{ ansible_user_dir }}/workspace' diff --git a/tools/cruft.sh b/tools/cruft.sh index 8a83d79f58..b95ed746a8 100755 --- a/tools/cruft.sh +++ b/tools/cruft.sh @@ -35,7 +35,7 @@ for PROJECT in $(cat projects.txt); do if [ -d /opt/git/$PROJECT/.git ]; then git clone file:///opt/git/$PROJECT $PROJECT else - git clone git://git.openstack.org/$PROJECT.git $PROJECT + git clone https://git.openstack.org/$PROJECT.git $PROJECT fi fi pushd $PROJECT