[Buildbot-devel] Simple FilePoller change source help

Alexander Sack pisymbol at gmail.com
Sat Jul 7 13:38:57 UTC 2012


On Sat, Jul 7, 2012 at 9:19 AM, Dustin J. Mitchell <dustin at v.igoro.us> wrote:
> On Fri, Jul 6, 2012 at 12:13 PM, Alexander Sack <pisymbol at gmail.com> wrote:
>> What am I doing wrong?  I am using 0.86p1 on CentOS 5.4 (python 2.6).
>
> Since you're using waitForDeferred, you need to decorate _poll with
> @defer.deferredGenerator.  I suspect adding that will get things
> working as expected.
>
> Note that since 0.8.6, Buildbot has switched to using
> @defer.inlineCallbacks.  See
>   http://buildbot.net/buildbot/docs/latest/developer/style.html
> for details.

Let me look at that.  This should be doc'ed under Customizations section!  :-)

Also the tutorial doesn't include the login phase which really threw
me off (no Force build then).

-aps




More information about the devel mailing list