[Buildbot-devel] factory workdir
leif.walsh at gmail.com
Tue Jul 16 15:46:18 UTC 2013
Thanks. This should get things moving.
On Mon, Jul 15, 2013 at 11:44 PM, Dustin J. Mitchell <dustin at v.igoro.us>
> On Wed, Jul 10, 2013 at 4:24 PM, Leif Walsh <leif.walsh at gmail.com> wrote:
>> With a multiple codebase build, what exactly gets passed to a factory
>> workdir function? I'd like to know what API I'll be working with, whether
>> it's a dict or list or just some object. Alternatively, if someone has a
>> way I can sort of trap one of these things in an environment where I can
>> poke at it interactively, or at least print out features of it into a log,
>> that would be enough to get me rolling. I'm not sure how to log from
>> within a factory workdir function.
> It's a SourceStamp object, according to the documentation.
> You can log from just about anywhere either with 'log.msg'
> (twisted.python.log). You can also use 'print', although I try to
> avoid that except for temporary debugging stuff.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the devel