8 | | There's an experimental branch which supports this proposal: [source:cboos.git@jinja2] (mirror available in [https://github.com/cboos/trac.git github]). |
9 | | |
10 | | Several points remain to be clarified: |
11 | | * what will be the upgrade path for plugins that came to rely on `ITemplateStreamFilter`s? |
12 | | - 127/898 plugins (14.1%) on trac-hacks.org use `filter_stream()` |
13 | | - -> [PortingFromGenshiToJinja#ReplacingITemplateStreamFilter replacing ITemplateStreamFilter] |
14 | | * how to handle themeing? -> see HtmlTemplates#Jinjaarchitecture |
15 | | * should we rewrite tag builders or use lightweight string templates? -> [PortingFromGenshiToJinja#tag tag] `Fragment`/`Element` builder has been reimplemented |
| 8 | There's an experimental branch which supports this proposal: [source:cboos.git@jinja2] \\ |
| 9 | (mirror available in [https://github.com/cboos/trac.git github] - |
| 10 | [[Image(https://travis-ci.org/cboos/trac.svg?branch=jinja2,link=https://travis-ci.org/cboos/trac,valign=bottom)]] on Travis, |
| 11 | [[Image(https://ci.appveyor.com/api/projects/status/kqgv4awct01hsl7t/branch/jinja2,link=https://ci.appveyor.com/project/cboos/trac/branch/jinja2,valign=bottom)]] on AppVeyor) |
| 12 | |
| 13 | [=#Status Status] of the branch (2016-03-17): |
| 14 | - ported **63%** of the Genshi templates, 2 unit-tests failure (with mysql and psql), 8 functional tests failures |
| 15 | - clarify upgrade path for plugins that came to rely on `ITemplateStreamFilter`s? |
| 16 | (127/898 plugins (14.1%) on trac-hacks.org use `filter_stream()`) |
| 17 | DONE -> see [PortingFromGenshiToJinja#ReplacingITemplateStreamFilter replacing ITemplateStreamFilter] |
| 18 | * clarify how to handle themeing? DONE -> see HtmlTemplates#Jinjaarchitecture |
| 19 | * rewrite tag builders ~~or use lightweight string templates~~? DONE -> [PortingFromGenshiToJinja#tag tag] `Fragment`/`Element` builder API has been reimplemented |
| 20 | - accesskey support TODO |
| 21 | - hack `ITemplateStreamFilter` support for Jinja2 templates TODO |
| 22 | - site.html replacement (e.g. try to reproduce t.e.o customizations) TODO |