[Pkg-haskell-commits] darcs: tools: More verbose output

Joachim Breitner mail at joachim-breitner.de
Sun Oct 14 11:58:23 UTC 2012


Sun Oct 14 11:58:06 UTC 2012  Joachim Breitner <mail at joachim-breitner.de>
  * More verbose output
  Ignore-this: 43b9a0b40f1b839b154105b63028ccf7

    M ./debian2dsc.sh -1 +10
    M ./mass-build.sh +2

Sun Oct 14 11:58:06 UTC 2012  Joachim Breitner <mail at joachim-breitner.de>
  * More verbose output
  Ignore-this: 43b9a0b40f1b839b154105b63028ccf7
diff -rN -u old-tools//debian2dsc.sh new-tools//debian2dsc.sh
--- old-tools//debian2dsc.sh	2012-10-14 11:58:22.906718682 +0000
+++ new-tools//debian2dsc.sh	2012-10-14 11:58:22.906718682 +0000
@@ -14,7 +14,16 @@
 
 if [ -z "$DIRS" ]
 then 
-   echo "Usage: $0 [dir ...]"
+   cat <<__END__
+Usage: $0 [dir ...]
+
+Expects directories containing the contents of the debian/ directory of a
+Debian source package (i.e. control, changelog, watch, ...). Uses the watch
+file to retrieve the upstream tarball (unless it already exists in the local
+directory), creates a debian.tar.gz tarball from the given directory (ignoring
+the ususal suspects like _darcs and *~) and creates a corresponding .dsc file;
+all without unpacking the upstream tarball.
+__END__
    exit 1
 fi
 
diff -rN -u old-tools//mass-build.sh new-tools//mass-build.sh
--- old-tools//mass-build.sh	2012-10-14 11:58:22.890718420 +0000
+++ new-tools//mass-build.sh	2012-10-14 11:58:22.914718312 +0000
@@ -154,10 +154,12 @@
 		pushd $dir >/dev/null
 		debcommit -r
 		popd >/dev/null
+		echo "Building $dir was successful"
 	else
 		#rm -f setup.sh
 		buildfailed="$buildfailed $dir"
 		popd >/dev/null
+		echo "Building $dir failed"
 	fi
 done
 





More information about the Pkg-haskell-commits mailing list