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

Sascha Steinbiss satta at tetrinetsucht.de
Sat Oct 10 22:57:57 UTC 2015


Hi all,

>>> Looks like the JQuery DataTables libraries included are flagged as minified
>>> without source on the basis that they have lines longer than 1024 characters:
>>> P: aegean source: source-contains-prebuilt-javascript-object data/share/vendor/jquery.dataTables.js line length is 1397 characters (>1024)
>>> E: aegean source: source-is-missing data/share/vendor/jquery.dataTables.js
>>> [...]
>> 
>> lintian is absolutely correct to flag this file, it is generated from a
>> bunch of other JavaScript files using Bash, PHP 5.4+, JSHint 2.1+ and
>> the Closure compiler, at least according to the upstream git repos:
>> 
>> https://github.com/DataTables/DataTablesSrc/
>> https://github.com/DataTables/DataTables/
> 
> Wow, I see (and can’t help but feel a slight WTF about this building setup). Thanks for pointing this out. I guess the cleanest way to proceed here would be to properly package DataTables built from source as a dependency for aegean. Then it wouldn't need to be included with the aegean source anymore, as it is already the case with its other JS dependencies. I’ll put this on my agenda.

For the time being, would it be enough to add the DataTablesSrc repo content (and a README) to aegean’s debian/missing-sources to comply with DFSG until a DataTables package gets into the archive?

I’m asking because the existing but apparently never uploaded draft DataTables package [1] does not build DataTables from ‘source’ either but just gets and repacks the built distribution from https://github.com/DataTables/DataTables/. So I guess I would need to start from scratch...

Thanks
Sascha

[1] http://anonscm.debian.org/cgit/collab-maint/jquery-datatables.git/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20151010/92800df3/attachment-0001.sig>


More information about the Debian-med-packaging mailing list