X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=melanie;h=5f9cd82955d7fbc07cbc61897de33215b44c3009;hb=786a2024fd2fcf90ba8d64001ca7d13ed43b7cba;hp=c196766689743d11f951847c7420d10152c33154;hpb=c846e77a848d60dd115f00faa0d9a854161d99eb;p=dak.git diff --git a/melanie b/melanie index c1967666..5f9cd829 100755 --- a/melanie +++ b/melanie @@ -2,7 +2,7 @@ # General purpose package removal tool for ftpmaster # Copyright (C) 2000, 2001, 2002 James Troup -# $Id: melanie,v 1.31 2002-10-16 02:47:32 troup Exp $ +# $Id: melanie,v 1.34 2003-01-02 18:14:52 troup Exp $ # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -64,12 +64,12 @@ Remove PACKAGE(s) from suite(s). -c, --component=COMPONENT act on this component -C, --carbon-copy=EMAIL send a CC of removal message to EMAIL -d, --done=BUG# send removal message as closure to bug# + -h, --help show this help and exit -m, --reason=MSG reason for removal -n, --no-action don't do anything -p, --partial don't affect override files -s, --suite=SUITE act on this suite -S, --source-only remove source only - -h, --help show this help and exit ARCH, BUG#, COMPONENT and SUITE can be space seperated lists, e.g. --architecture=\"m68k i386\"""" @@ -291,6 +291,7 @@ def main (): versions = d[package].keys(); versions.sort(); for version in versions: + d[package][version].sort(utils.arch_compare_sw); summary += "%10s | %10s | %s\n" % (package, version, ", ".join(d[package][version])); print "Will remove the following packages from %s:" % (suites_list); print @@ -299,7 +300,7 @@ def main (): if Options["Done"]: print "Will also close bugs: "+Options["Done"]; if carbon_copy: - print "Will also send CCs to:" + ", ".join(carbon_copy) + print "Will also send CCs to: " + ", ".join(carbon_copy) print print "------------------- Reason -------------------" print Options["Reason"]; @@ -368,7 +369,7 @@ def main (): Subst["__BCC__"] = "Bcc: " + ", ".join(bcc); else: Subst["__BCC__"] = "X-Filler: 42"; - Subst["__CC__"] = "X-Melanie: $Revision: 1.31 $"; + Subst["__CC__"] = "X-Katie: melanie $Revision: 1.34 $"; if carbon_copy: Subst["__CC__"] += "\nCc: " + ", ".join(carbon_copy); Subst["__SUITE_LIST__"] = suites_list;