Source: lintian
Severity: normal

Dear lintian maintainers:

The current debian-policy (4.5.0.2) states in Section 4.16. Missing
sources:

    There is an optional convention to organise the contents of "debian
    /missing-sources" in the following way.  For a sourceless file "foo"
    in the subdirectory "bar" of the upstream tarball, where the source of
    "foo" has extension "baz", the source is to be located at "debian
    /missing-sources/bar/foo.baz".  For example, according to this
    convention, the C source code of an executable "checksum/util" is to
    be located at "debian/missing-sources/checksum/util.c".

knot-resolver 5.1.1 includes the minified
modules/http/static/dygraph.min.js, and I placed then its source file
in: debian/missing-sources/modules/http/static/dygraph.js
as you can see in
https://salsa.debian.org/dns-team/knot-resolver/-/commit/52ca961e3c3e5eacc4c85a65fe66919c0eed56ca
but lintian complains about this very source file:

    E: knot-resolver source: source-is-missing 
debian/missing-sources/modules/http/static/dygraph.js line length is 847 
characters (>512)

c.f. https://salsa.debian.org/dns-team/knot-resolver/-/jobs/797179

moving dygraph.js to debian/missing-sources/dygraph.js makes lintian
happier:
https://salsa.debian.org/dns-team/knot-resolver/-/commit/0085ab75be975a2bd478743fe14ba181509e0e80
https://salsa.debian.org/dns-team/knot-resolver/-/jobs/797196

Please, tell me if my interpretation of the optional convention is
wrong.

Cheers,

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 
'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.6.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=es_CO.UTF-8, LC_CTYPE=es_CO.UTF-8 (charmap=UTF-8), 
LANGUAGE=es_CO.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information

Attachment: signature.asc
Description: PGP signature

Reply via email to