On 12-07-05 at 04:34pm, Mehdi Dogguy wrote:
> On 30/06/12 17:45, Julien Cristau wrote:
> >
> >jquery build-depends on node-uglify, which is not in testing.  This 
> >needs to be fixed before release somehow.
> >
> A solution might be to use yui-compressor as done prior to version 
> 1.7.2+debian-1. yui-compressor seems to be present in testing and 
> doesn't have any (severe) bugs currently.

No recent severe bugs may have to do with it being inferior to other 
compressors and therefore less tested.

Few projects provide regression tests for JavaScript code, so bugs are 
seldom caught during build.  So switching compressor now has a high risk 
of bugs not getting discovered before release.

These are the alternatives I can see:

 a) Switch to yui-compressor
 b) Get Nodejs into Wheezy and keep using uglifyjs
 c) Provide only uncompressed code
 d) Use upstream precompressed code

Both a) and b) requires changes to a bunch of packages (list shortened 
by some of them already been kicked from Wheezy due to this issue).

Due to the risk of introducing new difficult-to-verify bugs a) is bad 

I prefer b) but someone needs to do the social/political task of finding 
an acceptable solution to the namespace clash.  For some possible 
solutions someone then needs to implement it technically - and then 
arguably it is too late.  So as I see it, b) is only realistic if 
someone succeeds in solving the namespace clash problem without needing 
much technical work to implement it.

I consider d) DFSG-violating, but others disagree.

 - Jonas

 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: Digital signature

Pkg-javascript-devel mailing list

Reply via email to