[Pkg-voip-commits] r7172 - /tools/checkwatches.bash
kilian at alioth.debian.org
kilian at alioth.debian.org
Sat May 9 20:26:55 UTC 2009
Author: kilian
Date: Sat May 9 20:26:55 2009
New Revision: 7172
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=7172
Log:
include report about pending uploads in output.
Modified:
tools/checkwatches.bash
Modified: tools/checkwatches.bash
URL: http://svn.debian.org/wsvn/pkg-voip/tools/checkwatches.bash?rev=7172&op=diff
==============================================================================
--- tools/checkwatches.bash (original)
+++ tools/checkwatches.bash Sat May 9 20:26:55 2009
@@ -2,19 +2,24 @@
set -e
for i in *; do
- if [ ! -d $i ]; then
+ if [ ! -d "$i" ]; then
continue
fi
- if [ ! -d $i/trunk ]; then
+ if [ ! -d "$i/trunk" ]; then
[ "$1" = "-v" ]&&echo "** $i doesn't look like a correct package tree."
continue
fi
echo "** $i ..."
- cd $i/trunk
+ cd "$i/trunk"
if [ ! -f debian/watch ]; then
[ "$1" = "-v" ]&&echo "No watch file found."
else
uscan --report --no-verbose --no-dehs || true
+ if [ "`sed -ne '1s/^.*UNRELEASED.*$/UNRELEASED/p' debian/changelog`" = "UNRELEASED" -a `dpkg-parsechangelog |dpkg-parsechangelog |sed -ne 's/^[^ ].*$//' -e 's/^ [\.]*$//' -e 's/^[\ \*]* NOT RELEASED YET.*//' -e 's/^\ +\[.*\]$//' -e 's/^ //p'|wc -l` -gt 1 ];then
+ echo "Updates pending for next upload:"
+ dpkg-parsechangelog |sed -ne 's/^[^ ].*$//' -e 's/^ [\.]*$//' -e 's/^[\ \*]* NOT RELEASED YET.*//' -e 's/^\ +\[.*\]$//' -e 's/^ //p'
+ fi
+
fi
cd ../..
done
More information about the Pkg-voip-commits
mailing list