turn github-gitlab sync back on
This commit is contained in:
@ -1,3 +1,3 @@
|
|||||||
#! /usr/bin/env sh
|
#! /usr/bin/env sh
|
||||||
|
|
||||||
nohup run.sh > sync.log 2> sync.err &
|
nohup ./run.sh > sync.log 2> sync.err &
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
URLLIST=`./list-org-cloneurls.sh`
|
URLLIST=`./list-org-cloneurls.sh`
|
||||||
HERE=$(pwd)
|
HERE=$(pwd)
|
||||||
for URL in $URLLIST; do
|
for URL in $URLLIST; do
|
||||||
|
echo $URL
|
||||||
BASEURL=$(echo $URL | sed "s|github.com:$ORG|i2pgit.org:i2p-hackers|g" | sed 's|i2p\.plugins\.i2psnark-rpc|i2psnark-rpc|g')
|
BASEURL=$(echo $URL | sed "s|github.com:$ORG|i2pgit.org:i2p-hackers|g" | sed 's|i2p\.plugins\.i2psnark-rpc|i2psnark-rpc|g')
|
||||||
CLONEDIR=$(echo $URL | sed "s|git@github.com:$ORG/||g" | sed 's|.git||g')
|
CLONEDIR=$(echo $URL | sed "s|git@github.com:$ORG/||g" | sed 's|.git||g')
|
||||||
if [ ! -d $CLONEDIR ]; then
|
if [ ! -d $CLONEDIR ]; then
|
||||||
|
@ -45,6 +45,11 @@ for URL in $URLLIST; do
|
|||||||
echo "Pushing tags for $CLONEDIR... attempt $d"
|
echo "Pushing tags for $CLONEDIR... attempt $d"
|
||||||
git push github --tags && break
|
git push github --tags && break
|
||||||
done
|
done
|
||||||
|
for d in $DO; do
|
||||||
|
# push all the tags
|
||||||
|
echo "Pushing tags for $CLONEDIR... attempt $d"
|
||||||
|
git push --all && break
|
||||||
|
done
|
||||||
echo "Returning home"
|
echo "Returning home"
|
||||||
cd "$HERE"
|
cd "$HERE"
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user