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: Iff8f93426925a3480cedfb899216e443b12cd826
This commit is contained in:
parent
a511109572
commit
ff3851b593
@ -69,7 +69,7 @@ title_underline ${name_col_len}
|
|||||||
i=0
|
i=0
|
||||||
for plugin in ${sorted_plugins}; do
|
for plugin in ${sorted_plugins}; do
|
||||||
i=$((i+1))
|
i=$((i+1))
|
||||||
giturl="git://git.openstack.org/openstack/${plugin}"
|
giturl="https://git.openstack.org/openstack/${plugin}"
|
||||||
gitlink="https://git.openstack.org/cgit/openstack/${plugin}"
|
gitlink="https://git.openstack.org/cgit/openstack/${plugin}"
|
||||||
printf "%-3s %-${name_col_len}s %s\n" "$i" "${plugin}" "\`${giturl} <${gitlink}>\`__"
|
printf "%-3s %-${name_col_len}s %s\n" "$i" "${plugin}" "\`${giturl} <${gitlink}>\`__"
|
||||||
done
|
done
|
||||||
|
@ -81,11 +81,11 @@ vitrage-tempest-plugin
|
|||||||
function clone_project() {
|
function clone_project() {
|
||||||
if [ -e /usr/zuul-env/bin/zuul-cloner ]; then
|
if [ -e /usr/zuul-env/bin/zuul-cloner ]; then
|
||||||
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
|
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
|
||||||
git://git.openstack.org \
|
https://git.openstack.org \
|
||||||
openstack/"$1"
|
openstack/"$1"
|
||||||
|
|
||||||
elif [ -e /usr/bin/git ]; then
|
elif [ -e /usr/bin/git ]; then
|
||||||
/usr/bin/git clone git://git.openstack.org/openstack/"$1" \
|
/usr/bin/git clone https://git.openstack.org/openstack/"$1" \
|
||||||
openstack/"$1"
|
openstack/"$1"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user