Bug#545193: [licensecheck] Automatically check all files with -r

Jonas Smedegaard dr at jones.dk
Fri May 15 16:39:57 BST 2020


Package: licensecheck
Version: 3.0.46-1
Followup-For: Bug #545193

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Control: block -1 by 960695

Hi Kartik,

I agree that current defaults of licensecheck is not ideal.

My current plan to address this is to first introduce a new option
"--usage" which changes defaults, and then later (with bumping minor or
major version number) switch from current usage=legacy to e.g.
usage=debian.

If you have opinions/ideas/criticism for that general conceptual, then
please contribute at bug#960695.

Let's continue to track here the specifics of option "--recursive".

This is (a subset of) current "licensecheck --help":

 -c STR --check STR         regular expression of files to include
                            (default value: common source files)
 -i STR --ignore STR        regular expression of files to skip
                            (default value: some backup and VCS files)
 -r --recursive             traverse directories recursively

How do you think about this future "licensecheck --help":

 -c STR --check STR         files to include;
                            with usage=legacy a regular expression
                            replacing previous or default value
                            and default being common source files,
                            with any other usage a comma-separated list
                            adding onto previous and default values
                            except an empty value which clears the list
                            and default being all files
                            (default value: common source files)
 -i STR --ignore STR        files to skip;
                            with usage=legacy a regular expression
                            replacing previous or default value,
                            with any other usage a comma-separated list
                            adding onto previous and default values
                            except an empty value which clears the list
                            (default value: some backup and VCS files)
 -r --recursive             traverse directories recursively

I.e. change nothing for the option --recursive itself, only for the
options --include and --exclude (both listed here, even if only some of
my envisioned changes are relevant for this issue).

 - Jonas

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAl6+t8oACgkQLHwxRsGg
ASHq4g/9HR3XU6XO+Y85AnPEuOAEE2lnpH5o/NismOmR7QplzK3qAKGc+u4lDBZO
p8yMgfn66ig7zQzo0N7qYwQFSoyIm7QqDBlA9Qhp7+I4ccrqIyOukij1ByQVA9eq
PTacVe2a4s+Zw/FBecbq7fk2VN85+OCM6HLxR7cRO4CMS+1SxrYMaZup+JcloaRl
C/ucLOi6BTV9IVgocYAfqTWGjkZdxX6epRXwHdntqG/uDHWrav5FZ/MPC9hXFkbg
sxt74XwC5dygk+dEY6RIQgQa3y9PMVBl7q/f8S/HVAjp0hAK1OdcnGUu5EYmh6YP
QBc+Bd+yGBx+iRfs2XgGaQszgOHaVa6TrJgfcr/am0cnRWxvT4ctSrvzp4izQKwb
RA6OyNNZprRfUqFr7ZIchXBY9XIqDbDQUSqkoaxFHv+e4t9zj8YWW242id2soeEq
zCKmr6ybMgPKSTbdpqO/4jEPNLNqsaNm9bQ7KM5bXepy2GwUac+mlawOmplM+Ne4
BFPdJC5+zMw/L7dqN8wBXzhW5R5kqRODbwcTkjXdt9cLKDEQWrNC3gbOVMoCyrQG
zz3f3IvO6f3XNRJndtUXtADzDK01YoR+ad2coaItX2lwaJUUa1gDfvkKAVXSwjt+
J4zMk535tmTCtLK3MwNe8GkEGR0CNJff2TDkDD2IfVa372Pp300=
=fb4S
-----END PGP SIGNATURE-----



More information about the pkg-perl-maintainers mailing list