dak.process_policy¶
Handles packages from policy queues
@contact: Debian FTP Master <ftpmaster@debian.org> @copyright: 2001, 2002, 2003, 2004, 2005, 2006 James Troup <james@nocrew.org> @copyright: 2009 Joerg Jaspert <joerg@debian.org> @copyright: 2009 Frank Lichtenheld <djpig@debian.org> @copyright: 2009 Mark Hymers <mhy@debian.org> @license: GNU General Public License version 2 or later
Functions
|
|
|
|
|
|
|
|
|
|
|
|
|
Remove binaries that are no longer referenced by an upload |
|
Remove sources that are no longer referenced by an upload or a binary |
|
|
|
|
|
- dak.process_policy.comment_accept(upload: PolicyQueueUpload, srcqueue: PolicyQueue, comments: str, transaction: ArchiveTransaction) None [source]¶
- dak.process_policy.do_comments(dir: str, srcqueue: PolicyQueue, opref: str, npref: str, line: str, fn: Callable[[PolicyQueueUpload, PolicyQueue, str, ArchiveTransaction], None], transaction: ArchiveTransaction) None [source]¶
- dak.process_policy.get_processed_upload(upload: PolicyQueueUpload) ProcessedUpload [source]¶
- dak.process_policy.real_comment_reject(upload: PolicyQueueUpload, srcqueue: PolicyQueue, comments: str, transaction: ArchiveTransaction, notify=True, manual=False) None [source]¶
- dak.process_policy.remove_unreferenced_binaries(policy_queue: PolicyQueue, transaction: ArchiveTransaction) None [source]¶
Remove binaries that are no longer referenced by an upload
- dak.process_policy.remove_unreferenced_sources(policy_queue: PolicyQueue, transaction: ArchiveTransaction) None [source]¶
Remove sources that are no longer referenced by an upload or a binary
- dak.process_policy.remove_upload(upload: PolicyQueueUpload, transaction: ArchiveTransaction) None [source]¶
- dak.process_policy.try_or_reject(function: Callable[[PolicyQueueUpload, PolicyQueue, str, ArchiveTransaction], None]) Callable[[PolicyQueueUpload, PolicyQueue, str, ArchiveTransaction], None] [source]¶