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

Bug#1013314: lintian: REUSE license text should suppress very-long-line-length-in-source-file



Package: lintian
Version: 2.115.0
Severity: minor

The REUSE specification <https://reuse.software/> encourages upstreams
to put complete license text in files with SPDX-based names (for example
LICENSES/MIT.txt for Expat's license), and reference the licenses from
source code using SPDX declarations like "SPDX-License-Identifier: MIT".

Upstreams are encouraged to use a canonical form for the license text,
which can be fetched with the `reuse download` command. This canonical
form is soft-wrapped (no line length limit, no newlines except where
semantically significant) and therefore has very long lines.

It would be good for Lintian to suppress
very-long-line-length-in-source-file for these license files: none of
the reasons cited in the tag description seem like they apply to license
text. I'll send a patch when I get a bug number back from the BTS.

    smcv


Reply to: