From: Ryan Murray Date: Wed, 13 Oct 2004 15:58:13 +0000 (+0000) Subject: add sorting of changes files to be uploaded in amber X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=ff9b1fb4ea4b6fad85a91ef7c27f3b2a97ccc427;p=dak.git add sorting of changes files to be uploaded in amber --- diff --git a/amber b/amber index 00bd0baf..01276f77 100755 --- a/amber +++ b/amber @@ -2,7 +2,7 @@ # Wrapper for Debian Security team # Copyright (C) 2002, 2003 James Troup -# $Id: amber,v 1.8 2003-03-14 19:06:02 troup Exp $ +# $Id: amber,v 1.9 2004-10-13 15:58:13 rmurray 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 @@ -65,6 +65,7 @@ def do_upload(changes_files): component_mapping[component] = Cnf["Amber::ComponentMappings::%s" % (component)]; uploads = {}; # uploads[uri] = file_list; package_list = {} # package_list[source_name][version]; + changes_files.sort(utils.changes_compare); for changes_file in changes_files: changes_file = utils.validate_changes_file_arg(changes_file); # Reset variables