[Buildbot-devel] collecting status messages
Dustin J. Mitchell
dustin at v.igoro.us
Mon Feb 13 15:41:52 UTC 2012
On Mon, Feb 13, 2012 at 8:25 AM, Christian Himpel <chressie at gmail.com> wrote:
> I'm thinking about collecting the status information and presenting
> them to Gerrit in only one status message. Has anybody done (something
> like) this before?
>
> As far as I can see, in the status handler, I need to check, if there
> are other builds still running.. I could probably do this with some
> database queries, but I'm wondering, if there's a more convenient way
> to get information about all buildrequests triggered by the same
> sourcestamp (or something like that :))
There aren't currently any *good* ways to do this. But for example
the Dependent scheduler waits until a buildset is complete, and the
looks at the aggregated status of that buildset. You could follow
similar logic.
Dustin
More information about the devel
mailing list