[Buildbot-devel] BuildFactory.addStep()
Stefan Seefeld
seefeld at sympatico.ca
Tue Jan 2 14:39:51 UTC 2007
Hi there,
I'm looking into upgrading a buildbot installation where I use a number
of builders all sharing most steps (typically the difference is in the
configuration only).
I notice that the new recommended way to create steps is to use
BuildFactory.addStep(type, **params). I think a much more use-case is
step = some_step_factory()
...
builder.addStep(step)
In other words, I think it would be more 'ergonomic' to have users
create steps as free-standing objects, and then assign them to builders.
For example, I'm not sure why I couldn't use a syntax as simple as
checkout = step.SVN(baseurl='...', mode='update')
configure_1 = step.Configure(command=[...])
configure_2 = step.Configure(command=[...])
to create individual steps, before setting up builders as
builder_1 = BuildFactory(checkout, configure_1, compile, test)
builder_2 = BuildFactory(checkout, configure_2, compile, test)
...
I understand that I'm really just asking for simpler syntax, as all the above
I can already do, though the code is, IMO, not as concise as it could be.
Many thanks (and a Happy New Year !),
Stefan
--
...ich hab' noch einen Koffer in Berlin...
More information about the devel
mailing list