[Buildbot-devel] Multiple factories for one Builder
Ben Hearsum
bhearsum at mozilla.com
Wed May 21 16:03:25 UTC 2008
Hi all,
I'm just starting to write factories for some of our processes. To
help avoid duplication I was hoping to be able to chain factories
together. For example, I'd like to have something like..
class MyBuildFactory(BuildFactory):
...
class MyUploadFactory(BuildFactory):
...
etc.
And in the master.cfg be able to tell a builder to run through all of
the factories when doing a build, either by giving the Builder a list,
merging them together myself, etc. It appears this is not a supported
use case at the moment. I was wondering if I'm missing a feature here,
or if it is just not possible. In the case the latter, is something
that would be useful to others? I was thinking of adding some handling
for it in the BuildFactory class. I _think_ if instances of
BuildFactory() were handled in addStep, _makeStepFactory, and maybe
__init__ it might just work.
- Ben
More information about the devel
mailing list