[Buildbot-devel] Ported frm .11p3 to released .12; customizing waterfall ?
Marcus Lindblom
macke at yar.nu
Fri Jan 22 10:51:41 UTC 2010
On 2010-01-22 08:04, naman jain wrote:
> Hey guys,
>
> I just ported my buildbot to ver 0.12. I realize that the css file has
> been taken off the public_html directory in master.
> I see a colourless page for my waterfall.
Oops. :-(
The default css is now called default.css (not buildbot.css), and this
should be in 0.7.12. (It's a new one.)
It should've been copied from buildbot/status/web into your public_html
on upgrade, IIUC. (Or your current should've been renamed, but I'm not
sure if we do that or not.)
Anyway, it appears as if the css-file isn't there, or has the wrong name.
Since it's possible to change the css that webstatus uses from
master.cfg, you'd best check with your webbrowser what css-file the
waterfall page references and then make sure you have such a file in
your master's public_html-directory.
(It could be a simple 'mv buildbot.css default.css' in master/public_html.)
Then you can change that file as you wish, just as before.
> How do I go about customizing and adding a new template for the
> waterfall and other pages?
The Jinja templates are not available in 0.7.12, but they will be in
0.8. As it was a big change to all WebStatus-code, plus the adding of
new dependency, I didn't feel comfortable introducing it into the
0.7.x-series. (The main new web-parts in 0.7.12 is the new css file and
the console view, nothing more.)
Also, in 0.8, all static web-files are stored in
buildbot/status/web/files (and copied from there when running
create-master), and not ntermingled with the python code in
buildbot.status.web.
Cheers,
/Marcus
More information about the devel
mailing list