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

Dustin J. Mitchell dustin at v.igoro.us
Sat Sep 3 18:06:14 UTC 2011


On Mon, Aug 29, 2011 at 7:40 PM, Dan Kegel <dank at kegel.com> wrote:
> 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?

I'm not sure what you're seeing -- where did the comment you expect
come from?  What does the try invocation look like?

Dustin




More information about the devel mailing list