From: Joerg Jaspert Date: Tue, 10 Nov 2009 23:39:13 +0000 (+0100) Subject: call do_new and action X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=4f5ce8467a1c46900779c9ac1de9204acc2a6d3c;p=dak.git call do_new and action Signed-off-by: Joerg Jaspert --- diff --git a/dak/process_new.py b/dak/process_new.py index 3028edbb..36340d27 100755 --- a/dak/process_new.py +++ b/dak/process_new.py @@ -865,6 +865,7 @@ def do_pkg(changes_file, session): new_queue = get_policy_queue('new', session ); u = Upload() u.pkg.changes_file = changes_file + (u.pkg.changes["fingerprint"], rejects) = utils.check_signature(changes_file) u.load_changes(changes_file) u.pkg.directory = new_queue.path u.update_subst() @@ -885,8 +886,13 @@ def do_pkg(changes_file, session): if not recheck(u, session): return - do_new(u,session) - + # FIXME: This does need byhand checks added! + print "files is %s" % (u.pkg.files) + new = determine_new(changes_file, files) + if new: + do_new(u, session) + else: + do_accept(u) # (new, byhand) = check_status(files) # if new or byhand: # if new: