[Buildbot-devel] Merging buildrequests and custom build properties

Ben Hearsum bhearsum at mozilla.com
Thu May 22 15:42:30 UTC 2008


FWIW, I did something related this week by subclassing SourceStamp in  
a custom scheduler.

class MyScheduler(Scheduler):
   UmergableSourceStamp(SourceStamp):
     def canBeMergedWith(self, other):
       def False
   bs = BuildSet(self.builderNames, UnmergableSourceStamp(...)
   self.submit(bs)

On 22-May-08, at 11:37 AM, Dustin J. Mitchell wrote:

> On Thu, May 22, 2008 at 10:28 AM, Axel Hecht  
> <l10n.moz at googlemail.com> wrote:
>> For the buildrequests, I'd propose to only merge if the source stamps
>> merge, and if the properties are the same.
>
> Thanks for the example.  I think I've got it.  Again, I'll take a more
> general approach: we find some way to specify a BuildRequest subclass
> in the configuration, and then you can write your own
> MozBuildRequest.canBeMergedWith.
>
> What do you think?
>
> Dustin
>
> -- 
> Storage Software Engineer
> http://www.zmanda.com
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel





More information about the devel mailing list