[Buildbot-devel] string values from Force Build form
Steve Bachor
steve.bachor at netronome.com
Mon Jun 2 18:19:41 UTC 2014
Dustin,
OK, thanks to you and Vasily. Your comments are appreciated.
Sorry for beating on this. I just wanted to be sure as I thought the
mentioned comments seemed contradictory.
Steve
On 05/22/2014 06:52 PM, Dustin J. Mitchell wrote:
> On Thu, May 22, 2014 at 5:39 PM, Steve Bachor
> <steve.bachor at netronome.com> wrote:
>> Question is about the doc text above, am I correct in thinking the text
>> above, "I can be used by a factory by setting buildClass on
>> L{buildbot.process.factory.BuildFactory}", implies that if I set
>> buildClass on BuildFactory I can get access to the Build instance at
>> build time from a factory, thus getting at these property strings I am
>> after?
> Nope. What you want to do, as Vasily has explained, is PHYSICALLY
> IMPOSSIBLE without inventing time travel. When the BuildFactory is
> defined, there is no Build - it hasn't been invented yet.
>
>> If so, how does one set buildClass on
>> L{buildbot.process.factory.BuildFactory}??
> class MyBuildClass(Build):
> ...
> factory.buildClass = MyBuildClass
>
> Dustin
More information about the devel
mailing list