[Buildbot-devel] Multiple change sources and scheduler issues

Dustin J. Mitchell dustin at zmanda.com
Wed Jul 23 14:42:06 UTC 2008


On Wed, Jul 23, 2008 at 7:47 AM, Axel Hecht <l10n.moz at googlemail.com> wrote:
> What do you guys think?

I like the idea, but I haev to say, I really don't like the "color"
terminology.  Also, it seems overly flexible.  Is there a use case
which would not be satisfied by assigning one string to each
ChangeSource (instead of many in a dictionary), and matching that
against a list of strings in the scheduler?  If we do that, then we
don't need a new metaphor -- we can just use the name of the
ChangeSource object:

c['change_source'] = [ ..
  ChangeSource(name="foo", ..)
  ChangeSource(name="bar" ..)
  ChangeSource(name="ding", ..)
  ..
]

c['schedulers'] = [
  Scheduler(changeSources=['foo', 'ding'], ...
  ..
]

Dustin

-- 
Storage Software Engineer
http://www.zmanda.com




More information about the devel mailing list