[Blends-commit] r2295 - blends/trunk/webtools

Debian Pure Blends Subversion Commit noreply at alioth.debian.org
Thu Jul 29 14:47:02 UTC 2010


Author: tille
Date: Thu Jul 29 14:47:01 2010
New Revision: 2295
URL: http://svn.debian.org/viewsvn/blends?rev=2295&view=rev

Log:
Inject short test script to test mailing updatable package info


Added:
   blends/trunk/webtools/new_upstream   (contents, props changed)

Added: blends/trunk/webtools/new_upstream
==============================================================================
--- (empty file)
+++ blends/trunk/webtools/new_upstream	Thu Jul 29 14:47:01 2010
@@ -0,0 +1,22 @@
+#!/bin/sh
+# Check for packages of Blend which are not up to date and send
+# E-Mail to Blend developer list
+
+if [ "$1" = "" ] ; then
+    echo "Usage: `basename $0` <projectname>"
+    exit -1
+fi
+conffile="webconf/$1.conf"
+if [ ! -s "$conffile" ] ; then
+    echo "Missing or empty config file $conffile"
+    exit -1
+fi
+if ! grep -iq "^PkgList[[:space:]]*:[[:space:]]*[^[:space:]]\+@[^[:space:]]\+\.[^[:space:]]\+$" $conffile ; then
+    echo "Config file $conffile does not contain valid PkgList field."
+    exit -1
+fi
+
+./new_upstream $1 \
+  | grep -v -e "^Unknown key" \
+            -e "^Hint: WNPP for package" \
+  | mailx -s "Updatable packages" tille at debian.org



More information about the Blends-commit mailing list