[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Embedding jquery.js disaster



On Fri, Feb 15, 2013 at 08:35:54PM +0800, Thomas Goirand wrote:
> I wonder if someone should do a bug mass-filling...
> 
> zigo@host $ apt-file search jquery.js
...
> python-migrate: /usr/share/doc/python-migrate/html/_static/jquery.js
...
> 
> If I grep -v /usr/share/doc, then there's "only" 105 instances of
> jquery.js in SID... By the way, is it considered ok to embed jquery.js
> under /usr/share/doc? (I'd say no, but it's still better if it's only in
> there, as I wouldn't expect it's in active use in the package)
> 
> There's already a lintian warning for this problem, but it doesn't seem
> to be enough. I wonder if it's time to reject uploads containing jquery.js.

I assume that apt-file finds symlinks too because at a first glance I see my
migrate package in the list. The package contains a symlink to the system
jquery.js.

 ~> ls -la /usr/share/doc/python-migrate/html/_static/jquery.js
 lrwxrwxrwx 1 root root 46 Mai 17  2012
 /usr/share/doc/python-migrate/html/_static/jquery.js ->
 ../../../../javascript/sphinxdoc/1.0/jquery.js

 ~> ls -la /usr/share/javascript/sphinxdoc/1.0/jquery.js
 lrwxrwxrwx 1 root root 22 Mai 24  2012
 /usr/share/javascript/sphinxdoc/1.0/jquery.js -> ../../jquery/jquery.js

So IMHO before a mass filing the list should be cleaned from such false
positives.


Best regards
Jan

-- 
Jan Dittberner - Debian Developer
GPG-key: 4096R/558FB8DD 2009-05-10
         B2FF 1D95 CE8F 7A22 DF4C  F09B A73E 0055 558F B8DD
http://ddportfolio.debian.net/ - http://people.debian.org/~jandd/

Attachment: signature.asc
Description: Digital signature


Reply to: