App-Licensecheck
view release on metacpan or search on metacpan
v3.3.6 2023-01-16
[ Packaging ]
- really use String::License
v3.3.5 2023-01-15
- externalize license resolving: use String::License
- stop (directly) use re::engine::RE2 Array::IntSpan experimental
Regexp::Pattern Regexp::Pattern::License File::BaseDir File::Basename
Software::LicenseUtils YAML::XS Test::Without::Module
- use Test2::Tools::Command (not Test::Command::Simple)
v3.3.4 2023-01-14
[ Bug Fixes ]
- use warnings, no longer done in Feature::Compat::Class since v0.05
[ Test Suite ]
- fix plan count to work on older perls
v3.3.3 2023-01-09
[ Bug Fixes ]
- avoid silence warnings on older (but not too old) perls
v3.3.2 2023-01-07
[ Bug Fixes ]
- avoid silence warnings on older perls
[ Test Suite ]
- rewrite fedora tests
v3.3.1 2023-01-03
[ Bug Fixes ]
- resolve naming schemes when listing licenses
[ Documentation ]
- extend copyright to include present year
- improve synopsis
[ Test Suite ]
- add author tests to check SYNOPSIS
- simplify and generalize tests slightly
- tell Perl::Critic that Object::Pad implicitly enables strict and
warnings
[ Packaging ]
- tighten dependency on Pod::Usage to silence spurious 'used only once:
possible typo' warning notably with perls older than 5.18
- unset executable bit on module file in source
[ Other ]
- have module methods return lists, and print to STDOUT in main script
- modernize class instantiations to use field and :param and ADJUST (not
has and BUILD)
- parse shortname schemes in main script, slightly simplifying modules
- refactor to iterate files in main script
- rename parameter shortname_scheme -> schemes, and validate
- stop include path in log messages within method parse_license
- use Feature::Compat::Class (not Object::Pad)
- use Feature::Compat::Try (not Try::Tiny)
- use Object::Pad 0.74
v3.3.0 2022-01-08
[ Bug Fixes ]
- catch decoding errors and retry as iso-8859-1 encoding
- fix dumping of content tail
[ Documentation ]
- clarify option --tail
- update TODOs, and reformat as CommonMark
[ Test Suite ]
- add tests reading only header and tail
- check full contents of Software::License generated data
- enable debug output for encoding tests
- fix one devscripts TODO test
- parse perl-generated Software::License data as utf8
- refactor to directly use App::Licensecheck (i.e. drop local module
Test2::Licensecheck)
- rewrite Software::License tests to check against library
- rewrite devscripts tests to use library
- separate script report tests from devscripts.t
- use only SPDX shortnames (not also debian shortnames) for
Software::License and SPDX tests, and list only deviating entries
[ Packaging ]
- Run perltidier (not perltidy) with tidyall
[ Other ]
- Added: add options --quiet --debug --trace (and deprecate now no-op
option --no-verbose)
- avoid given/when
- call log->trace() (not log->tracef()) for simple strings
- change option --skipped to use Log::Tiny (not core warn), and log as
debug when not set
- declare package version with package name, and move POD sections NAME
VERSION SYNOPSIS DESCRIPTION closer to top of files
- have $fh $license $copyrights as slots (not local variables)
- improve resolving offset
- logging: dump content as trace (not notice)
- logging: log fatal errors using Log::Tiny
- logging: log files processed as debug, with decoding details (not
tersely as trace)
- logging: warn about obsolete options using Log::Tiny (not using core
warn)
- logging: warn tersely on file decoding failure, and list error message
as debug (not all as notice)
- merge method parse_lines() into parse_file(), and use $encoding slot
(stop redefine as local variable)
- pass around File object (not path, content and (currently unused) offset
in content)
- refactor to have slot $path in main class (not class File)
- refactor to hold semi-cleaned content (not cleaned-for-license-parsing)
in slot $content
- refactor to merge local class File into main class
- refactor to read and decode files in method content()
( run in 0.542 second using v1.01-cache-2.11-cpan-39bf76dae61 )