App-Licensecheck
view release on metacpan or search on metacpan
[ Documentation ]
- add some TODOs
[ Test Suite ]
- adjust for normalized license names in legacy output
- update author tests
- update detection of EUPL since Regexp::Pattern::License v3.3.1
- update test related to lgpl_* patterns covered since
Regexp::Pattern::License v3.3.2
[ Packaging ]
- tighten to require more recent Regexp::Pattern::License
[ Other ]
- append extrainfo to final legacy license string (previously appended
each license but only for custom match)
- avoid misdetecting license caldera as license-group bsd
- avoid misdetecting license python_2 as cnri_python
- drop custom GPL fulltext resolving (unused since
Regexp::Pattern::License 3.3.1)
- drop obsolete custom patterns
- improve log messages
- optimize: include left-anchoring when pre-compile clean_comments regexes
- quirk: avoid-step-wise for cua_opl_1
- revert: avoid detecting grant for license group (broken)
- skip custom LGPL grant resolving when (not only GPL-2 but also) LGPL-2
or LGPL-2.1 fulltext detected (needed since Regexp::Pattern::License
3.3.1)
- stepwise: optimize: match name left-anchored
- use usage patterns (i.e. *_only *_or_later)
v3.0.46 2020-03-13
[ Bug Fixes ]
- atomic: tighten grant patterns to include licensed_under prefix
[ Documentation ]
- relicense project as AGPL-3-or-newer; add Purism SPC as copyright holder
- update git repository URL
[ Test Suite ]
- mark 3 flawed author tests as such
- mark 4 bogusly versioned tests as such
- update author test related to gpl_* patterns covered since
Regexp::Pattern::License v3.3.0
- update author test related to rare apache_2 pattern covered since
Regexp::Pattern::License v3.3.0
[ Packaging ]
- require Regexp::Pattern::License 3.3.0
[ Other ]
- add FIXME comments where (mostly custom) patterns lack test coverage
- atomic: consult coverage from stepwise scan to avoid duplicate match
- atomic: explicitly (regardless of list @L_tidy) skip cc-by when
cc_by_sa_3 is detected
- avoid finalize in custom scan for GPL fulltext
- avoid wildcard in local bsd pattern
- detect vague grant for license group
- extend clean_comments() to strip escaped newline
- improve detection of GNU 'or-newer' usage grant version
- improve logging and comments
- logging: avoid undefined version for custom agpl grant detection
- logging: generally resolve positions
- logging: stepwise: log whole version string (not only number)
- logging: stepwise: resolve positions
- optimize: atomic: skip a few scans if grant already detected
- optimize: track incomplete patterns (not subset of complete ones) -
speed boost of %25!
- optimize: use optimized regex with /g (apparently supported by
re::engine::RE2)
- pre-compile left-anchored trait pattern version
- scan for GNU 'or-newer' usage version before singleversion grant version
- sort or'ed parts of expressions
- stepwise: detect 'or-later' usage grant also as versioned grant
- stepwise: detect prepended version
- stepwise: explicitly (regardless of list @L_tidy) avoid gpl
- stepwise: relax to use wider window for license name
- stepwise: track start and end position, and a moving current position
(not additional static ones)
- stepwise: use named (not numbered) capture for version
- track examined files
- use both custom and atomic patterns (not only custom) for agpl fsful
fsfullr gpl lgpl
v3.0.45 2020-02-21
[ Bug Fixes ]
- fix: try fallback encoding per-file (restore explicit encoding for
subsequent file)
Dominique Dumont++
- sort positions numerically (not alphanumerically)
[ Documentation ]
- fix print encoding name (not Encode object ref) if encoding fails
- use canonical encoding name iso-8859-1 (not latin-1)
[ Test Suite ]
- change namespace of local libraries to Test2::Licensecheck
- support fixing or skipping with Test2::Licensecheck::ScanCode skipfiles
[ Other ]
- streamline detection of bsd licenses
- update (improved but still failing) misdetection of SSLeay since
Regexp::Pattern::License v3.2.0
v3.0.44 2020-02-10
[ Test Suite ]
- ensure local script is executable
v3.0.43 2020-02-10
[ REGRESSIONS ]
- now misses trove declarations for AGPL-3+
[ Bug Fixes ]
- adjust end position of located license name
- resolve license fulltext last, to leave room for shadowing with
-or-newer grant
( run in 1.529 second using v1.01-cache-2.11-cpan-39bf76dae61 )