Next: , Previous: Parsing Email Change Messages, Up: Mail-parsing ChangeSources


4.6.4.4 FCMaildirSource

http://twistedmatrix.com/users/acapnotic/wares/code/CVSToys/

This parser works with the CVSToys MailNotification action, which will send email to a list of recipients for each commit. This tends to work better than using /bin/mail from within the CVSROOT/loginfo file directly, as CVSToys will batch together all files changed during the same CVS invocation, and can provide more information (like creating a ViewCVS URL for each file changed).

The Buildbot's FCMaildirSource knows for to parse these CVSToys messages and turn them into Change objects. It can be given two parameters: the directory name of the maildir root, and the prefix to strip.

     from buildbot.changes.mail import FCMaildirSource
     c['change_source'] = FCMaildirSource("~/maildir-buildbot")