daklib.announce¶
module to send announcements for processed packages
@contact: Debian FTP Master <ftpmaster@debian.org> @copyright: 2012, Ansgar Burchardt <ansgar@debian.org> @license: GPL-2+
Functions
|
Announce an upload. |
|
Announce an upload going to NEW. |
|
Announce a reject. |
Classes
Contains data of a processed upload. |
- class daklib.announce.ProcessedUpload[source]¶
Contains data of a processed upload.
- architecture = None¶
Architectures from changes
- bugs = None¶
Bugs closed in upload
- changed_by = None¶
Changed-By: field contents
- changes = None¶
Contents of .changes file from upload
- changes_filename = None¶
Changes Filename
- fingerprint = None¶
Fingerprint of upload signer
- from_policy_suites = []¶
Policy suites
- maintainer = None¶
Maintainer: field contents
- program = 'unknown-program'¶
Which dak program was in use
- source = None¶
Source value from changes
- sourceful = None¶
Did upload contain source
- suites = []¶
Destination suites
- version = None¶
Version from changes
- warnings = []¶
Eventual warnings for upload
- daklib.announce._subst_for_upload(upload: ProcessedUpload) dict [source]¶
Prepare substitutions used for announce mails.
- Parameters:
upload – upload to handle
- Returns:
A dict of substition values for use by
daklib.utils.TemplateSubst()
- daklib.announce._whitelists(upload: ProcessedUpload)[source]¶
- daklib.announce.announce_accept(upload: ProcessedUpload) None [source]¶
Announce an upload.
- Parameters:
upload – upload to handle
- daklib.announce.announce_new(upload: ProcessedUpload) None [source]¶
Announce an upload going to NEW.
- Parameters:
upload – upload to handle