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

Dustin J. Mitchell dustin at zmanda.com
Fri Jul 17 16:57:26 UTC 2009


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

Dustin

-- 
Open Source Storage Engineer
http://www.zmanda.com




More information about the devel mailing list