summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-11-12 10:35:34 +0100
committerHolger Levsen <holger@layer-acht.org>2012-11-12 10:35:34 +0100
commit2f89c98ea59490312dd6bd7e91fb3e58592a3980 (patch)
tree39b7e3ded0921c99d7ee0da23b75d824a9e00dad
parentd6f1286091b5607fa9e0e208b1f07d7e685ff144 (diff)
downloadjenkins.debian.net-2f89c98ea59490312dd6bd7e91fb3e58592a3980.tar.xz
ignore all installation manuals
-rwxr-xr-xbin/webcheck_url.sh30
1 files changed, 30 insertions, 0 deletions
diff --git a/bin/webcheck_url.sh b/bin/webcheck_url.sh
index fee02ba1..1c31f2d0 100755
--- a/bin/webcheck_url.sh
+++ b/bin/webcheck_url.sh
@@ -52,6 +52,36 @@ if [ "${URL:0:21}" = "http://www.debian.org" ] ; then
fi
#
+# ignore some extra patterns (=the installation manual for all releases and all archs) when checking www.debian.org
+#
+if [ "${URL:0:21}" = "http://www.debian.org" ] && [ "${URL: -1}" != "/" ] ; then
+ RELEASES="slink potato woody sarge etch lenny squeeze wheezy stable"
+ SLINK="i386 m68k alpha sparc"
+ POTATO="$SLINK powerpc arm"
+ WOODY="$POTATO hppa ia64 mips mipsel s390"
+ SARGE=$WOODY
+ ETCH="$SARGE amd64"
+ LENNY="$ETCH armel"
+ SQUEEZE="amd64 i386 alpha sparc powerpc hppa ia64 mips mipsel s390 kfreebsd-amd64 kfreebsd-i386"
+ STABLE=$SQUEEZE
+ WHEEZY=$SQUEEZE
+ #JESSIE=$WHEEZY # also needs to be added to RELEASES above
+ for RELEASE in $RELEASES ; do
+ RELEASEVAR=$(echo $RELEASE | tr "[:lower:]" "[:upper:]")
+ for ARCH in ${!RELEASEVAR} ; do
+ PARAMS="$PARAMS -y www\.debian\.org/releases/$RELEASE/$ARCH/"
+ done
+ done
+ #
+ # Remind, that this needs to be updated manually
+ #
+ if [ $(date +%Y) -gt 2013 ] ; then
+ echo "next Warning: It's not 2013 anymore, check which architectures Jessie has for real."
+ fi
+fi
+
+
+#
# $PATTERNS can only be used to ignore patterns atm
#
if [ "$PATTERNS" != "" ] ; then