Bug#1076274: licensecheck: should have sensible default ignores like .git

Jonas Smedegaard jonas at jones.dk
Sat Jul 13 15:43:43 BST 2024


Control: block -1 by 960695
Control: severity -1 wishlist

Quoting Blair Noctis (2024-07-13 15:17:16)
> Package: licensecheck
> Version: 3.3.9-1
> Severity: normal
> X-Debbugs-Cc: n at sail.ng
> 
> Dear Maintainer,
> 
> When working with upstream Git repositories, it's easy to forget adding
> `--ignore .git` to licensecheck runs and get it into spitting out binary blocks
> from Git blobs. It's usually desirable to ignore them by default.
> 
> Expanding on that, it's also usually desirable to respect .gitignore or similar
> ignore files, as well as some common artifacts that are irrelevant for license
> checking purpose.

What is sensible varies.

You describe a "sloppy" use case of licensecheck, where silently
skipping non-source files is sensible.

For other "strict" use cases, it is not sensible to silently skip files.

This bugreport seems to be a variant of bug#960694 and bug#960695, and
(without bug#960695 solved) contradicts with bug#526701.

To not cause unpleasant surprises for "strict" use cases, fixing this
will need to be tied to a usage profile, i.e. bug#960695.

Thanks for reporting,

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20240713/051efa3b/attachment.sig>


More information about the pkg-perl-maintainers mailing list