X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ashley;h=e832851f83a97204e97b97db2d6f5a320748b082;hb=bfa2095bc1519f2b31faf9d2cde70ea6ef32adbc;hp=194b715dff04ef4aa197a273550c20544459ff75;hpb=3686a00f1001f2d5692fa5e706b898053e39191a;p=dak.git diff --git a/ashley b/ashley index 194b715d..e832851f 100755 --- a/ashley +++ b/ashley @@ -2,7 +2,7 @@ # Dump variables from a .katie file to stdout # Copyright (C) 2001, 2002, 2004 James Troup -# $Id: ashley,v 1.9 2004-04-01 17:14:25 troup Exp $ +# $Id: ashley,v 1.11 2004-11-27 16:05:12 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 @@ -58,7 +58,7 @@ def main(): k = katie.Katie(Cnf); for arg in sys.argv[1:]: - arg = utils.validate_changes_file_arg(arg); + arg = utils.validate_changes_file_arg(arg,require_changes=-1); k.pkg.changes_file = arg; print "%s:" % (arg); k.init_vars(); @@ -67,7 +67,10 @@ def main(): changes = k.pkg.changes; print " Changes:"; # Mandatory changes fields - for i in [ "source", "version", "maintainer", "urgency", "changedby822", "changedbyname", "maintainername", "maintaineremail", "fingerprint" ]: + for i in [ "source", "version", "maintainer", "urgency", "changedby822", + "changedby2047", "changedbyname", "maintainer822", + "maintainer2047", "maintainername", "maintaineremail", + "fingerprint", "changes" ]: print " %s: %s" % (i.capitalize(), changes[i]); del changes[i]; # Mandatory changes lists @@ -75,7 +78,7 @@ def main(): print " %s: %s" % (i.capitalize(), " ".join(changes[i].keys())); del changes[i]; # Optional changes fields - for i in [ "changed-by", "maintainer822", "filecontents", "format" ]: + for i in [ "changed-by", "filecontents", "format" ]: if changes.has_key(i): print " %s: %s" % (i.capitalize(), changes[i]); del changes[i]; @@ -101,7 +104,7 @@ def main(): for i in [ "package", "version", "architecture", "type", "size", "md5sum", "component", "location id", "source package", "source version", "maintainer", "dbtype", "files id", - "new", "section", "priority" ]: + "new", "section", "priority", "pool name" ]: if files[file].has_key(i): print " %s: %s" % (i.capitalize(), files[file][i]); del files[file][i];