Opened 7 years ago

Closed 3 years ago

#993 closed enhancement (fixed)

Expose builder category information in the db and data api

Reported by: exarkun Owned by: jaredgrubb
Priority: minor Milestone: 0.9.0
Version: Keywords:

Description (last modified by dustin)

Builders can have a category (maybe multiple categories in the future). Twisted uses this to segregate builders into those for supported platforms (which we always keep green) and those for unsupported platforms (which we try to improve but can be red).

The categories are defined in the master config, where they can't really be extracted by other tools (and certainly the information isn't available remotely). It informs certain views (ie, html generation), which indirectly reveals the categories. But the information can't be worked with in this form without scraping html.

It would be great if there were a way to get this information in a structured way. For example, an XML-RPC call which accepts a builder name and returns a category (there's already an XML-RPC call that returns all builder names). Or perhaps an XML-RPC call like the existing getAllBuilders but the response to which includes more information per builder than just the name.

This would let external tools interact with buildbot more easily and with less duplication of configuration (for example, the build forcing tool Twisted uses, which triggers a build on all "supported" category builders, which currently keeps a copy of the list of builders which are in that category).

Change History (6)

comment:1 Changed 7 years ago by dustin

  • Milestone changed from undecided to 0.8.+

I agree - this would be a good thing to add to one of the RPC APIs we have. I'm not sure which one, especially since XMLRPC is gone. Needs thought.

comment:2 Changed 6 years ago by dustin

  • Milestone changed from 0.8.+ to 0.9.0

comment:3 Changed 4 years ago by dustin

  • Description modified (diff)
  • Owner set to jaredgrubb
  • Status changed from new to assigned

comment:4 Changed 4 years ago by tardyp

  • Summary changed from Expose category information in a structured way to Expose builder category information in the db and data api

changed the title.

In order to address this requirement, the category needs to be in the builders db table, like it is in the changes table.

Then it needs to propagate through the data api.

comment:5 Changed 3 years ago by dustin

  • Version 0.8.1 deleted

comment:6 Changed 3 years ago by dustin

  • Resolution set to fixed
  • Status changed from assigned to closed

builders now have tags, so this is done

Note: See TracTickets for help on using tickets.