[Blends-commit] [SCM] website branch, master, updated. e1d1bccadb6dee88b78aa8c27daff4a2417442c1

Andreas Tille tille at debian.org
Fri Jan 10 09:49:45 UTC 2014


The following commit has been merged in the master branch:
commit e1d1bccadb6dee88b78aa8c27daff4a2417442c1
Author: Andreas Tille <tille at debian.org>
Date:   Fri Jan 10 10:54:04 2014 +0100

    blends.debian.org might have trouble qith some external repositories to verify SSL connection - use the same trick as in UDD

diff --git a/webtools/check-all-tasks b/webtools/check-all-tasks
index b343596..d15602f 100755
--- a/webtools/check-all-tasks
+++ b/webtools/check-all-tasks
@@ -47,7 +47,11 @@ for bc in `ls webconf/*.conf | grep -v -e "webconf/fun\." -e rest-test` ; do
     if [ ! -d ${datadir} ] ; then
         if [ "${vcstype}" = "git" ] ; then
             cd `dirname ${datadir}`
-            git clone --quiet ${vcsurl}
+            git clone --quiet ${vcsurl} $blend >/dev/null && true
+            if [ $? -gt 0 ] ; then.
+                # echo "Unable to fetch initial data for $blend from $VcsDir - try without SSL verification" ;
+                GIT_SSL_NO_VERIFY=1 git clone ${vcsurl} $blend >/dev/null && true
+            fi
         else if [ "${vcstype}" = "svn" ] ; then
                 mkdir -p ${datadir}
                 cd ${datadir}
@@ -65,7 +69,11 @@ for bc in `ls webconf/*.conf | grep -v -e "webconf/fun\." -e rest-test` ; do
     	    exit 1
         fi
         if [ "${vcstype}" = "git" ] ; then
-            git pull --quiet 
+            git pull --quiet 2>/dev/null && true
+            if [ $? -gt 0 ] ; then
+                # echo "Unable to pull data for $blend from $VcsDir - try without SSL verification"
+                GIT_SSL_NO_VERIFY=1 git pull >/dev/null 2>/dev/null && true
+            fi
         else if [ "${vcstype}" = "svn" ] ; then
                 cd tasks
                 svn --quiet up

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list