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

Re: Source files



On Mon, Oct 12, 2015 at 5:49 PM, Ole Streicher <olebole@debian.org> wrote:

> For one of my packages (python-astropy), I got a Lintian error that it
> would contain a non-source file jquery.dataTables.js. This is mainly
> discussed in a bug report
>
> https://bugs.debian.org/798900

FYI folks: the outcome of this bug report is that the jQuery
dataTables plugin has been packaged properly and built from source
properly using the upstream build system. This was done by the other
person in the thread Sascha Steinbiss, who had a different package
flagged by lintian because of this long line. I believe Sascha also
plans to remove the embedded copy of the build artefact from the other
package where lintian flagged the long line.

https://anonscm.debian.org/cgit/users/sascha-guest/datatables.js.git/

The long line itself is also present in the source of the jQuery
dataTables plugin. I would guess that it is automatically generated by
an IDE or something else (maybe jshint) parsing the other JS files and
inserting the names of global variables from those files. It would be
interesting to find out exactly how it works though. In any case, the
long line turned out to be completely unrelated to the actual problems
found; an embedded copy of a build artefact from a separate project
without the separate project being packaged separately and built from
upstream source using the upstream build system.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


Reply to: