[Buildbot-devel] Customizing index.html

Axel Hecht l10n.moz at googlemail.com
Wed Aug 27 08:37:03 UTC 2008


2008/8/27 Dustin J. Mitchell <dustin at zmanda.com>:
> On Tue, Aug 26, 2008 at 8:33 PM, Jimmy John <jimmyj_in at yahoo.com> wrote:
>> what is the recommended way to extend the index.html.
>
> The best way is to look at one of the existing "minor" resources,
> e.g., BuildersResource, as an example.
>
> Dustin

Once you have a HTMLResource impl, you want to add it to the logic,
too, you do that with putChild on the WebStatus object. I subclassed
WebStatus, but I don't think that's necessary, you probably can call
putChild from master.cfg, too. I didn't try that though. See the
WebStatus.setupUsualPages in buildbot/status/baseweb.py

Axel




More information about the devel mailing list