automaint: update to current build server usage
This commit is contained in:
parent
f32788002f
commit
de810c1bd7
14
automaint
14
automaint
@ -203,7 +203,8 @@ for p in ${allpkgs}; do
|
|||||||
for o in ${needportlist[*]}; do
|
for o in ${needportlist[*]}; do
|
||||||
[ "$p" = "$o" ] && { needsport=1; break; }
|
[ "$p" = "$o" ] && { needsport=1; break; }
|
||||||
done
|
done
|
||||||
#[ "$needsport" -a ! "$PORT_REPOSITORY" ] && continue
|
#[ "$needsport" ] && continue
|
||||||
|
[ "$needsport" -a ! "$PORT_REPOSITORY" ] && continue
|
||||||
|
|
||||||
for a in `seq 1 ${#AUTODIST_ARCHS[*]}`; do
|
for a in `seq 1 ${#AUTODIST_ARCHS[*]}`; do
|
||||||
get_pkg_buildinfo $LOCAL_REPS_BASE_DIR/distromatic/$SOURCE_REPOSITORY ${AUTODIST_ARCHS[$a-1]} $p
|
get_pkg_buildinfo $LOCAL_REPS_BASE_DIR/distromatic/$SOURCE_REPOSITORY ${AUTODIST_ARCHS[$a-1]} $p
|
||||||
@ -240,9 +241,9 @@ for p in ${allpkgs}; do
|
|||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
update_type="minor"
|
update_type="minor"
|
||||||
elif [ $dotdiff -lt 0 ]; then
|
#elif [ $dotdiff -lt 0 ]; then
|
||||||
[ "$VERBOSE" ] && echo "$p: newer version has less dots than older ${#VER[*]} < ${#SVER[*]}; skipping."
|
# [ "$VERBOSE" ] && echo "$p: newer version has less dots than older ${#VER[*]} < ${#SVER[*]}; skipping."
|
||||||
continue
|
# continue
|
||||||
#elif [ "$i" != "${#SVER[*]}" ]; then
|
#elif [ "$i" != "${#SVER[*]}" ]; then
|
||||||
# # e.g. SVER=0.11 -> VER=1.0
|
# # e.g. SVER=0.11 -> VER=1.0
|
||||||
# [ "$VERBOSE" ] && echo "$p: not a minor version update at position $i/${#SVER[*]}: ${SVER[i-1]} != ${VER[i-1]}; skipping."
|
# [ "$VERBOSE" ] && echo "$p: not a minor version update at position $i/${#SVER[*]}: ${SVER[i-1]} != ${VER[i-1]}; skipping."
|
||||||
@ -261,6 +262,7 @@ for p in ${allpkgs}; do
|
|||||||
# continue
|
# continue
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
#if [ ! "${needsport}" ]; then
|
||||||
if [ "$old_pkg_repository" == "$PORT_REPOSITORY" -o "$old_pkg_repository" == "$DEST_REPOSITORY" ]; then
|
if [ "$old_pkg_repository" == "$PORT_REPOSITORY" -o "$old_pkg_repository" == "$DEST_REPOSITORY" ]; then
|
||||||
echo "$p: importing from $SOURCE_REPOSITORY to $PORT_REPOSITORY ($pkg_version-$pkg_release -> $old_pkg_version-$old_pkg_release)"
|
echo "$p: importing from $SOURCE_REPOSITORY to $PORT_REPOSITORY ($pkg_version-$pkg_release -> $old_pkg_version-$old_pkg_release)"
|
||||||
if [ ! "$TESTMODE" ]; then
|
if [ ! "$TESTMODE" ]; then
|
||||||
@ -270,6 +272,8 @@ for p in ${allpkgs}; do
|
|||||||
MESSAGE=`cgi_encodevar \"imported <b>$p</b> from <b>$SOURCE_REPOSITORY</b> to <b>$PORT_REPOSITORY</b> for porting\"`" >/dev/null
|
MESSAGE=`cgi_encodevar \"imported <b>$p</b> from <b>$SOURCE_REPOSITORY</b> to <b>$PORT_REPOSITORY</b> for porting\"`" >/dev/null
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
#fi
|
||||||
#elif [ "$old_pkg_repository" == "$DEST_REPOSITORY" ]; then
|
#elif [ "$old_pkg_repository" == "$DEST_REPOSITORY" ]; then
|
||||||
# echo "$p: importing from $SOURCE_REPOSITORY to $DEST_REPOSITORY ($pkg_version-$pkg_release -> $old_pkg_version-$old_pkg_release; update type: $update_type)"
|
# echo "$p: importing from $SOURCE_REPOSITORY to $DEST_REPOSITORY ($pkg_version-$pkg_release -> $old_pkg_version-$old_pkg_release; update type: $update_type)"
|
||||||
# if [ ! "$TESTMODE" ]; then
|
# if [ ! "$TESTMODE" ]; then
|
||||||
@ -281,7 +285,7 @@ MESSAGE=`cgi_encodevar \"imported <b>$p</b> from <b>$SOURCE_REPOSITORY</b> to <b
|
|||||||
# fi
|
# fi
|
||||||
# else
|
# else
|
||||||
# echo "$p: upstream package repository $pkg_repository does not match with $DEST_REPOSITORY; skipping."
|
# echo "$p: upstream package repository $pkg_repository does not match with $DEST_REPOSITORY; skipping."
|
||||||
fi
|
# fi
|
||||||
done
|
done
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user