Perhaps Roberto can publish his updates then. I'd be willing to test
them certainly. I agree with the order of updates you suggest. Python
3 is not even a particular interest of mine at the moment, though longer
term it should be. My installation is still running on Python2.
Robert Kuropkat
On 2/7/22 10:08 AM, RjOllos wrote:
On Monday, February 7, 2022 at 7:05:50 AM UTC-8 [email protected] wrote:
Hi all,
I worked some hours trying to upgrade my TestManagerForTracPlugin
to Python3 and the latest Trac, and after having fixed the
deprecated db api and several other issues I found out that the
Genshi template engine has been replaced with Jinja2 and
the ITemplateStreamFilter is no longer supported. (BTW, the reason
seems to be performance problems with Genshi... Actually we
haven't ever faced any in our organization...)
Unfortunately, the plugin is heavily (if not completely) based on
the ITemplateStreamFilter machanism, in order o decorate Wiki
pages, and a bit also the Ticket pages, with the set of contents
and controls related to test catalogs and test cases.
This allows users to leverage the power of the Wiki, and of any
other plugins that augment it, while dealing with test
descriptions and metadata.
Rewriting the plugin completely, to replace template filtering
with JavaScript as recommended, besides being an awkward approach,
is something I can't currently undergo, unfortunately.
Roberto
I would treat the 3 changes separately in this order:
1. Deprecated database API (Trac 1.2)
2. Port to Jinja2 (Trac 1.4)
3. Python3 (Trac 1.6)
If you complete just (1), you'll have compatibility with Trac 1.4,
which still supports Genshi in most ways while recommending Jinja2.
Ryan
--
You received this message because you are subscribed to the Google
Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/trac-users/b5143843-d7d5-45d7-ae21-2d8142fa4698n%40googlegroups.com
<https://groups.google.com/d/msgid/trac-users/b5143843-d7d5-45d7-ae21-2d8142fa4698n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/trac-users/b27d2af4-a308-e562-ad0f-5cd291a30daa%40gmail.com.