[Buildbot-devel] jinja: user customization and public_html?

Marcus Lindblom macke at yar.nu
Mon Dec 21 19:52:20 UTC 2009


On 2009-12-21 18:07, Dustin J. Mitchell wrote:
> Marcus, moving public_html/index.html to templates/root.html has the
> problem that it will *always* overwrite root.html on upgrade, unless
> you special-case the built-in index.html's (recall we discussed
> storing hashes of the default files).

Not if the master-instance's template dir is empty by default, which was 
my plan.

I.e. you only put a file there if you intend to override a shipped 
template, leave it empty if you're satisfied with the default.

And, on upgrade, assume people have overridden index.html (i.e. copy to 
root.html) but warn them that we make this assumption.

Cheers,
/Marcus





More information about the devel mailing list