[Buildbot-devel] Upgrade headache: when are start() and finished() called?

Dustin J. Mitchell dustin at zmanda.com
Fri May 7 19:08:48 UTC 2010

On Tue, May 4, 2010 at 9:01 AM, Greg Ward <greg at gerg.ca> wrote:
> OK, so the contract has changed.  Obviously I can workaround this with
> try/except in my finished() method, but that seems kludgey.  My hunch
> is that I should be initializing self.__observer somewhere other than
> start(): somewhere that is guaranteed to be called once for every
> actual build step that either runs or is skipped.  Is there such a
> method?

There is no real "contract" - Step semantics have been defined by
implementation, and the implementation changes.  Sorry about that :(

That said, this seems an odd way to implement doStepIf.  Can you file
a bug with milestone 0.8.1 and hopefully someone can take a look at


Open Source Storage Engineer

More information about the devel mailing list