[Buildbot-devel] Inheritance of Properties by Triggerables

Dustin J. Mitchell dustin at zmanda.com
Fri Apr 17 02:22:37 UTC 2009


On Thu, Apr 16, 2009 at 6:44 PM, Doug Latornell <doug at sadahome.ca> wrote:
> So, question #1: Am I right to expect that the make_refs property would be
> passed from the Nightly or Try_Jobdir scheduler to the Triggerable
> scheduler?  It seems like a reasonable behaviour to me.

No, we don't want to automatically inherit properties.

> Question #2:  If the Triggerable can't or shouldn't inherit the make_refs
> property and my work around is the correct way to do things, is there a way
> to pass the property along without going through the WithProperties.render()
> method so that the type of the property values doesn't get mangled (or have
> to be managed)?

Yes, this needs to be fixed.  Another user was asking about this
recently, and I thought there was a bug for it, but I can't find it
now.  Will you file one at buildbot.net?

> I guess the inevitable question #3 is: Have I missed the boat somewhere in
> all of the above because there is a simpler way of passing the product of
> one build to another build?

No, you've identified a legitimate problem.

Dustin

-- 
Open Source Storage Engineer
http://www.zmanda.com




More information about the devel mailing list