Package daklib :: Module announce
[hide private]
[frames] | no frames]

Module announce

source code

module to send announcements for processed packages


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

Copyright: 2012, Ansgar Burchardt <ansgar@debian.org>

License: GPL-2+

Classes [hide private]
  ProcessedUpload
Contains data of a processed upload.
Functions [hide private]
dict
_subst_for_upload(upload)
Prepare substitutions used for announce mails.
source code
 
_whitelists(upload) source code
 
announce_reject(upload, reason, rejected_by=None)
Announce a reject.
source code
 
announce_accept(upload)
Announce an upload.
source code
 
announce_new(upload)
Announce an upload going to NEW.
source code

Imports: os, Config, fix_maintainer, mail_addresses_for_upload, TemplateSubst, send_mail


Function Details [hide private]

_subst_for_upload(upload)

source code 

Prepare substitutions used for announce mails.

Parameters:
Returns: dict
A dict of substition values for use by daklib.utils.TemplateSubst

announce_reject(upload, reason, rejected_by=None)

source code 

Announce a reject.

Parameters:

announce_accept(upload)

source code 

Announce an upload.

Parameters:

announce_new(upload)

source code 

Announce an upload going to NEW.

Parameters: