[Buildbot-devel] Trigger build based on checkin comments?
tom fogal
tfogal at sci.utah.edu
Mon Dec 13 00:23:26 UTC 2010
"Dustin J. Mitchell" <dustin at v.igoro.us> writes:
> On Sun, Dec 12, 2010 at 5:44 PM, tom fogal <tfogal at sci.utah.edu> wrote:
> >> Is this possible?
> >
> > Of course, but I imagine you'd have to define your own poller.
>
> Actually, you'd just need a custom fileIsImportant function, and a
> lot of schedulers. Or one custom scheduler.
Ahh, I misconstrued poller for scheduler here. ... and I also didn't
remember that fileIsImportant got more than just a list of files.
So, Bill, from:
http://buildbot.net/buildbot/docs/current/reference/buildbot.changes.changes.Change-class.html
it looks like you just want to define a fileIsImportant function
that looks at change.asDict()['comment'] for your special string.
If 'comment' doesn't contain the checkin comment, one of the other
dictionary members might... look at the asDict member function in the
above link.
-tom
More information about the devel
mailing list