[debian-edu-commits] r80100 - trunk/src/archive/archivestatus/bin
holger at alioth.debian.org
holger at alioth.debian.org
Fri May 17 16:00:38 UTC 2013
Author: holger
Date: 2013-05-17 16:00:38 +0000 (Fri, 17 May 2013)
New Revision: 80100
Modified:
trunk/src/archive/archivestatus/bin/needs_love
Log:
add support for armhf in wheezy
Modified: trunk/src/archive/archivestatus/bin/needs_love
===================================================================
--- trunk/src/archive/archivestatus/bin/needs_love 2013-05-17 15:51:20 UTC (rev 80099)
+++ trunk/src/archive/archivestatus/bin/needs_love 2013-05-17 16:00:38 UTC (rev 80100)
@@ -47,6 +47,7 @@
# - claim 100% success if there is no diff to Debian
# 2013-05-17, version 0.8
# - s#ETCH#STABLE#g
+# - add armhf in wheezy
#################
################# This code is horrible. READ AT YOUR OWN RISK!
@@ -64,6 +65,7 @@
${SUITE}) HEADER="debian-edu/${SUITE} local" ;;
${SUITE}-test) HEADER="debian-edu/${SUITE}-test local" ;;
powerpc) HEADER="debian-edu/$4/powerpc local" ;;
+ armhf) HEADER="debian-edu/$4/armhf local" ;;
amd64) HEADER="debian-edu/$4/amd64 local" ;;
i386) HEADER="debian-edu/$4/i386 local" ;;
*) HEADER="${!i}";
@@ -95,7 +97,7 @@
let "NR += 1"
done
print_td ${SECURITY_STABLE_S[$NR]}
- elif [ "$5" = "powerpc" ] || [ "$5" = "amd64" ] || [ "$5" = "i386" ] ; then
+ elif [ "$5" = "powerpc" ] || [ "$5" = "armhf" ] || [ "$5" = "amd64" ] || [ "$5" = "i386" ] ; then
print_td "`dak ls -S -a $5 -s $4 $i |head -1|cut -d'|' -f2`"
elif [ -n "$5" ] ; then
print_td "`dak ls -s $5 $i |cut -d'|' -f2`"
@@ -264,14 +266,16 @@
if [ -n "`dak ls -s ${SUITE}-test $i`" ] ; then let "SUITETESTNR += 1" ; fi
STABLE_POWERPC=`dak ls -S -s $SUITE -a powerpc,all $i|grep powerpc|head -1 |cut -d'|' -f2|xargs`
+ STABLE_ARMHF=`dak ls -S -s $SUITE -a armhf,all $i|grep armhf|head -1 |cut -d'|' -f2|xargs`
STABLE_AMD64=`dak ls -S -s $SUITE -a amd64,all $i|grep amd64|head -1 |cut -d'|' -f2|xargs`
STABLE_I386=`dak ls -S -s $SUITE -a i386,all $i|grep i386|head -1 |cut -d'|' -f2|xargs`
- STABLE_ARCHS=`dak ls -S -s $SUITE $i|egrep 'powerpc|i386|amd64'|head -1 |cut -d'|' -f4` # if this is empty, the package is arch all (only)
+ STABLE_ARCHS=`dak ls -S -s $SUITE $i|egrep 'powerpc|armhf|i386|amd64'|head -1 |cut -d'|' -f4` # if this is empty, the package is arch all (only)
STABLE_TEST_POWERPC=`dak ls -S -s $SUITE-test -a powerpc,all $i|grep powerpc|head -1 |cut -d'|' -f2|xargs`
+ STABLE_TEST_ARMHF=`dak ls -S -s $SUITE-test -a armhf,all $i|grep armhf|head -1 |cut -d'|' -f2|xargs`
STABLE_TEST_AMD64=`dak ls -S -s $SUITE-test -a amd64,all $i|grep amd64|head -1 |cut -d'|' -f2|xargs`
STABLE_TEST_I386=`dak ls -S -s $SUITE-test -a i386,all $i|grep i386|head -1 |cut -d'|' -f2|xargs`
- STABLE_TEST_ARCHS=`dak ls -S -s $SUITE-test $i|egrep 'powerpc|i386|amd64'|head -1 |cut -d'|' -f4`
+ STABLE_TEST_ARCHS=`dak ls -S -s $SUITE-test $i|egrep 'powerpc|armhf|i386|amd64'|head -1 |cut -d'|' -f4`
if [ -n "$STABLE_ARCHS" ] ; then {
I_ARCHS=`zcat /org/ftp.skolelinux.org/ftp/dists/${SUITE}/local/source/Sources.gz | grep-dctrl -F Package --eq $i -s Architecture`
@@ -279,6 +283,9 @@
dpkg --compare-versions $STABLE_SOURCE eq $STABLE_POWERPC > /dev/null 2>&1 || if `echo $I_ARCHS|egrep -q 'any|powerpc'` ; then NEEDS_POWERPC_STABLE="$NEEDS_POWERPC_STABLE $i" ; fi
fi
if [ -n "$STABLE_SOURCE" ] ; then
+ dpkg --compare-versions $STABLE_SOURCE eq $STABLE_ARMHF > /dev/null 2>&1 || if `echo $I_ARCHS|egrep -q 'any|armhf'` ; then NEEDS_ARMHF_STABLE="$NEEDS_ARMHF_STABLE $i" ; fi
+ fi
+ if [ -n "$STABLE_SOURCE" ] ; then
dpkg --compare-versions $STABLE_SOURCE eq $STABLE_AMD64 > /dev/null 2>&1 || if `echo $I_ARCHS|egrep -q 'any|amd64'` ; then NEEDS_AMD64_STABLE="$NEEDS_AMD64_STABLE $i" ; fi
fi
if [ -n "$STABLE_SOURCE" ] ; then
@@ -291,6 +298,9 @@
dpkg --compare-versions $STABLE_TEST_SOURCE eq $STABLE_TEST_POWERPC > /dev/null 2>&1 || if `echo $I_ARCHS|egrep -q 'any|powerpc'` ; then NEEDS_POWERPC_STABLE_TEST="$NEEDS_POWERPC_STABLE_TEST $i" ; fi
fi
if [ -n "$STABLE_TEST_SOURCE" ] ; then
+ dpkg --compare-versions $STABLE_TEST_SOURCE eq $STABLE_TEST_ARMHF > /dev/null 2>&1 || if `echo $I_ARCHS|egrep -q 'any|armhf'` ; then NEEDS_ARMHF_STABLE_TEST="$NEEDS_ARMHF_STABLE_TEST $i" ; fi
+ fi
+ if [ -n "$STABLE_TEST_SOURCE" ] ; then
dpkg --compare-versions $STABLE_TEST_SOURCE eq $STABLE_TEST_AMD64 > /dev/null 2>&1 || if `echo $I_ARCHS|egrep -q 'any|amd64'` ; then NEEDS_AMD64_STABLE_TEST="$NEEDS_AMD64_STABLE_TEST $i" ; fi
fi
if [ -n "$STABLE_TEST_SOURCE" ] ; then
@@ -354,8 +364,13 @@
print_table "Packages which are newer in our debian-edu/${SUITE}-test" STABLE_TEST_NEWER_THAN_SECURITY package ${SUITE}-test security
echo "<hr />"
fi
-if [ "$NEEDS_POWERPC_STABLE_TEST" ] || [ "$NEEDS_POWERPC_STABLE" ] || [ "$NEEDS_AMD64_STABLE_TEST" ] || [ "$NEEDS_AMD64_STABLE" ] || [ "$NEEDS_I386_STABLE_TEST" ] || [ "$NEEDS_I386_STABLE" ] ; then
+if [ "$NEEDS_POWERPC_STABLE_TEST" ] || [ "$NEEDS_POWERPC_STABLE" ] || [ "$NEEDS_ARMHF_STABLE_TEST" ] || [ "$NEEDS_ARMHF_STABLE" ] || [ "$NEEDS_AMD64_STABLE_TEST" ] || [ "$NEEDS_AMD64_STABLE" ] || [ "$NEEDS_I386_STABLE_TEST" ] || [ "$NEEDS_I386_STABLE" ] ; then
echo "<h2>Architecture specific issues</h2>"
+ # ignore armhf issues on squeeze
+ if [ "$SUITE" != squeeze ] ; then
+ print_table "Packages which needs build on debian-edu/${SUITE}-test/armhf" NEEDS_ARMHF_STABLE_TEST package ${SUITE}-test armhf
+ print_table "Packages which needs build on debian-edu/${SUITE}/armhf" NEEDS_ARMHF_STABLE package ${SUITE} armhf
+ fi
# ignore powerpc issues on wheezy
if [ "$SUITE" != wheezy ] ; then
print_table "Packages which needs build on debian-edu/${SUITE}-test/powerpc" NEEDS_POWERPC_STABLE_TEST package ${SUITE}-test powerpc
More information about the debian-edu-commits
mailing list