Package dak :: Module process_policy
[hide private]
[frames] | no frames]

Module process_policy

source code

Handles packages from policy queues


Contact: Debian FTP Master <ftpmaster@debian.org>

Copyright:

License: GNU General Public License version 2 or later

Functions [hide private]
 
do_comments(dir, srcqueue, opref, npref, line, fn, transaction) source code
 
try_or_reject(function) source code
 
comment_accept(upload, srcqueue, comments, transaction) source code
 
comment_reject(*args) source code
 
real_comment_reject(upload, srcqueue, comments, transaction, notify=True, manual=False) source code
 
remove_upload(upload, transaction) source code
 
get_processed_upload(upload) source code
 
remove_unreferenced_binaries(policy_queue, transaction)
Remove binaries that are no longer referenced by an upload
source code
 
remove_unreferenced_sources(policy_queue, transaction)
Remove sources that are no longer referenced by an upload or a binary
source code
 
usage(status=0) source code
 
main() source code
Variables [hide private]
  Options = None
  Logger = None

Imports: os, datetime, re, sys, traceback, apt_pkg, NoResultFound, sql, daklog, utils, check_upload_for_external_signature_request, Config, ArchiveTransaction, source_component_from_package_list, UrgencyLog, PackageList, daklib


Function Details [hide private]

comment_accept(upload, srcqueue, comments, transaction)

source code 
Decorators:
  • @try_or_reject

comment_reject(*args)

source code 
Decorators:
  • @try_or_reject

remove_unreferenced_binaries(policy_queue, transaction)

source code 

Remove binaries that are no longer referenced by an upload

Parameters:

remove_unreferenced_sources(policy_queue, transaction)

source code 

Remove sources that are no longer referenced by an upload or a binary

Parameters: