[Repoze-dev] [issue88] Autoreloading for repoze.bfg.jinja2

2009-06-08 Thread Sean Gillies

New submission from Sean Gillies sean.gill...@gmail.com:

Autoreloading isn't supported in repoze.bfg.jinja2, but adding it was easy
enough. Test included.

--
messages: 235
nosy: sgillies
priority: feature
status: unread
title: Autoreloading for repoze.bfg.jinja2
topic: repoze.bfg

__
Repoze Bugs b...@bugs.repoze.org
http://bugs.repoze.org/issue88
__
___
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev


[Repoze-dev] [issue88] Autoreloading for repoze.bfg.jinja2

2009-06-08 Thread Sean Gillies

Sean Gillies sean.gill...@gmail.com added the comment:

New patch including loader which implements the mtime based reloading suggested
in jinja2.loaders. And doctests.

__
Repoze Bugs b...@bugs.repoze.org
http://bugs.repoze.org/issue88
__

autoreload.patch
Description: Binary data
___
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev


[Repoze-dev] [issue88] Autoreloading for repoze.bfg.jinja2

2009-06-08 Thread admin

System message:


__
Repoze Bugs b...@bugs.repoze.org
http://bugs.repoze.org/issue88
__
___
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev


[Repoze-dev] [issue88] Autoreloading for repoze.bfg.jinja2

2009-06-08 Thread Sean Gillies

Sean Gillies sean.gill...@gmail.com added the comment:

Okay, here's the latest patch. 100% test coverage and *much* less code. It works
with the jinja2 environment, adjusting its auto_reload attribute to match the
settings whenever get_source is called.

__
Repoze Bugs b...@bugs.repoze.org
http://bugs.repoze.org/issue88
__

autoreload.patch
Description: Binary data
___
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev


[Repoze-dev] [issue88] Autoreloading for repoze.bfg.jinja2

2009-06-08 Thread Chris McDonough

Chris McDonough chr...@plope.com added the comment:

I merged a modified version of your patch to the trunk, thanks Sean!

--
status: chatting - resolved

__
Repoze Bugs b...@bugs.repoze.org
http://bugs.repoze.org/issue88
__
___
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev