X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fgenerate_filelist.py;h=43a76054fefe2a3d21543e5b41a1a13251093ed0;hb=fc35ff4d09d4c622b21dabdc10afbb09c78d1d02;hp=02f5f18518b7985e31ddcb2e0099837e6db54b6f;hpb=9a14adff2ca4e7a5346c0c3b5723d9959022291a;p=dak.git diff --git a/dak/generate_filelist.py b/dak/generate_filelist.py index 02f5f185..43a76054 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, @@ -83,10 +85,10 @@ def usage(): print """Usage: dak generate_filelist [OPTIONS] Create filename lists for apt-ftparchive. - -s, --suite=SUITE act on this suite + -s, --suite=SUITE act on this suite -c, --component=COMPONENT act on this component - -a, --architecture=ARCH act on this architecture - -h, --help show this help and exit + -a, --architecture=ARCH act on this architecture + -h, --help show this help and exit ARCH, COMPONENT and SUITE can be comma (or space) separated list, e.g. --suite=testing,unstable"""