Bug#744972: lintian: source-is-missing is too strict/naive for finding files
Package: lintian
Version: 2.5.22.1
Severity: normal
The checking used to find javascript files is picking up too many
false positives to be useful.
Let's say you have
someproject/foo.min.js
There is only two places lintian finds this under missing sources
foo.js
and
someproject/foo.js
This is severly limited and basically means a pile of work for
no benefit to anyone. Some examples of files not found:
foo-1.2.js
someproject-1.2/foo.js
someproject/scripts/foo.js
Nowhere in any license does it say you must have the same name or
directory of the source, in the C world this would be the same
as not permitting:
bin/myprogram
src/foo.c src/bar.h
because they're different names!
lintian should do the equivalent of
find debian/missing-sources -name foo.js
only, anything else is wrong and not required by the licenses.
- Craig
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.13-1-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lintian depends on:
ii binutils 2.24.51.20140411-2
ii bzip2 1.0.6-5
ii diffstat 1.58-1
ii file 1:5.17-1
ii gettext 0.18.3.2-1
ii hardening-includes 2.5
ii intltool-debian 0.35.0+20060710.1
ii libapt-pkg-perl 0.1.29+b1
ii libarchive-zip-perl 1.37-2
ii libclass-accessor-perl 0.34-1
ii libclone-perl 0.36-1
ii libdpkg-perl 1.17.6
ii libemail-valid-perl 1.192-1
ii libfile-basedir-perl 0.03-1
ii libipc-run-perl 0.92-1
ii liblist-moreutils-perl 0.33-2
ii libparse-debianchangelog-perl 1.2.0-1
ii libtext-levenshtein-perl 0.06~01-2
ii libtimedate-perl 2.3000-2
ii liburi-perl 1.60-1
ii man-db 2.6.7.1-1
ii patchutils 0.3.3-1
ii perl [libdigest-sha-perl] 5.18.2-2+b1
ii t1utils 1.37-2
Versions of packages lintian recommends:
ii libautodie-perl 2.25-1
ii libperlio-gzip-perl 0.18-2
ii perl-modules [libautodie-perl] 5.18.2-2
Versions of packages lintian suggests:
pn binutils-multiarch <none>
ii dpkg-dev 1.17.6
ii libhtml-parser-perl 3.71-1+b1
pn libtext-template-perl <none>
pn libyaml-perl <none>
ii xz-utils 5.1.1alpha+20120614-2
-- no debconf information
Reply to: