[Debian-med-packaging] Bug#798900: lintian: false positive: source-is-missing for non-minified JS files

Paul Wise pabs at debian.org
Mon Oct 12 07:58:19 UTC 2015


On Sun, 2015-10-11 at 10:41 +0200, Ole Streicher wrote:

> The Readme.md states that the files in the DataTables were generated
> from the ones in DataTablesSrc, which means that DataTablesSrc contains
> the *sources*.

That is exactly my point.

> Specifically,
> https://github.com/DataTables/DataTablesSrc/blob/master/js/DataTables.js
> contains a line 25 (> 1024 characters long):
> which triggers the lintian error in the case of python-astropy. I don't
> see why this is real, since:

Yes, I hadn't seen that the line lintian was triggered on in
jquery.dataTables.js was also in one of the source files DataTables.js
so I had assumed that the build process was creating this line.

> --> lintian uses some heuristics here, which does obviously not match
> the real life. Until this is improved, I would (again) propose to use
> the "experimental" tag here; this is what this tag is for.

Agreed that the heuristics need adjusting (some changes are in git) and
that the tag should be marked as possible rather than certain. I don't
think wild-guess is appropriate though.

> I would also propose to consider removing at least the line length test
> for comments.

That seems reasonable.

> They don't; at least not in the case of python-astropy.

The do actually, astropy/extern/js/jquery.dataTables.js is an embedded
code copy of a build artefact. In other words it is from DataTables
instead of from DataTablesSrc. Personally I would repack the tarball to
remove it and package DataTablesSrc separately.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20151012/daca6e2c/attachment-0001.sig>


More information about the Debian-med-packaging mailing list