Commit 59cb6781 authored by Thibault Saunier's avatar Thibault Saunier 🌵

update-common: Update to use gitlab repositories

parent cd1dee06
......@@ -21,7 +21,7 @@
# network usage.
BRANCH=master
reference=~/gst
PUSHURL=ssh://git.freedesktop.org/git/gstreamer
PUSHURL=git@gitlab.freedesktop.org:gstreamer
DRY_RUN=
KEEP=no
COMMON_COMMIT=
......@@ -78,17 +78,11 @@ for module in $modules
do
cd $dir
if test -e $reference/$module/.git ; then
pushd $reference/$module
PUSHURL=`git config remote.origin.url | sed 's@\(git/gstreamer\).*@\1@'`
popd
git clone --reference $reference/$module/.git --shared ssh://git.freedesktop.org/git/gstreamer/$module
git clone --reference $reference/$module/.git --shared git@gitlab.freedesktop.org:gstreamer/$module.git
elif test -e $topdir/$module/.git ; then
pushd $topdir/$module
PUSHURL=`git config remote.origin.url | sed 's@\(git/gstreamer\).*@\1@'`
popd
git clone --reference $topdir/$module/.git --shared $PUSHURL/$module
git clone --reference $topdir/$module/.git --shared $PUSHURL/$module.git
else
git clone $PUSHURL/$module
git clone $PUSHURL/$module.git
fi
cd $dir/$module
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment