Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
0.12beta getting closer
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 42 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Christian Boos  
View profile  
 More options Mar 22 2010, 9:17 am
From: Christian Boos <cb...@neuf.fr>
Date: Mon, 22 Mar 2010 14:17:09 +0100
Local: Mon, Mar 22 2010 9:17 am
Subject: 0.12beta getting closer
Hi,

We're getting quite close to being able to release a beta of 0.12. While
there are still a few important tickets to be finished first (#9060 for
example), we're really getting there.

I'm going to update the Trac Guide on t.e.o in a few days, moving the
0.12/ pages to the toplevel. The current toplevel pages will be archived
below 0.11/. It would be nice to get some proof reading first, see
http://trac.edgewall.org/wiki/0.12 (for some pages it has already been
done, check the history).

Actually, that pre-release version of 0.12 could even be called 0.12rc1,
as I don't expect many changes till the final release. Also, we may
still want to release 0.11.8 in parallel, as I messed up a few things
with 0.11.7 (e.g. r9391, to be backported).

-- Christian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Which genshi version for Trac 0.12? (was: 0.12beta getting closer)" by W. Martin Borgert
W. Martin Borgert  
View profile  
 More options Mar 22 2010, 9:45 am
From: "W. Martin Borgert" <deba...@debian.org>
Date: Mon, 22 Mar 2010 14:45:22 +0100
Local: Mon, Mar 22 2010 9:45 am
Subject: Which genshi version for Trac 0.12? (was: 0.12beta getting closer)
Quoting "Christian Boos" <cb...@neuf.fr>:

> We're getting quite close to being able to release a beta of 0.12.  
> While there are still a few important tickets to be finished first  
> (#9060 for example), we're really getting there.

AFAIK, 0.12 needs Genshi > 0.5.1[1], but 0.6 is not yet released[2].
For Debian (and other distribution as well, I assume) it would be
nice to have a Genshi release before Trac RCs. Are there any plans
to synchronise Genshi 0.6 and Trac 0.12 releases? Thanks in advance!

[1] http://trac.edgewall.org/milestone/0.12
[2] http://genshi.edgewall.org/wiki/Download

Btw. keep up the excellent work on Trac!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Trac 0.11.8 timeline? (was: 0.12beta getting closer)" by W. Martin Borgert
W. Martin Borgert  
View profile  
 More options Mar 22 2010, 9:55 am
From: "W. Martin Borgert" <deba...@debian.org>
Date: Mon, 22 Mar 2010 14:55:36 +0100
Local: Mon, Mar 22 2010 9:55 am
Subject: Trac 0.11.8 timeline? (was: 0.12beta getting closer)
Quoting "Christian Boos" <cb...@neuf.fr>:

> Actually, that pre-release version of 0.12 could even be called  
> 0.12rc1, as I don't expect many changes till the final release.  
> Also, we may still want to release 0.11.8 in parallel, as I messed  
> up a few things with 0.11.7 (e.g. r9391, to be backported).

Is there a plan when 0.11.8 can be released? I ask, because Debian
is about to freeze (don't hold your breath) and it would be nice
to have 0.11.8 in. Thanks in advance!

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Which genshi version for Trac 0.12?" by Christian Boos
Christian Boos  
View profile  
 More options Mar 22 2010, 10:01 am
From: Christian Boos <cb...@neuf.fr>
Date: Mon, 22 Mar 2010 15:01:10 +0100
Local: Mon, Mar 22 2010 10:01 am
Subject: Re: [Trac-dev] Which genshi version for Trac 0.12?
On 3/22/2010 2:45 PM, W. Martin Borgert wrote:

> Quoting "Christian Boos" <cb...@neuf.fr>:
>> We're getting quite close to being able to release a beta of 0.12.
>> While there are still a few important tickets to be finished first
>> (#9060 for example), we're really getting there.

> AFAIK, 0.12 needs Genshi > 0.5.1[1], but 0.6 is not yet released[2].
> For Debian (and other distribution as well, I assume) it would be
> nice to have a Genshi release before Trac RCs.

Yes, it would be nice.

> Are there any plans to synchronise Genshi 0.6 and Trac 0.12 releases?
> Thanks in advance!

There's no plan, only hope ;-)

More seriously, I'm not really at ease with the fact that either Genshi
and Babel are more or less on life support, since  Christopher has
switched to other interests. Pedro Algarvio seems our best chance here
;-) Pedro?

Related:
  - http://genshi.edgewall.org/ticket/369
  - http://babel.edgewall.org/ticket/212

Another solution would be to build our own packages, trac-genshi and
trac-babel.

-- Christian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Trac 0.11.8 timeline?" by Christian Boos
Christian Boos  
View profile  
 More options Mar 22 2010, 10:19 am
From: Christian Boos <cb...@neuf.fr>
Date: Mon, 22 Mar 2010 15:19:16 +0100
Local: Mon, Mar 22 2010 10:19 am
Subject: Re: [Trac-dev] Trac 0.11.8 timeline?
On 3/22/2010 2:55 PM, W. Martin Borgert wrote:

> Quoting "Christian Boos" <cb...@neuf.fr>:
>> Actually, that pre-release version of 0.12 could even be called
>> 0.12rc1, as I don't expect many changes till the final release. Also,
>> we may still want to release 0.11.8 in parallel, as I messed up a few
>> things with 0.11.7 (e.g. r9391, to be backported).

> Is there a plan when 0.11.8 can be released? I ask, because Debian
> is about to freeze (don't hold your breath) and it would be nice
> to have 0.11.8 in. Thanks in advance!

No, not yet.

But besides the change I was talking about (#9103), I see only #9128, +
fixing a glitch in the RELEASE note (thanks Anatoly), + a fix for a
(tiny) security issue that has been reported meanwhile. We could even
call that 0.11.7.1, as the scope is rather small. That release could
happen "soon" as well.

-- Christian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Which genshi version for Trac 0.12?" by Greg Troxel
Greg Troxel  
View profile  
 More options Mar 22 2010, 7:43 pm
From: Greg Troxel <g...@ir.bbn.com>
Date: Mon, 22 Mar 2010 19:43:17 -0400
Local: Mon, Mar 22 2010 7:43 pm
Subject: Re: [Trac-dev] Which genshi version for Trac 0.12?

Speaking as someone using trac seriously, it seems scary to be talking
about a 0.12 release that depends on unreleased versions of other tools.
If that's really the case, then I'd say the other tools need to be
encouraged/helped to get to release or forked and released before 0.12
has an rc.  When you think about putting trac into a packaging system,
depending on unreleased code means creating a new -beta package for that
code from svn/git/whatever, or updating the allegedly stable package to
an unreleased version.

  application_pgp-signature_part
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Towards Jinja2 (was Re: [Trac-dev] Which genshi version for Trac 0.12?)" by Christian Boos
Christian Boos  
View profile  
 More options Apr 7 2010, 6:36 am
From: Christian Boos <cb...@neuf.fr>
Date: Wed, 07 Apr 2010 12:36:06 +0200
Local: Wed, Apr 7 2010 6:36 am
Subject: Towards Jinja2 (was Re: [Trac-dev] Which genshi version for Trac 0.12?)
On 3/23/2010 12:43 AM, Greg Troxel wrote:

I understand and share your concerns.

> If that's really the case, then I'd say the other tools need to be
> encouraged/helped to get to release or forked and released before 0.12
> has an rc.

We have considered that. It looks like we're going to have a Babel 0.9.5
really soon (I see the packages on ftp.edgewall.org as I'm writing
this), and perhaps a Genshi 0.6 release at some later point (keep finger
crossed).

The fact remains that those libraries are currently strong dependencies
for Trac (Genshi even more so than Babel), and neither has currently the
level of maintenance we were used to have, every sign indicates this
trend won't change. I've also stopped to hope there will be any drastic
performance improvement, and while there has been some improvements last
year (1), I rather feel that this means that all that could be
realistically done has now been done on this topic. Of course,
theoretically someone could step up anytime and bring in a radically new
idea and dramatically increase performance, but that's precisely what
I've been hoping for since the last 4 years. While there has been such
attempts, made by bright minds, none really succeeded.

So don't get me wrong, I actually like Genshi, I was really pleased to
ditch the ugly and hard to maintain Clearsilver templates and
enthusiastically converted most of the Trac templates to it. I also
helped to fix (easy) Genshi issues during the early stage of its
development, but was always intimidated by its complexity. I still enjoy
very much *using* Genshi from a developer perspective, but for the
reasons exposed above, from the point of view of Trac maintenance and
its future evolution, we really have a situation to address, lots of
users are still hesitant to move away from Trac *0.10* because of
performance concerns (Genshi is perhaps not the only factor at play
there, but it's an important one).

It seems however that there could be a way forward, by considering once
again a switch of the templating engine. This time it would be in favor
of Jinja2 (2), which seems to have a great momentum and have the
adequate capabilities and speed we need. In addition, its main developer
is also a long time Trac supporter and has shown interest in supporting
us for the switch (hello Armin!).

There has been some informal discussions on this topic on the #trac IRC
channel, so the logical next step is to discuss it more formally here on
Trac-dev. To me at least, the status quo is not really an option. I'm
aware this will cause some inconvenience, especially for the plugins
that currently depend on stream filters. However this will be mitigated
by the fact that we can continue to support Genshi, and migrate to
Jinja2 only gradually, starting with the time critical parts (like the
changeset view, the browser view and the timeline).

-- Christian

(1) - http://genshi.edgewall.org/changeset/1038 and 1052
(2) - http://dev.pocoo.org/projects/jinja/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
W. Martin Borgert  
View profile  
 More options Apr 7 2010, 8:53 am
From: "W. Martin Borgert" <deba...@debian.org>
Date: Wed, 07 Apr 2010 14:53:46 +0200
Local: Wed, Apr 7 2010 8:53 am
Subject: Re: Towards Jinja2 (was Re: [Trac-dev] Which genshi version for Trac 0.12?)
Quoting "Christian Boos" <cb...@neuf.fr>:

> Of course, theoretically someone could step up anytime and bring in  
> a radically new idea

Like building Trac 0.13 completely on top of Django? :~)

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Towards Jinja2" by Greg Troxel
Greg Troxel  
View profile  
 More options Apr 7 2010, 9:47 am
From: Greg Troxel <g...@ir.bbn.com>
Date: Wed, 07 Apr 2010 09:47:08 -0400
Local: Wed, Apr 7 2010 9:47 am
Subject: Re: Towards Jinja2

Thanks for the detailed explanation.  Everything you say sounds quite
reasonable in term of how trac got where it is and the way forward.

But, if Genshi doesn't have a release that can be used (reasonably) with
trac, then it should be a small matter of making a tarball from Genshi's
CM ystems and calling it Genshi-0.5.80 or GenshiTrac-0.5.80 if it's
socially awkward to call it Genshi-0.6.  Then packaging systems can
either update their Genshi package or make a GenshiTrac package, and
there's no more packaging issue.  (I realize this doesn't address the
lack of maintainer time issue.  But if something in svn is good enough
and required, it should be declared a release before 0.12 is in RC.)

  application_pgp-signature_part
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Boos  
View profile  
 More options Apr 7 2010, 11:02 am
From: Christian Boos <cb...@neuf.fr>
Date: Wed, 07 Apr 2010 17:02:54 +0200
Local: Wed, Apr 7 2010 11:02 am
Subject: Re: [Trac-dev] Re: Towards Jinja2
On 4/7/2010 3:47 PM, Greg Troxel wrote:

That's why we won't after all release a 0.12rc1 directly, in the coming
days, but first make a 0.12beta. I hope it's more acceptable to have a
"beta" version depending on an unreleased package than a RC :-)

We'll then release the 0.12rc1 version after the Genshi 0.6 release.

But if it's still not released in a month or so from now, then we could
indeed integrate the genshi/ files as tracdep/genshi.* and make sure
that the Trac plugins importing the genshi modules will actually find
our tracdep.genshi ones (hopefully a `sys.modules['genshi'] =
tracdep.genshi` will be enough).

-- Christian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Towards Jinja2 (was Re: [Trac-dev] Which genshi version for Trac 0.12?)" by Andrea Tomasini
Andrea Tomasini  
View profile  
 More options Apr 7 2010, 12:20 pm
From: Andrea Tomasini <andrea.tomas...@agile42.com>
Date: Wed, 7 Apr 2010 18:20:35 +0200
Local: Wed, Apr 7 2010 12:20 pm
Subject: Re: Towards Jinja2 (was Re: [Trac-dev] Which genshi version for Trac 0.12?)

On 7 Apr, 2010, at 14:53 , W. Martin Borgert wrote:

> Quoting "Christian Boos" <cb...@neuf.fr>:
>> Of course, theoretically someone could step up anytime and bring in a radically new idea

> Like building Trac 0.13 completely on top of Django? :~)

+1 I'll start doing it tomorrow if needed... too much technology to take care of now, and given the limited development capacity, wouldn't be that bad to focus on features more than technology :-)

Ciao
ANdreaT


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Towards Jinja2" by Tim Hatch
Tim Hatch  
View profile  
 More options Apr 7 2010, 12:34 pm
From: Tim Hatch <t...@timhatch.com>
Date: Wed, 07 Apr 2010 09:34:02 -0700
Local: Wed, Apr 7 2010 12:34 pm
Subject: Re: [Trac-dev] Re: Towards Jinja2

> But if it's still not released in a month or so from now, then we could
> indeed integrate the genshi/ files as tracdep/genshi.* and make sure
> that the Trac plugins importing the genshi modules will actually find
> our tracdep.genshi ones (hopefully a `sys.modules['genshi'] =
> tracdep.genshi` will be enough).

I'll cross my fingers for a release instead. Mucking about with imports
or sys.path is bound to cause problems, as it does with Twill.  There's
a thread on the genshi and babel lists about this.

Tim

  signature.asc
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Towards Jinja2 (was Re: [Trac-dev] Which genshi version for Trac 0.12?)" by Christian Boos
Christian Boos  
View profile   Translate to Translated (View Original)
 More options Apr 7 2010, 12:46 pm
From: Christian Boos <cb...@neuf.fr>
Date: Wed, 07 Apr 2010 18:46:08 +0200
Local: Wed, Apr 7 2010 12:46 pm
Subject: Re: Towards Jinja2 (was Re: [Trac-dev] Which genshi version for Trac 0.12?)
On 4/7/2010 6:20 PM, Andrea Tomasini wrote:

> On 7 Apr, 2010, at 14:53 , W. Martin Borgert wrote:

>> Quoting "Christian Boos"<cb...@neuf.fr>:

>>> Of course, theoretically someone could step up anytime and bring in a radically new idea

>> Like building Trac 0.13 completely on top of Django? :~)

> +1 I'll start doing it tomorrow if needed... too much technology to take care of now, and given the limited development capacity, wouldn't be that bad to focus on features more than technology :-)

Well, I was talking about a new idea to improve Genshi performance...

Rewriting Trac on top of Django is a *very* different topic. While I
also would like to be able to focus on Trac features rather than on the
supporting technology, I have the feeling that doing a switch to Django
would do the exact opposite, make us focus again on the technology (and
eventually be limited by the constraints imposed upon us by the
framework) rather than on our features... We now have a base on which we
can build on, and if there wouldn't have been the problems related to
Genshi maintenance, I would even have been willing to close the eyes a
bit longer on the performance side and not have /any/ change in the
infrastructure for the next versions (besides a switch to Python 2.5,
but now it's me who's digressing ;-) ).

And there's already Basie, for those interested by a Trac-like system on
top of Django (http://basieproject.org/).

-- Christian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Towards Jinja2" by Christian Boos
Christian Boos  
View profile  
 More options Apr 7 2010, 12:51 pm
From: Christian Boos <cb...@neuf.fr>
Date: Wed, 07 Apr 2010 18:51:36 +0200
Local: Wed, Apr 7 2010 12:51 pm
Subject: Re: [Trac-dev] Re: Towards Jinja2
On 4/7/2010 6:34 PM, Tim Hatch wrote:

>> But if it's still not released in a month or so from now, then we could
>> indeed integrate the genshi/ files as tracdep/genshi.* and make sure
>> that the Trac plugins importing the genshi modules will actually find
>> our tracdep.genshi ones (hopefully a `sys.modules['genshi'] =
>> tracdep.genshi` will be enough).

> I'll cross my fingers for a release instead. Mucking about with imports
> or sys.path is bound to cause problems, as it does with Twill.  There's
> a thread on the genshi and babel lists about this.

... in which thread Remy already replied that the situation is
different, as we're loading Genshi first, then loading the plugins. And
I think it make more sense to talk about such hacks on this list rather
than on the Genshi list, so I'd prefer we continue that discussion here.

-- Christian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Towards Jinja2 (was Re: [Trac-dev] Which genshi version for Trac 0.12?)" by Noah Kantrowitz
Noah Kantrowitz  
View profile  
 More options Apr 7 2010, 12:56 pm
From: Noah Kantrowitz <n...@coderanger.net>
Date: Wed, 7 Apr 2010 09:56:03 -0700
Local: Wed, Apr 7 2010 12:56 pm
Subject: Re: Towards Jinja2 (was Re: [Trac-dev] Which genshi version for Trac 0.12?)

On Apr 7, 2010, at 3:36 AM, Christian Boos wrote:

While I agree that this is needed, we should be clear about the  
impact; partially supporting Genshi doesn''t really mitigate not  
support stream filters, since Genshi or not we can't filter a non-
Genshi and the whole point of stream filters is to allow UI changes on  
other peoples' pages.  The other question is how to support themes on  
the converted pages, and I have no good answer for that.

--Noah


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Towards Jinja2" by W. Martin Borgert
W. Martin Borgert  
View profile  
 More options Apr 7 2010, 5:23 pm
From: "W. Martin Borgert" <deba...@debian.org>
Date: Wed, 7 Apr 2010 23:23:23 +0200
Local: Wed, Apr 7 2010 5:23 pm
Subject: Re: [Trac-dev] Re: Towards Jinja2
On 2010-04-07 17:02, Christian Boos wrote:

> But if it's still not released in a month or so from now, then we
> could indeed integrate the genshi/ files as tracdep/genshi.* and
> make sure that the Trac plugins importing the genshi modules will
> actually find our tracdep.genshi ones (hopefully a
> `sys.modules['genshi'] = tracdep.genshi` will be enough).

I think, this model is not an option for Debian nor for most
other Linux distributions. Debian, and surely others as well,
work very hard on removing embedded code copies. Adding a new
copy would be a stop in the wrong direction. Embedded code
copies make QA work, especially security fixes, very hard. Also,
they bloat the archive. They constitute a policy violation in
Debian. It would be preferable to find an alternative solution.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Towards Jinja2 (was Re: [Trac-dev] Which genshi version for Trac 0.12?)" by Christopher Lenz
Christopher Lenz  
View profile  
 More options Apr 7 2010, 5:28 pm
From: Christopher Lenz <cml...@gmx.de>
Date: Wed, 7 Apr 2010 23:28:47 +0200
Local: Wed, Apr 7 2010 5:28 pm
Subject: Re: Towards Jinja2 (was Re: [Trac-dev] Which genshi version for Trac 0.12?)
On 07.04.2010, at 12:36, Christian Boos wrote:

> On 3/23/2010 12:43 AM, Greg Troxel wrote:
>> Speaking as someone using trac seriously, it seems scary to be talking
>> about a 0.12 release that depends on unreleased versions of other tools.

> I understand and share your concerns.

>> If that's really the case, then I'd say the other tools need to be
>> encouraged/helped to get to release or forked and released before 0.12
>> has an rc.

> We have considered that. It looks like we're going to have a Babel 0.9.5 really soon (I see the packages on ftp.edgewall.org as I'm writing this), and perhaps a Genshi 0.6 release at some later point (keep finger crossed).

The Babel maintenance release has made it out of the door today. I will do my best to get Genshi 0.6 out by next week.

To be honest, I'm not sure what's going to happen after that, and you're certainly right to be pessimistic. I'm really sorry about how the situation has turned out for Trac.

Yes, my interests have mostly shifted elsewhere. I still believe that both Babel and Genshi are worth being further maintained and enhanced, and I'm still interested to actually do the work, but obviously I'm not able to allot anywhere enough spare time to that task right now. What's more, I've unforunately been unable to attract other developers to contribute significantly to either code base, let alone build a strong community.

That's not to say that I consider either project end-of-life. I still use them for my own stuff. But I'm the pretty much the single point of failure for both projects, and I've been failing badly and consistently at maintaining/enhancing them for some time now. Sorry.

> The fact remains that those libraries are currently strong dependencies for Trac (Genshi even more so than Babel), and neither has currently the level of maintenance we were used to have, every sign indicates this trend won't change. I've also stopped to hope there will be any drastic performance improvement, and while there has been some improvements last year (1), I rather feel that this means that all that could be realistically done has now been done on this topic. Of course, theoretically someone could step up anytime and bring in a radically new idea and dramatically increase performance, but that's precisely what I've been hoping for since the last 4 years. While there has been such attempts, made by bright minds, none really succeeded.

> So don't get me wrong, I actually like Genshi, I was really pleased to ditch the ugly and hard to maintain Clearsilver templates and enthusiastically converted most of the Trac templates to it. I also helped to fix (easy) Genshi issues during the early stage of its development, but was always intimidated by its complexity. I still enjoy very much *using* Genshi from a developer perspective, but for the reasons exposed above, from the point of view of Trac maintenance and its future evolution, we really have a situation to address, lots of users are still hesitant to move away from Trac *0.10* because of performance concerns (Genshi is perhaps not the only factor at play there, but it's an important one).

> It seems however that there could be a way forward, by considering once again a switch of the templating engine. This time it would be in favor of Jinja2 (2), which seems to have a great momentum and have the adequate capabilities and speed we need. In addition, its main developer is also a long time Trac supporter and has shown interest in supporting us for the switch (hello Armin!).

> There has been some informal discussions on this topic on the #trac IRC channel, so the logical next step is to discuss it more formally here on Trac-dev. To me at least, the status quo is not really an option. I'm aware this will cause some inconvenience, especially for the plugins that currently depend on stream filters. However this will be mitigated by the fact that we can continue to support Genshi, and migrate to Jinja2 only gradually, starting with the time critical parts (like the changeset view, the browser view and the timeline).

I agree that adoption of Jinja2 should be considered, it's become a very solid templating solution, and comes with both more momentum and better performance than Genshi.

But I'm not sure how a gradual transition could work. As Noah said, you can't switch some of the most important pages to Jinja and still support stream filters. Or site templates using match templates for advanced customization. You'll also need to rethink parts of the internationalization story, I guess.

If there's going to be another template engine switch, I think it's going to hurt. But it might just be worth it.

Cheers,
--
Christopher Lenz
  cmlenz at gmx.de
  http://www.cmlenz.net/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Remy Blank  
View profile  
 More options Apr 7 2010, 6:34 pm
From: Remy Blank <remy.bl...@pobox.com>
Date: Thu, 08 Apr 2010 00:34:55 +0200
Local: Wed, Apr 7 2010 6:34 pm
Subject: Re: Towards Jinja2 (was Re: [Trac-dev] Which genshi version for Trac 0.12?)

Whoa, activity on trac-dev! :)

> I agree that adoption of Jinja2 should be considered, it's become a very
> solid templating solution, and comes with both more momentum and better
> performance than Genshi.

It's already a good sign that nobody has anything *bad* to say about
Jinja2. Still, is this the only reasonable alternative? Are there other
contenders out there, and what are the pros and cons of each solution?

I'm not trying to work against Jinja2, just to keep the view broad
before making a choice.

> But I'm not sure how a gradual transition could work.

(snip)

> If there's going to be another template engine switch, I think it's going
> to hurt. But it might just be worth it.

I'm a bit wary of how this could work out. Let's say (for the sake of
argument) that we switch to Jinja for 0.13. This is a large internal
change, but mostly invisible to end-users (except for better speed,
which may or may not have a significant impact). Besides, we either
break most of the existing plugins (if we don't transition gradually) or
increase the work significantly (if we transition gradually).

So, we get a new release where:

 - a big chunk of work is barely visible to end-users
 - plugins stop working for no (user-understandable) reason
 - themes and style customizations stop working

I do hope that if we go this way (and maybe a radical but painful switch
with limited backward compatibility is the best solution), we can at
least bundle it with a few highly visible, high value features.
Improving internals is all well and good, but at the end of the day,
it's the user-visible features that the users care about.

-- Remy

  signature.asc
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Towards Jinja2" by Greg Troxel
Greg Troxel  
View profile  
 More options Apr 7 2010, 7:00 pm
From: Greg Troxel <g...@ir.bbn.com>
Date: Wed, 07 Apr 2010 19:00:41 -0400
Local: Wed, Apr 7 2010 7:00 pm
Subject: Re: [Trac-dev] Re: Towards Jinja2

> That's why we won't after all release a 0.12rc1 directly, in the
> coming days, but first make a 0.12beta. I hope it's more acceptable to
> have a "beta" version depending on an unreleased package than a RC :-)

Well, I have no standing to actually complain about what people
volunteer to do - just pointing out how it feels on the packaging end.

Sure, with a beta, it won't get packaged, so there's no issue.

> We'll then release the 0.12rc1 version after the Genshi 0.6 release.

That would be just fine from my viewpoint.

> But if it's still not released in a month or so from now, then we
> could indeed integrate the genshi/ files as tracdep/genshi.* and make
> sure that the Trac plugins importing the genshi modules will actually
> find our tracdep.genshi ones (hopefully a `sys.modules['genshi'] =
> tracdep.genshi` will be enough).

 What the gentleman from Debian said :-)

  application_pgp-signature_part
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Towards Jinja2 (was Re: [Trac-dev] Which genshi version for Trac 0.12?)" by John Hampton
John Hampton  
View profile  
 More options Apr 7 2010, 7:49 pm
From: John Hampton <pacopa...@pacopablo.com>
Date: Wed, 07 Apr 2010 16:49:00 -0700
Subject: Re: Towards Jinja2 (was Re: [Trac-dev] Which genshi version for Trac 0.12?)
On 4/7/10 3:34 PM, Remy Blank wrote:

> It's already a good sign that nobody has anything *bad* to say about
> Jinja2. Still, is this the only reasonable alternative? Are there other
> contenders out there, and what are the pros and cons of each solution?

> I'm not trying to work against Jinja2, just to keep the view broad
> before making a choice.

Breve [1], mako [2], and cheetah [3], off the top of my head.

Speed of the site being one of the biggest features that users care about ;)

If we change templating engines again (for which I'm +1 atm) then I
think our only real option is doing a full switch, no backwards
compatibility for the following reasons:

  * There is no indication that a gradual transition will provide any
help with plugin transitions
  * Even with a compatibility layer, it's not going to be 100% and we'll
probably end up breaking a bunch of plugins anyway
  * We can be very clear about which plugins are supported. i.e. Only
plugins that specifically state they work on 0.13 will work
  * Breaking everything on purpose will help bring out the issues early,
rather than mask them in the compatibility layer.

-John

[1] http://breve.twisty-industries.com/
[2] http://www.makotemplates.org/
[3] http://www.cheetahtemplate.org/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Towards Jinja2 (was Re: [Trac-dev] Which genshi version for Trac 0.12?)" by Noah Kantrowitz
Noah Kantrowitz  
View profile  
 More options Apr 7 2010, 8:20 pm
From: "Noah Kantrowitz" <n...@coderanger.net>
Date: Wed, 7 Apr 2010 17:20:59 -0700
Local: Wed, Apr 7 2010 8:20 pm
Subject: RE: Towards Jinja2 (was Re: [Trac-dev] Which genshi version for Trac 0.12?)

I'm biased given how much work I've put in on ThemeEngine, but I think this
is the kind of thing that we should try to ask users what they want. It
seems like uptake on ThemeEngine (and other large-scale changes to the trac
UI) is near zero, so even though it kills me a little inside maybe this
isn't a big feature to lose. CSS-only changes to the UI (and the big system
in ThemeEngine for generating them) would still work as-is.

The same goes for streamfilter plugins. What plugins out there are making
good use of this? I know TagsPlugin relies on a stream filter for injecting
the tag display into wiki pages. Also, could make something like stream
filters (not talking about API compat, just functional similarity) the same
way 0.10 injected XSRF tokens (render the full page and then parse it out
again)? Maybe that will still be enough of a performance win to justify the
added slowdown?

--Noah


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Towards Jinja2 (was Re: [Trac-dev] Which genshi version for Trac 0.12?)" by Rowan
Rowan  
View profile  
 More options Apr 7 2010, 8:09 pm
From: Rowan <ad...@webdesignforall.net>
Date: Wed, 7 Apr 2010 17:09:17 -0700 (PDT)
Local: Wed, Apr 7 2010 8:09 pm
Subject: Re: Towards Jinja2 (was Re: [Trac-dev] Which genshi version for Trac 0.12?)
I agree with John, if a template change is in order then no backwards
compatibility will just make things easier for everyone, less code =
less things that can break (and less work for the core developers).

As long as there is ample warning to all plugin developers about when
the transition will take place then they can upgrade their plugins to
the new template system then all "end users" have to do is update
their plugins along with trac. I'd suggest a long RC period if this
does happen that way plugin authors can test their plugins against a
trac core that is unlikely to change much.

~Rowan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rowan  
View profile  
 More options Apr 7 2010, 8:43 pm
From: Rowan <ad...@webdesignforall.net>
Date: Wed, 7 Apr 2010 17:43:58 -0700 (PDT)
Local: Wed, Apr 7 2010 8:43 pm
Subject: Re: Towards Jinja2 (was Re: [Trac-dev] Which genshi version for Trac 0.12?)
I use the transformer genshi stream filter for editing the ticket
fields in BlackMagicTicketTweaks, although changing the layout is not
100% necessary since the validation is done by the back end, it does
help from the user perspective if they're not allowed to use a field
then if it's disabled in the browser it saves confusion. Stream
filters really do make tweaking the UI easy, I'd like something that
allows the modification of the UI from the python side (no javascript)
to be retained in Trac.
~Rowan

On Apr 8, 12:20 pm, "Noah Kantrowitz" <n...@coderanger.net> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Felix Schwarz  
View profile  
 More options Apr 8 2010, 2:33 am
From: Felix Schwarz <felix.schw...@agile42.com>
Date: Thu, 08 Apr 2010 08:33:36 +0200
Local: Thurs, Apr 8 2010 2:33 am
Subject: Re: Towards Jinja2 (was Re: [Trac-dev] Which genshi version for Trac 0.12?)
Am 08.04.2010 02:20, schrieb Noah Kantrowitz:

> The same goes for streamfilter plugins. What plugins out there are making
> good use of this?

Depends on what you define as 'good use' but for Agilo we basically use
a lot of interfaces to their maximum extend (and beyond ;-).

We use stream filters to:
- Modify the ticket page
- inject resources in all template

Basically we're using Genshi 0.6 so heavily that the current Genshi
trunk raises an exception if we run it with the Agilo match templates ;-)

fs


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Felix Schwarz  
View profile  
 More options Apr 8 2010, 2:34 am
From: Felix Schwarz <felix.schw...@agile42.com>
Date: Thu, 08 Apr 2010 08:34:15 +0200
Local: Thurs, Apr 8 2010 2:34 am
Subject: Re: Towards Jinja2 (was Re: [Trac-dev] Which genshi version for Trac 0.12?)

also think of all the captcha plugins - I guess every single one of them
uses streamfilters.

fs


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 1 - 25 of 42   Newer >
« Back to Discussions « Newer topic     Older topic »