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
This commit is contained in:
Ian Wienand 2019-03-24 20:36:01 +00:00
parent 1785672e67
commit ce33bf27e5
3 changed files with 4 additions and 4 deletions

View File

@ -393,13 +393,13 @@ class TestSyncRequirementsFile(testtools.TestCase):
""") """)
project_content = textwrap.dedent("""\ project_content = textwrap.dedent("""\
foo 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) global_reqs = requirement.parse(global_content)
project_reqs = list(requirement.to_reqs(project_content)) project_reqs = list(requirement.to_reqs(project_content))
actions, reqs = update._sync_requirements_file( actions, reqs = update._sync_requirements_file(
global_reqs, project_reqs, 'f', False, False, False) 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([ self.assertEqual(requirement.Requirements([
requirement.Requirement('foo', '', '', '', ''), requirement.Requirement('foo', '', '', '', ''),
requirement.Requirement('', '', '', '', n)]), requirement.Requirement('', '', '', '', n)]),

View File

@ -17,7 +17,7 @@
dest: devstack-gate dest: devstack-gate
EOF EOF
/usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \ /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 openstack-infra/devstack-gate
executable: /bin/bash executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace' chdir: '{{ ansible_user_dir }}/workspace'

View File

@ -35,7 +35,7 @@ for PROJECT in $(cat projects.txt); do
if [ -d /opt/git/$PROJECT/.git ]; then if [ -d /opt/git/$PROJECT/.git ]; then
git clone file:///opt/git/$PROJECT $PROJECT git clone file:///opt/git/$PROJECT $PROJECT
else else
git clone git://git.openstack.org/$PROJECT.git $PROJECT git clone https://git.openstack.org/$PROJECT.git $PROJECT
fi fi
fi fi
pushd $PROJECT pushd $PROJECT