[Buildbot-devel] Request For Comments/Review : Console view

Nicolas Sylvain nsylvain at chromium.org
Fri Jul 17 17:11:35 UTC 2009

On Fri, Jul 17, 2009 at 9:57 AM, Dustin J. Mitchell <dustin at zmanda.com>wrote:

> On Fri, Jul 17, 2009 at 11:49 AM, Nicolas Sylvain<nsylvain at chromium.org>
> wrote:
> > I was not aware of this, but if I can get rid of console_html.js I would
> be
> > really happy ;)
> The bad news is, string.Template only appeared in Py2.4, and we
> support Py2.3 (although we still lack a Py2.3 metabuildslave).  This
> wouldn't be so bad, but importing WebStatus imports everything else,
> so this change would preclude using WebStatus on Py2.3.
> So a few solutions present themselves:
>  - make WebStatus only optionally import the console, and document
> that console requires Py2.4
>  - rewrite console to not use Template
>  - write a compatible Template class that's used on Py2.3

Might be a good idea in the long run, maybe not so much right now ;) The
team here at Google is also
trying to convince me to rewrite the console page in ajax and make it never
reload. It would just fetch new
build status as they finish in the background and update the view
dynamically. I have no knowledge of Ajax and
advanced javascript programming, so this is kind of hard, but if I have to
rewrite the frontend of the console page, I'm
hoping I'll have to rewrite it only once ;)


> Dustin
> --
> Open Source Storage Engineer
> http://www.zmanda.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20090717/dc86bfac/attachment.html>

More information about the devel mailing list