[Buildbot-devel] BuildStep tangle

Tom Prince tom.prince at ualberta.net
Thu Feb 23 07:30:44 UTC 2012


I have implemented code for handling build step factories without need
for user support here:

https://github.com/tomprince/buildbot/compare/buildbot:master...magic-__new__

In particular, it makes the .addFactoryArguments calls unneccessary
(although the function itself remains, for backwards comaptabilty).
It does this by capturing the arguments passed to __init__, by
overriding BuildStep.__new__.

This supports the current preferred form of calling .addStep with a
BuildStep instance, but doesn't support the tuple form of specifying
step factories.

My plan is to officially deprecate the undocumented tuple form for
arguments to .addStep in 0.8.6, which is going to be released shortly,
and then merge the new code once 0.8.6 has been released.

  Tom




More information about the devel mailing list