Webtools/BuildAPI

This is a rough requirements doc for bug 487036 (with further detail in bug 625417, duped).

The goal is to build a RESTian API against the buildbot database.

Constructicon

Constructicon is a project to create an API against the buildbot db. The purpose is to replace all those scripts that scrape the builds ftp server.

Related bugs

Calls needed

Changeset by buildid

Summary

  • Get changeset for buildid
  • Get changeset for buildid and regression range (not sure how this differs)

Buildids by date

Summary

  • Get buildids for date and optional repo

URL

GET on [product]/nightlies/[date]/[optional repo] returns JSON containing builds from that date for a repo or all repos if not specified, ids, links to download on ftp, etc

Questions: what's a repo? is this valid for anything other than nightlies?

Latest build

Summary

  • Get latest build for product or repo