Mercurial > treepkg
view demonotification.cfg @ 274:2676abfc0e1d
Refactoring: Implement do_package in treepkg.packager.SourcePackager.
The actual implementation in the derived classes is almost identical in
all cases so it's better to have as much of the implementation in the
base class. The update_version_numbers method is not called directly by
the base class code so is removed from the base class. OTOH,
prepare_sources_for_tarball has been added as a more general variant of
update_version_numbers that is actually called by the default
implementation of do_package.
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Thu, 07 May 2009 15:19:15 +0000 |
parents | f72530307eea |
children | e4c0beab5328 |
line wrap: on
line source
# Demo config file for sendnotificationmails.py. The default config # file used by sendnotificationmails.py is notification.cfg, so to use # this file as the basis for your configuration, copy or rename this # file and adapt it to your needs. [notification] # Username and host on which the treepackager runs. # sendnotificationmails.py has to be able to connect to that host as the # builduser via ssh without knowing the password. This is best # achieved with the ssh-agent. build_user: builder build_host: localhost # the program to run on build_host to list the pending notifications # currently sendnotificationmails.py assumes that the default # configuration for that program works. build_listpending: ~/treepkg/bin/listpendingnotifications.py # Template of the notification email. The expanded text is sent as the # entire email. This means that the file should contain both the # headers and the body of the email. The recipients of the mail are # taken from the expanded template's To: and CC: headers. The smtp # envelope sender is taken from the From: header. # # Substitutions have the form %(NAME)s where NAME can be one of these: # # track The name of the package track # # revision The revision number for which the notification has to be sent # # notification_template: notification_template.txt # host/port of the smtp server to use smtp_host: localhost smtp_port: 25