From: Ansgar Burchardt Date: Thu, 11 Sep 2014 18:29:11 +0000 (+0200) Subject: dak make-pkg-file-mapping: ensure stable order X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=537794976786121225f13ced601f1a626b557d60;p=dak.git dak make-pkg-file-mapping: ensure stable order Include component and filename in the ORDER BY clause to ensure the output order does not change. --- diff --git a/dak/make_pkg_file_mapping.py b/dak/make_pkg_file_mapping.py index 17537670..e92f5674 100755 --- a/dak/make_pkg_file_mapping.py +++ b/dak/make_pkg_file_mapping.py @@ -53,7 +53,7 @@ def build_mapping(archive, session): JOIN files_archive_map ON files.id = files_archive_map.file_id JOIN component ON files_archive_map.component_id = component.id WHERE files_archive_map.archive_id = :archive_id - ORDER BY source, version + ORDER BY source, version, component.id, files.filename """ query_binaries = """