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

2022-06-21 Thread Simon McVittie
Control: tags -1 + patch
Control: forwarded -1 
https://salsa.debian.org/lintian/lintian/-/merge_requests/396

On Tue, 21 Jun 2022 at 13:36:49 +0100, Simon McVittie wrote:
> I'll send a patch when I get a bug number back from the BTS.

Please see the MR linked above.

smcv



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

2022-06-21 Thread Simon McVittie
Package: lintian
Version: 2.115.0
Severity: minor

The REUSE specification  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