[Buildbot-devel] filtering pending build requests further?

Dustin J. Mitchell dustin at v.igoro.us
Sat Feb 16 20:50:16 UTC 2013


On Tue, Feb 12, 2013 at 11:43 PM, Jorge Gonzalez <gjorge at google.com> wrote:
> db.buidrequests.getBuildRequests() seems to be the way for getting all
> pending build requests. Is there a way to let a master instance further
> filter some requests out from such list?
>
> E.g., in our scenario, we have some configuration abstractions on top of
> Buildbot that declare which repositories and branches we are want to be
> bringing changes in and building at all times. If we suddenly remove say a
> certain branch from such declarative configuration (even if temporarily), it
> might not make sense for us to even consider build requests for changes that
> came in through that branch. So having something like the nextBuild(builder,
> requests) extension point but filtering even earlier, say
> filterCandidateBuildRequests(builder, requests), might be useful under this
> scenario.

This is a query that will be better supported in 'nine'.  There will
be a general filtering, ordering, and column-selecting mechanism, with
room to optimize queries where necessary.

Dustin




More information about the devel mailing list