]> git.donarmstrong.com Git - dak.git/commitdiff
order files so that Packages/Sources files make sense and can be rsync'd sanely
authorMark Hymers <mhy@debian.org>
Wed, 4 Nov 2009 10:33:41 +0000 (10:33 +0000)
committerMark Hymers <mhy@debian.org>
Wed, 4 Nov 2009 10:33:46 +0000 (10:33 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
dak/generate_filelist.py

index 02f5f18518b7985e31ddcb2e0099837e6db54b6f..d0a64596eff5579ec51b42db2a357af0b2dbaf79 100755 (executable)
@@ -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,