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

Sascha Steinbiss satta at tetrinetsucht.de
Wed Oct 14 09:11:25 UTC 2015


Hi all,

I have prepared a package for datatables [1] building directly from the
GitHub sources, creating the JS and CSS files and associated images.
I have kept the JS policy [2] in mind, storing minified and non-minified
versions of the .js files in /usr/share/javascript/datatables, stripping
away the package descriptors and examples (also looked at some of the
other .js packages in the archive to see how they did it). Embedded
copies of JQuery etc. in the upstream source are removed via
Files-Excluded during repacking.

However, even this package triggers the lintian error we are discussing
here as the source input JS file from upstream contains the overly long
line [3] that lintian complains about, raising the missing-source error
as well. I suppose it is finally OK to write this off as a false
positive in this case?

I will also look for a sponsor for this package from the Debian Med team
to also get it into collab-maint.

Cheers,
Sascha

[1] https://anonscm.debian.org/cgit/users/sascha-guest/datatables.js.git/
[2] https://wiki.debian.org/Javascript/Policy
[3]
https://github.com/DataTables/DataTablesSrc/blob/master/js/DataTables.js#L25

On 12/10/2015 09:01, Paul Wise wrote:
> On Sun, 2015-10-11 at 13:38 +0100, Sascha Steinbiss wrote:
> 
>> It looks like JSHint is not a hard requirement but will just not be used if it’s
>> not there:
>> https://github.com/DataTables/DataTablesSrc/blob/master/build/make.sh#L58
>> Otherwise I wouldn't mind patching the build script to not use it.
> 
> Aha, great!
> 
>> In principle I agree here.
> 
> Good to hear :)
> 
>> Sure. Could you probably give me access to collab-maint then? As a DM I only have a
>> guest account on Alioth and someone has to approve me. I have sent a request via
>> the Alioth web interface quite some time ago but received no response.
> 
> I don't have admin access to collab-maint. 
> 
> As per the policy, you should have your sponsor or potential sponsor
> advocate you in order to get access. Probably someone from debian-med.
> 
> https://lists.debian.org/debian-devel-announce/2012/01/msg00006.html
> 


-- 
 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 



More information about the Debian-med-packaging mailing list