From 537794976786121225f13ced601f1a626b557d60 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Thu, 11 Sep 2014 20:29:11 +0200 Subject: [PATCH] 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. --- dak/make_pkg_file_mapping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = """ -- 2.39.5