From: Joerg Jaspert Date: Wed, 7 Jul 2010 21:03:59 +0000 (+0200) Subject: Merge branch 'master' of ssh://franck.debian.org/srv/ftp.debian.org/git/dak X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=30b9b0dcdc57dd0cfb9df267c86f04e548e25242;hp=6be5aed8f454679a634d194d0dc41d5dc9e5cb22;p=dak.git Merge branch 'master' of ssh://franck.debian.org/srv/ftp.debian.org/git/dak * 'master' of ssh://franck.debian.org/srv/ftp.debian.org/git/dak: Finally kill m68k Support +b[0-9] versions in autobyhand for di --- diff --git a/config/debian/dak.conf b/config/debian/dak.conf index 1411f62a..2e1eb3bb 100644 --- a/config/debian/dak.conf +++ b/config/debian/dak.conf @@ -69,12 +69,12 @@ Mirror-Split FTPPath "/srv/ftp-master.debian.org/ftp"; TreeRootPath "/srv/ftp-master.debian.org/scratch/dsilvers/treeroots"; TreeDatabasePath "/srv/ftp-master.debian.org/scratch/dsilvers/treedbs"; - BasicTrees { alpha; arm; hppa; hurd-i386; i386; ia64; mips; mipsel; powerpc; s390; sparc; m68k }; + BasicTrees { alpha; arm; hppa; hurd-i386; i386; ia64; mips; mipsel; powerpc; s390; sparc; }; CombinationTrees { popular { i386; powerpc; all; source; }; source { source; }; - everything { source; all; alpha; arm; hppa; hurd-i386; i386; ia64; mips; mipsel; powerpc; s390; sparc; m68k; }; + everything { source; all; alpha; arm; hppa; hurd-i386; i386; ia64; mips; mipsel; powerpc; s390; sparc; }; }; }; @@ -638,7 +638,6 @@ Architectures armel "ARM eabi"; i386 "Intel ia32"; ia64 "Intel ia64"; - m68k "Motorola Mc680x0"; mips "MIPS (Big Endian)"; mipsel "MIPS (Little Endian)"; powerpc "PowerPC"; diff --git a/dak/ls.py b/dak/ls.py index 544d366c..85ad4905 100755 --- a/dak/ls.py +++ b/dak/ls.py @@ -56,7 +56,7 @@ Display information about PACKAGE(s). -S, --source-and-binary show info for the binary children of source pkgs ARCH, COMPONENT and SUITE can be comma (or space) separated lists, e.g. - --architecture=m68k,i386""" + --architecture=amd64,i386""" sys.exit(exit_code) ################################################################################ diff --git a/dak/rm.py b/dak/rm.py index 62c5f980..d7697fa4 100755 --- a/dak/rm.py +++ b/dak/rm.py @@ -75,7 +75,7 @@ Remove PACKAGE(s) from suite(s). -S, --source-only remove source only ARCH, BUG#, COMPONENT and SUITE can be comma (or space) separated lists, e.g. - --architecture=m68k,i386""" + --architecture=amd64,i386""" sys.exit(exit_code) diff --git a/scripts/debian/byhand-di b/scripts/debian/byhand-di index 70faceb6..ab01536d 100755 --- a/scripts/debian/byhand-di +++ b/scripts/debian/byhand-di @@ -16,8 +16,8 @@ error() { } # Check validity of version number -# Expected are: YYYYMMDD, YYYYMMDD.x, YYYYMMDDx -if ! echo "$VERSION" | grep -Eq "^[0-9]{8}(|(\.|[a-z]+)[0-9]+)$"; then +# Expected are: YYYYMMDD, YYYYMMDD.x, YYYYMMDDx and the +b[0-9] on the end +if ! echo "$VERSION" | grep -Eq "^[0-9]{8}(|(\.|[a-z]+)[0-9]+)(\+b[0-9])?$"; then error "Invalid version: '$VERSION'" fi @@ -50,10 +50,13 @@ if [ -d "$TARGET/$VERSION" ]; then error "Directory already exists: $TARGET/$VERSION" fi +# We know the VERSION is sane by here, we just need to make sure we escape the + in +b1 (if any) +VERSIONREGEXP="$(echo $VERSION | sed 's@+@\\\+@')" + # We know all data to be in ./installer-/; see if there's # anything else in the tarball except that and the 'current' symlink if tar tzf "$TARBALL" | \ - grep -Eqv "^\./(installer-$ARCH/($VERSION/.*|current|)|)$"; then + grep -Eqv "^\./(installer-$ARCH/($VERSIONREGEXP/.*|current|)|)$"; then error "Tarball contains unexpected contents" fi