[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] order files so that Packages/Sources files make sense and can be rsync'd sanely



Signed-off-by: Mark Hymers <mhy@debian.org>
---
 dak/generate_filelist.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dak/generate_filelist.py b/dak/generate_filelist.py
index 02f5f18..d0a6459 100755
--- a/dak/generate_filelist.py
+++ b/dak/generate_filelist.py
@@ -36,6 +36,7 @@ def getSources(suite, component, session):
         SELECT path, filename
             FROM srcfiles_suite_component
             WHERE suite = :suite AND component = :component
+            ORDER BY filename
     """
     args = { 'suite': suite.suite_id,
              'component': component.component_id }
@@ -47,6 +48,7 @@ def getBinaries(suite, component, architecture, type, session):
             FROM binfiles_suite_component_arch
             WHERE suite = :suite AND component = :component AND type = :type AND
                   (architecture = :architecture OR architecture = 2)
+            ORDER BY filename
     """
     args = { 'suite': suite.suite_id,
              'component': component.component_id,
-- 
1.6.3.3


Reply to: