]> git.decadent.org.uk Git - dak.git/blobdiff - dak/dak.py
Merge remote branch 'stew/contents' into merge
[dak.git] / dak / dak.py
index 1d9336dbfb1e5ee9c364726e5b6e3c1d836c87bb..9be8430069e6ad2be5994c82d5f26818358aaf2a 100755 (executable)
@@ -37,6 +37,7 @@ import os
 import sys
 import traceback
 import daklib.utils
+import warnings
 
 from daklib.daklog import Logger
 from daklib.config import Config
@@ -69,9 +70,13 @@ def init():
          "Process NEW and BYHAND packages"),
         ("process-upload",
          "Process packages in queue/unchecked"),
+        ("process-policy",
+         "Process packages in policy queues from COMMENTS files"),
 
+        ("dominate",
+         "Remove obsolete source and binary associations from suites"),
         ("make-suite-file-list",
-         "Generate lists of packages per suite for apt-ftparchive"),
+         "OBSOLETE: replaced by dominate and generate-filelist"),
         ("make-pkg-file-mapping",
          "Generate package <-> file mapping"),
         ("generate-filelist",
@@ -202,6 +207,10 @@ def main():
                 daklib.utils.warn("unknown command '%s'" % (cmdname))
                 usage(functionality, 1)
 
+    # We do not care. No idea wth sqlalchemy warns about them, makes no sense,
+    # so we ignore it.
+    warnings.filterwarnings("ignore", 'Predicate of partial index')
+
     # Invoke the module
     module = __import__(cmdname.replace("-","_"))