X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fdak.py;h=8d7776a5ce0a2404ac43318d38fe898c200f52c1;hb=80d5071ea3db5184fde726526e65c9c81391f017;hp=443e4580f535f4a3c6970e8f002b44bab632a196;hpb=5d96dd418e466052dc9ab0198ae42d699bdd0cd3;p=dak.git diff --git a/dak/dak.py b/dak/dak.py index 443e4580..8d7776a5 100755 --- a/dak/dak.py +++ b/dak/dak.py @@ -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,11 +70,11 @@ 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", - "OBSOLETE: replaced by dominate and generate-filelist"), ("make-pkg-file-mapping", "Generate package <-> file mapping"), ("generate-filelist", @@ -204,6 +205,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("-","_"))