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

Ole Streicher olebole at debian.org
Mon Oct 12 08:56:31 UTC 2015


On 12.10.2015 09:58, Paul Wise wrote:
>> 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.

How do you see this? It is well formatted, including comments etc. In
the packages I maintain I have source files which are much worse to
maintain. Again my question: for what kind of editing you would prefer a
different ("original") source? What do you miss here?

And, again: would you consider any automatically inserted line, like CVS
tags as non-source, and reject these files from Debian? What is the
difference here?

> In other words it is from DataTables instead of from DataTablesSrc. Personally I would repack the tarball to remove it and package DataTablesSrc separately.

How do you come to that?

$ wget
https://raw.githubusercontent.com/DataTables/DataTablesSrc/1_9/media/js/jquery.dataTables.js
\
        -Ogit-jquery.dataTables.js
$ wget
https://sources.debian.net/data/main/p/python-astropy/1.0.4-1/astropy/extern/js/jquery.dataTables.js
\
        -Oastropy-git-jquery.dataTables.js
$ diff -c git-jquery.dataTables.js astropy-git-jquery.dataTables.js

Files git-jquery.dataTables.js and astropy-git-jquery.dataTables.js are
identical

Don't you have the feeling that you hunt some ghosts here? Please
explain me what this error is about; I feel a bit upset now that you put
some "rules" what is a source and what not, which are nowhere defined
(the only definition I have is the one from GPL, which means "preferred
to edit"), and them randomly trigger some files without a reason, and
without any explanation.

There is no definition (at least, as I know), that requires source files
to be (completely) manually generated,
There is no proof that the file in question is manually generated.
There is nothing that I could discuss with upstream to change the file
-- actually the file was put there by upstream after I asked them to
include the source [1].

But I get a lintian complaint, and then answers like "remove this file",
or "this is a borderline case" or similar. I *am* aware of having the
sources included; however it would be really nice if you were a bit
careful here as well, and at least explain why do you think that this
file is not a source, and by which definition.

Best regards

Ole

[1] https://github.com/astropy/astropy/issues/1992



More information about the Debian-med-packaging mailing list