[Buildbot-devel] Template system for HTML views (#342 and 1.0)
Marcus Lindblom
macke at yar.nu
Mon May 25 07:49:57 UTC 2009
Dustin J. Mitchell wrote:
> On Sun, May 24, 2009 at 10:43 PM, Stefan Seefeld <seefeld-rieW9WUcm8FFJ04o6PK0Fg at public.gmane.org> wrote:
>> Out of curiosity, how is this going ? Do you have any plans to commit
>
> Work seems to be proceeding apace at:
>
> http://github.com/marcusl/buildbot/commits/jinja
>
> I'm sure extra eyes and hacking would be helpful!
Sure!
At the moment I'm mostly concerning myself with replacing text
concatenation with something more intelligent. However, there are a few
areas that are noticeably lacking when using only a template system
without some backing system for computing urls from objects.
Currently I just use the existing childLink function and pass that to
the template, but I'm sure there are better solutions.
My strategy is to do a one-to-one conversion to jinja templates first,
then, when it's hopefully clearer how the web system hangs together at
large, see what can be refactored/changed to improve usability.
Work is a bit repetitive but oddly satisfying. ;)
Cheers
/Marcus
More information about the devel
mailing list