buildbot/buildbot — pull request #744 by thedylman (2013-05-19 15:34:09+00:00)
Title: Console: support for multiple codebases

This request is for fixing showing multiple codebases in console view.

The main changes/effects are:

1) Only the changes in a build is used to compare with the changeset revision.
The revision id from got_revision is not used.

2) If there are multiple builds with the matching changeset the first one
found is used. So if a slave is lost the build is marked as exception. Then
when the build is restarted that will be used instead.

3) In the current code when multiple codebases is used the default view, buildbot:8010/console, loads all builds!!. As a side effect this is fixed.

4) If a builder does not have the codebase that the change is in, no box is shown. This makes it easier to see what builders a change affects.

There are no unit test for console view, so I don't know where to start.

I had this running for 3 months on a setup with 28 builders each with 50 to 60 codebases.
Console view is by far the most useful and it was just missing support for multiple codebases.