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:
parent
1785672e67
commit
ce33bf27e5
@ -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)]),
|
||||
|
@ -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'
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user