Verified Commit 159a0aef authored by Camil Staps's avatar Camil Staps 🚀

Allow other sources than gitlab.science.ru.nl in git-sources.txt

parent 38be69e2
Pipeline #45958 passed with stage
in 3 minutes and 44 seconds
clean-and-itasks abc-interpreter master
https://gitlab.science.ru.nl/clean-and-itasks/abc-interpreter master
clean-and-itasks abc-interpreter master
https://gitlab.science.ru.nl/clean-and-itasks/abc-interpreter master
clean-and-itasks abc-interpreter master
https://gitlab.science.ru.nl/clean-and-itasks/abc-interpreter master
clean-compiler-and-rts code-generator master
clean-compiler-and-rts run-time-system master
clean-compiler-and-rts compiler itask
clean-compiler-and-rts compiler master
clean-compiler-and-rts language-report master
clean-compiler-and-rts stdenv master
clean-and-itasks clean-libraries master
clean-and-itasks clean-ide master
clean-and-itasks clm master
https://gitlab.science.ru.nl/clean-compiler-and-rts/code-generator master
https://gitlab.science.ru.nl/clean-compiler-and-rts/run-time-system master
https://gitlab.science.ru.nl/clean-compiler-and-rts/compiler itask
https://gitlab.science.ru.nl/clean-compiler-and-rts/compiler master
https://gitlab.science.ru.nl/clean-compiler-and-rts/language-report master
https://gitlab.science.ru.nl/clean-compiler-and-rts/stdenv master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-ide master
https://gitlab.science.ru.nl/clean-and-itasks/clm master
clean-compiler-and-rts code-generator master
clean-compiler-and-rts run-time-system master
clean-compiler-and-rts compiler master
clean-compiler-and-rts compiler itask
clean-compiler-and-rts language-report master
clean-compiler-and-rts stdenv master
clean-and-itasks clean-libraries master
clean-and-itasks clean-ide master
clean-and-itasks clm master
https://gitlab.science.ru.nl/clean-compiler-and-rts/code-generator master
https://gitlab.science.ru.nl/clean-compiler-and-rts/run-time-system master
https://gitlab.science.ru.nl/clean-compiler-and-rts/compiler master
https://gitlab.science.ru.nl/clean-compiler-and-rts/compiler itask
https://gitlab.science.ru.nl/clean-compiler-and-rts/language-report master
https://gitlab.science.ru.nl/clean-compiler-and-rts/stdenv master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-ide master
https://gitlab.science.ru.nl/clean-and-itasks/clm master
clean-compiler-and-rts code-generator master
clean-compiler-and-rts run-time-system master
clean-compiler-and-rts compiler itask
clean-compiler-and-rts compiler master
clean-compiler-and-rts language-report master
clean-compiler-and-rts stdenv master
clean-and-itasks clean-libraries master
clean-and-itasks clean-ide master
clean-and-itasks clm master
https://gitlab.science.ru.nl/clean-compiler-and-rts/code-generator master
https://gitlab.science.ru.nl/clean-compiler-and-rts/run-time-system master
https://gitlab.science.ru.nl/clean-compiler-and-rts/compiler itask
https://gitlab.science.ru.nl/clean-compiler-and-rts/compiler master
https://gitlab.science.ru.nl/clean-compiler-and-rts/language-report master
https://gitlab.science.ru.nl/clean-compiler-and-rts/stdenv master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-ide master
https://gitlab.science.ru.nl/clean-and-itasks/clm master
clean-compiler-and-rts code-generator master
clean-compiler-and-rts run-time-system master
clean-compiler-and-rts compiler itask
clean-compiler-and-rts compiler master
clean-compiler-and-rts language-report master
clean-compiler-and-rts stdenv master
clean-and-itasks clean-libraries master
clean-and-itasks clean-ide master
clean-and-itasks clm master
https://gitlab.science.ru.nl/clean-compiler-and-rts/code-generator master
https://gitlab.science.ru.nl/clean-compiler-and-rts/run-time-system master
https://gitlab.science.ru.nl/clean-compiler-and-rts/compiler itask
https://gitlab.science.ru.nl/clean-compiler-and-rts/compiler master
https://gitlab.science.ru.nl/clean-compiler-and-rts/language-report master
https://gitlab.science.ru.nl/clean-compiler-and-rts/stdenv master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-ide master
https://gitlab.science.ru.nl/clean-and-itasks/clm master
clean-compiler-and-rts code-generator master
clean-compiler-and-rts run-time-system master
clean-compiler-and-rts compiler itask
clean-compiler-and-rts compiler master
clean-compiler-and-rts language-report master
clean-compiler-and-rts stdenv master
clean-and-itasks clean-libraries master
clean-and-itasks clean-ide master
clean-and-itasks clm master
https://gitlab.science.ru.nl/clean-compiler-and-rts/code-generator master
https://gitlab.science.ru.nl/clean-compiler-and-rts/run-time-system master
https://gitlab.science.ru.nl/clean-compiler-and-rts/compiler itask
https://gitlab.science.ru.nl/clean-compiler-and-rts/compiler master
https://gitlab.science.ru.nl/clean-compiler-and-rts/language-report master
https://gitlab.science.ru.nl/clean-compiler-and-rts/stdenv master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-ide master
https://gitlab.science.ru.nl/clean-and-itasks/clm master
cstaps clean-completion master
https://gitlab.science.ru.nl/cstaps/clean-completion master
clean-and-itasks clean-ide master
https://gitlab.science.ru.nl/clean-and-itasks/clean-ide master
clean-and-itasks clean-ide master
https://gitlab.science.ru.nl/clean-and-itasks/clean-ide master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks gast master
https://gitlab.science.ru.nl/clean-and-itasks/gast master
clean-and-itasks gast master
https://gitlab.science.ru.nl/clean-and-itasks/gast master
clean-and-itasks gast master
https://gitlab.science.ru.nl/clean-and-itasks/gast master
clean-and-itasks gast master
https://gitlab.science.ru.nl/clean-and-itasks/gast master
clean-and-itasks gast master
https://gitlab.science.ru.nl/clean-and-itasks/gast master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks itasks-sdk master
https://gitlab.science.ru.nl/clean-and-itasks/itasks-sdk master
clean-and-itasks itasks-sdk master
https://gitlab.science.ru.nl/clean-and-itasks/itasks-sdk master
clean-and-itasks itasks-sdk master
https://gitlab.science.ru.nl/clean-and-itasks/itasks-sdk master
clean-and-itasks itasks-sdk master
https://gitlab.science.ru.nl/clean-and-itasks/itasks-sdk master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-platform master
https://gitlab.science.ru.nl/clean-and-itasks/clean-platform master
clean-and-itasks clean-platform master
https://gitlab.science.ru.nl/clean-and-itasks/clean-platform master
clean-and-itasks clean-platform master
https://gitlab.science.ru.nl/clean-and-itasks/clean-platform master
clean-and-itasks clean-platform master
https://gitlab.science.ru.nl/clean-and-itasks/clean-platform master
clean-and-itasks clean-platform master
https://gitlab.science.ru.nl/clean-and-itasks/clean-platform master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-libraries master
https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries master
clean-and-itasks clean-test-properties master
https://gitlab.science.ru.nl/clean-and-itasks/clean-test-properties master
clean-and-itasks clean-test-properties master
https://gitlab.science.ru.nl/clean-and-itasks/clean-test-properties master
clean-and-itasks clean-test-properties master
https://gitlab.science.ru.nl/clean-and-itasks/clean-test-properties master
clean-and-itasks clean-test-properties master
https://gitlab.science.ru.nl/clean-and-itasks/clean-test-properties master
clean-and-itasks clean-test master
https://gitlab.science.ru.nl/clean-and-itasks/clean-test master
clean-and-itasks clean-test master
https://gitlab.science.ru.nl/clean-and-itasks/clean-test master
#!/bin/bash
SVN_BASEURL="https://svn.cs.ru.nl/repos"
GIT_BASEURL="https://gitlab.science.ru.nl"
if [ $# -ne 3 ]; then
echo "Usage: $0 <package name> <os name> <architecture name>"
......@@ -30,19 +29,20 @@ if [ -e $PACKAGE/$OS-$ARCH/svn-sources.txt ]; then
fi
if [ -e $PACKAGE/$OS-$ARCH/git-sources.txt ]; then
tr -d '\r' < $PACKAGE/$OS-$ARCH/git-sources.txt | while read group repo branch; do
if [ ! -e src/$repo-$branch ]; then
echo "Cloning git repo: $group / $repo / $branch"
tr -d '\r' < $PACKAGE/$OS-$ARCH/git-sources.txt | while read url branch; do
dir="src/$(basename $url)-$branch"
if [ ! -e $dir ]; then
echo "Cloning git repo: $url / $branch"
if [ -n "${CLEANDATE+set}" ]; then
git clone -b $branch $GIT_BASEURL/$group/$repo.git src/$repo-$branch
(cd src/$repo-$branch
git clone -b $branch $url.git $dir
(cd $dir
git checkout `git rev-list -n 1 --before="$CLEANDATE" $branch`
git submodule update --init --recursive)
else
git clone --recursive -b $branch $GIT_BASEURL/$group/$repo.git src/$repo-$branch
git clone --recursive -b $branch $url.git $dir
fi
else
echo "Skipping git repo: $group / $repo / $branch"
echo "Skipping git repo: $url / $branch"
fi
done
fi
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