[Buildbot-devel] Getting the description of a try patch into the MailNotifier subject line

Dan Kegel dank at kegel.com
Tue Aug 30 00:40:12 UTC 2011


The example in
http://buildbot.net/buildbot/docs/latest/MailNotifier.html
says
             if ss.patch_info: # add patch comment
                 source += u" (%s)" % ss.patch_info[1]
but in my try builder, patch_info[1] is always empty.
The build status page shows the right comment, though,
and I found that build.getProperty("comment") got me
what I wanted.

Why the discrepancy?  Is the "comment" property supposed
to be propagated to patch_info[1] somewhere?




More information about the devel mailing list