On Sat, Dec 26, 2009 at 3:56 AM, Paul Wise <p...@debian.org> wrote:
>
>> Trac 0.11 ships with jQuery 1.2.6
>> However, Debian patches remove this file in favor of libjs-jquery
>> package which contains version 1.3.x
>> This breaks plugins for Trac 0.11 that rely on 1.2.x jQuery features
>> removed in 1.3.x
>>
>> How to properly add dependency for jQuery<1.3 to trac package?
>
> jquery 1.2 is only available in lenny, so depending on jQuery<1.3
> would make trac not installable in sid/squeeze (and thus an RC bug).
> Talk to Trac upstream about removing the jQuery embedded code copy,
> getting the plugins upgraded to jQuery 1.3 and making a new release.

Upstream Trac is shipped with jQuery it needs while leaving Genshi and
other libraries as dependencies. Debian specific patch removes jQuery
from Trac distribution even though it contributes only 2% to package
size. This dependency injection creates aforementioned problems.

On Sat, Dec 26, 2009 at 7:37 AM, W. Martin Borgert <deba...@debian.org> wrote:
> Which plugins exactly do not work with jQuery 1.3?

There was a complex issue with TracDeveloperPlugin, which solution
involved permissions, aliases and mod_wsgi configuration. The jQuery
was only a part of a problem and it was not only downgrading that
fixed it.

There are more than 200 plugins tagged for 0.11 on
http://trac-hacks.org/ They were developed and debugged with jQuery
1.2.x which is not forward compatible with 1.3.x  I don't feel like I
want to check if they are compatible next time I'd like to use one.
15kBytes doesn't worth wasted hours.

> How much effort would it take to make them compatible with 1.3?
> Note, that Trac 0.12 will ship with jQuery 1.3 anyway...
>
> In any case, I will document the potential problem in README.Debian
> file, so that our users are not surprised (only disappointed maybe).

The best solution would be to remove "15_remove_jquery_file.dpatch",
"postinst", "prerm" and let Trac developers ship the version that
contributes to the official API for Trac extension developers for a
given Trac release.

P.S. Given the above I'd reconsider "Python Application" concept from
just "a big chunk of code" to  isolated set of libraries/modules that
creates stable virtualenv for an application, which is constructed
using Python dependencies recommended by upstream.
-- 
anatoly t.


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to