Debian Codegraph @

Changes

raw
1 App-Licensecheck
2 ================
3
4 Created: 2000-01-28
5 Home page: <https://metacpan.org/pod/App::Licensecheck>
6 Home page: <https://metacpan.org/release/App-Licensecheck>
7 Bug tracker: <https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=licensecheck>
8 Maintainer: Jonas Smedegaard (JONASS) <[email protected]>
9
10 v3.3.9 2023-07-04
11
12 [ Bug Fixes ]
13 - fix: properly catch second decoding error, to try raw as fallback of
14 both explicit and iso-8859-1 encoding (broken since v3.3.1)
15
16 [ Test Suite ]
17 - relax encoding tests to cover String::License v0.0.6
18 - relax stderr for a few encoding tests
19 - skip encoding tests on cygwin
20
21 [ Other ]
22 - log failure error before retry notice
23 - use Feature::Compat::Class after core features, to support newer perl;
24 thanks to Jitka Plesníková and Graham Knop (see RT#148507)
25
26 v3.3.8 2023-01-18
27
28 [ Test Suite ]
29 - skip test reading.t with too old String::Copyright
30
31 [ Packaging ]
32 - test-recommend String::Copyright 0.003009
33
34 v3.3.7 2023-01-17
35
36 [ Packaging ]
37 - test-require Test2::Tools::Command
38
39 v3.3.6 2023-01-16
40
41 [ Packaging ]
42 - really use String::License
43
44 v3.3.5 2023-01-15
45
46 - externalize license resolving: use String::License
47 - stop (directly) use re::engine::RE2 Array::IntSpan experimental
48 Regexp::Pattern Regexp::Pattern::License File::BaseDir File::Basename
49 Software::LicenseUtils YAML::XS Test::Without::Module
50 - use Test2::Tools::Command (not Test::Command::Simple)
51
52 v3.3.4 2023-01-14
53
54 [ Bug Fixes ]
55 - use warnings, no longer done in Feature::Compat::Class since v0.05
56
57 [ Test Suite ]
58 - fix plan count to work on older perls
59
60 v3.3.3 2023-01-09
61
62 [ Bug Fixes ]
63 - avoid silence warnings on older (but not too old) perls
64
65 v3.3.2 2023-01-07
66
67 [ Bug Fixes ]
68 - avoid silence warnings on older perls
69
70 [ Test Suite ]
71 - rewrite fedora tests
72
73 v3.3.1 2023-01-03
74
75 [ Bug Fixes ]
76 - resolve naming schemes when listing licenses
77
78 [ Documentation ]
79 - extend copyright to include present year
80 - improve synopsis
81
82 [ Test Suite ]
83 - add author tests to check SYNOPSIS
84 - simplify and generalize tests slightly
85 - tell Perl::Critic that Object::Pad implicitly enables strict and
86 warnings
87
88 [ Packaging ]
89 - tighten dependency on Pod::Usage to silence spurious 'used only once:
90 possible typo' warning notably with perls older than 5.18
91 - unset executable bit on module file in source
92
93 [ Other ]
94 - have module methods return lists, and print to STDOUT in main script
95 - modernize class instantiations to use field and :param and ADJUST (not
96 has and BUILD)
97 - parse shortname schemes in main script, slightly simplifying modules
98 - refactor to iterate files in main script
99 - rename parameter shortname_scheme -> schemes, and validate
100 - stop include path in log messages within method parse_license
101 - use Feature::Compat::Class (not Object::Pad)
102 - use Feature::Compat::Try (not Try::Tiny)
103 - use Object::Pad 0.74
104
105 v3.3.0 2022-01-08
106
107 [ Bug Fixes ]
108 - catch decoding errors and retry as iso-8859-1 encoding
109 - fix dumping of content tail
110
111 [ Documentation ]
112 - clarify option --tail
113 - update TODOs, and reformat as CommonMark
114
115 [ Test Suite ]
116 - add tests reading only header and tail
117 - check full contents of Software::License generated data
118 - enable debug output for encoding tests
119 - fix one devscripts TODO test
120 - parse perl-generated Software::License data as utf8
121 - refactor to directly use App::Licensecheck (i.e. drop local module
122 Test2::Licensecheck)
123 - rewrite Software::License tests to check against library
124 - rewrite devscripts tests to use library
125 - separate script report tests from devscripts.t
126 - use only SPDX shortnames (not also debian shortnames) for
127 Software::License and SPDX tests, and list only deviating entries
128
129 [ Other ]
130 - Added: add options --quiet --debug --trace (and deprecate now no-op
131 option --no-verbose)
132 - Run perltidier (not perltidy) with tidyall
133 - avoid given/when
134 - call log->trace() (not log->tracef()) for simple strings
135 - change option --skipped to use Log::Tiny (not core warn), and log as
136 debug when not set
137 - declare package version with package name, and move POD sections NAME
138 VERSION SYNOPSIS DESCRIPTION closer to top of files
139 - have $fh $license $copyrights as slots (not local variables)
140 - improve resolving offset
141 - logging: dump content as trace (not notice)
142 - logging: log fatal errors using Log::Tiny
143 - logging: log files processed as debug, with decoding details (not
144 tersely as trace)
145 - logging: warn about obsolete options using Log::Tiny (not using core
146 warn)
147 - logging: warn tersely on file decoding failure, and list error message
148 as debug (not all as notice)
149 - merge method parse_lines() into parse_file(), and use $encoding slot
150 (stop redefine as local variable)
151 - pass around File object (not path, content and (currently unused) offset
152 in content)
153 - refactor to have slot $path in main class (not class File)
154 - refactor to hold semi-cleaned content (not cleaned-for-license-parsing)
155 in slot $content
156 - refactor to merge local class File into main class
157 - refactor to read and decode files in method content()
158 - refactor to use Object::Pad (not Moo or MooX::Struct)
159 - use named arguments for struct objects
160
161 v3.2.14 2021-11-22
162
163 [ Bug Fixes ]
164 - fix tests to use executable set in environment variable LICENSECHECK
165 Paul Gevers++
166
167 v3.2.13 2021-10-11
168
169 [ Bug Fixes ]
170 - fix encoding tests flag as TODO tests using undecoded input:
171 String::Copyright documented to accept only strings
172 Adrian Bunk++
173
174 [ Test Suite ]
175 - tighten test to not fail with old String::Copyright
176
177 [ Other ]
178 - relax dependency on perl to v5.12, and explicitly 'use' it, to slightly
179 simplify boilerplate
180 - stop use version (unneeded with modern perl)
181 - tighten runtime-dependency on Encode, to avoid 'Use of uninitialized
182 value' on stderr
183
184 v3.2.12 2021-08-30
185
186 [ Bug Fixes ]
187 - use path-less shebang (not indirect env executable, and execute from
188 blib subdir when available
189 SCANTRELL++
190 Slaven Rezić++
191
192 v3.2.11 2021-08-18
193
194 [ Test Suite ]
195 - skip *-no-RE2 tests unless installed Regexp::Pattern::License is recent
196 enough to support it
197
198 v3.2.10 2021-08-18
199
200 [ Documentation ]
201 - improve POD markup of SYNOPSIS and a few code strings
202
203 [ Test Suite ]
204 - improve tests
205 - test-require Test::Without::Module
206
207 [ Packaging ]
208 - relax to recommend (not depend on) module re::engine::RE2
209
210 v3.2.9 2021-08-16
211
212 [ Packaging ]
213 - stop use Sort::Key::Multi
214
215 [ Other ]
216 - strip xml tag <ref ...>, and extend to strip html tags <p> <br> with
217 attributes (not only bare tags)
218
219 v3.2.8 2021-08-15
220
221 - fix tests and silence warnings with Regexp::Pattern::License less than
222 v3.8.1
223
224 v3.2.7 2021-08-14
225
226 [ Bug Fixes ]
227 - extend local lgpl dual-license pattern to not assume name patterns
228 include trait published_by, required since Regexp::Pattern::License
229 v3.9.0
230 - stop treat : or :// as cruft
231 - strip simple closing (not only opening) html tags as cruft
232
233 [ Test Suite ]
234 - add test for (not yet detected) BSD-3-clause~Refractions
235 - simplify tests
236 - stop skip author test apparently succeding nowadays
237 - test-recommend Regexp::Pattern::License 3.9.0
238 - update author tests to cover Regexp::Pattern::License v3.9.0
239
240 [ Other ]
241 - avoid hardcoding names of specific prefix traits
242 - detect python_2 and (additional, standalone) cnri_python in same file
243 - force atomic scan for mit_new, to avoid misdetecting ambiguous MIT X11
244 grant as only x11
245 - optimize: compile only patterns actually used
246
247 v3.2.6 2021-08-07
248
249 [ Documentation ]
250 - correct typo in SEE ALSO entry
251 - extend copyright to include present year
252
253 [ Test Suite ]
254 - update author tests to cover Regexp::Pattern::License v3.8.0
255
256 [ Packaging ]
257 - tighten test-recommendation on Regexp::Pattern::License
258
259 [ Other ]
260 - optimixe: compile some internal regexes only once
261 - postpone compiling regexes, to speedup response time for non-scanning
262 command-line options
263
264 v3.2.5 2021-07-22
265
266 [ Bug Fixes ]
267 - fix shebang to use /usr/bin/env (don't hardcode /usr/bin/perl)
268 - strip all trailing dash a.k.a. soft-wraps (not only first instance)
269
270 [ Packaging ]
271 - tighten test-recommendation on Regexp::Pattern::License
272
273 [ Other ]
274 - extend functions clean_cruft() clean_cruft_and_spaces() to strip html
275 tags
276
277 v3.2.4 2021-07-17
278
279 [ Test Suite ]
280 - update testsuite to cover Regexp::Pattern::License v3.7.0
281
282 [ Other ]
283 - extend function clean_cruft_and_spaces() to strip trailing dash,
284 assuming it is soft-wrap
285 - refine resolving of license names to cover more variants
286
287 v3.2.3 2021-07-07
288
289 [ Bug Fixes ]
290 - fix option --copyright-delimiter (deb-machine output broken since
291 v3.2.0)
292
293 [ Test Suite ]
294 - rewrite encoding tests
295
296 [ Other ]
297 - stop use strictures (not sure why, but CPANTESTERS choke on it)
298
299 v3.2.2 2021-07-04
300
301 [ Bug Fixes ]
302 - fix ignore atomic discoveries in areas already detected stepwise as a
303 license, grant, or exception
304 - fix include leading licensed_under when tracking detected positions
305 - fix resolve shortname not reusable in grant (e.g. SPDX using unversioned
306 SISSL for SISSL-1.1)
307
308 [ Documentation ]
309 - fix describe option --shortname-scheme (not bogus option
310 --shortname-schemes) in changelog entry for release v3.2
311 - fix trace output to include string for stepwise or_later grant trait
312 - mention in POD when each option was introduced
313
314 [ Test Suite ]
315 - add README to source, documenting origin of Fedora tests
316 - add test for not yet recognized PS-or-PDF-font exception
317 - tighten test requirement on Regexp::Pattern::License
318 - update tests to cover Regexp::Pattern::License v3.6.0
319
320 [ Packaging ]
321 - relax runtime requirement on Regexp::Pattern::License
322 - tighten .gitignore file
323
324 [ Other ]
325 - tighten internal trait objects to require file attribute
326
327 v3.2.1 2021-06-29
328
329 [ Bug Fixes ]
330 - fix option --deb-machine (broken since v3.2.0)
331
332 [ Test Suite ]
333 - fix include missing test files
334 - stop use strictures in tests (unneeded with Tests2::V0)
335
336 v3.2.0 2021-06-22
337
338 [ Bug Fixes ]
339 - stepwise: fix omit version for singleversion objects
340 Sandro Mani++
341 - tighten custom BSD detection to avoid SSLeay false positive
342 - use Getopt::Long and Pod::Usage (not Getopt::Long::Descriptive)
343 David Bremner++
344
345 [ Documentation ]
346 - add pod section ENVIRONMENT (replacing and expanding section DEBUGGING)
347 - colorize output of --help option, and auto-enable color more reliably
348 - document that options --check and --ignore apply only when multiple
349 PATHs are provided
350 - improve markup of pod section OPTIONS
351 - rephrase description for option --skipped
352 - restore POD section OPTIONS (gone since v3.0.2)
353 - split pod section OPTIONS into subsections
354 - stop bogusly annotate v3.1.0 bugfix as security-related
355 - update TODOs
356
357 [ Test Suite ]
358 - update author tests
359 - update detection of SISSL since Regexp::Pattern::License v3.5.0
360 - update to match capitalized name of Libtool exception, corrected since
361 Regexp::Pattern::License v3.5.0
362
363 [ Packaging ]
364 - tighten to require more recent Regexp::Pattern::License
365
366 [ Other ]
367 - Added: add option --list-licenses
368 - Added: add option --list-naming-schemes
369 - Added: add option --shortname-scheme, replacing option --deb-fmt (kept
370 for now, documented as deprecated)
371 - logging: fix resolve identifier in trace of exception and flaw detection
372 - resolve license patterns only when used, speeding up --help
373 - use IO::Interactive
374
375 v3.1.1 2020-05-21
376
377 [ Test Suite ]
378 - drop tricky and superfluous exception test
379
380 v3.1.0 2020-05-21
381
382 [ Bug Fixes ]
383 - avoid uninitialized value in local Apache-and-BSD pattern
384 Sandro Mani++
385
386 [ Test Suite ]
387 - check detection of generated file
388 - check detection of incorrect FSF postal address
389 - update author tests
390 - update to reflect changed markup of flaws
391
392 [ Packaging ]
393 - fix test-require (not only runtime-require) strictures
394 - tighten to require more recent Regexp::Pattern::License
395
396 [ Other ]
397 - Added: enclose flaws with square brackets (not parens, now used for
398 details of some flaws) in legacy output
399 - detect exceptions, tracked as objects
400 - streamline and improve detection of generated file
401 - streamline and improve detection of incorrect FSF postal address
402 - track detected flaws as objects
403
404 v3.0.47 2020-05-17
405
406 [ Bug Fixes ]
407 - fix resolve SPDX keyword for *_or_later (broken in commit 1bcccbdv3.0.40
408 released since v3.0.40)
409 - stepwise: fix detect leading version
410
411 [ Documentation ]
412 - add some TODOs
413
414 [ Test Suite ]
415 - adjust for normalized license names in legacy output
416 - update author tests
417 - update detection of EUPL since Regexp::Pattern::License v3.3.1
418 - update test related to lgpl_* patterns covered since
419 Regexp::Pattern::License v3.3.2
420
421 [ Packaging ]
422 - tighten to require more recent Regexp::Pattern::License
423
424 [ Other ]
425 - append extrainfo to final legacy license string (previously appended
426 each license but only for custom match)
427 - avoid misdetecting license caldera as license-group bsd
428 - avoid misdetecting license python_2 as cnri_python
429 - drop custom GPL fulltext resolving (unused since
430 Regexp::Pattern::License 3.3.1)
431 - drop obsolete custom patterns
432 - improve log messages
433 - optimize: include left-anchoring when pre-compile clean_comments regexes
434 - quirk: avoid-step-wise for cua_opl_1
435 - revert: avoid detecting grant for license group (broken)
436 - skip custom LGPL grant resolving when (not only GPL-2 but also) LGPL-2
437 or LGPL-2.1 fulltext detected (needed since Regexp::Pattern::License
438 3.3.1)
439 - stepwise: optimize: match name left-anchored
440 - use usage patterns (i.e. *_only *_or_later)
441
442 v3.0.46 2020-03-13
443
444 [ Bug Fixes ]
445 - atomic: tighten grant patterns to include licensed_under prefix
446
447 [ Documentation ]
448 - relicense project as AGPL-3-or-newer; add Purism SPC as copyright holder
449 - update git repository URL
450
451 [ Test Suite ]
452 - mark 3 flawed author tests as such
453 - mark 4 bogusly versioned tests as such
454 - update author test related to gpl_* patterns covered since
455 Regexp::Pattern::License v3.3.0
456 - update author test related to rare apache_2 pattern covered since
457 Regexp::Pattern::License v3.3.0
458
459 [ Packaging ]
460 - require Regexp::Pattern::License 3.3.0
461
462 [ Other ]
463 - add FIXME comments where (mostly custom) patterns lack test coverage
464 - atomic: consult coverage from stepwise scan to avoid duplicate match
465 - atomic: explicitly (regardless of list @L_tidy) skip cc-by when
466 cc_by_sa_3 is detected
467 - avoid finalize in custom scan for GPL fulltext
468 - avoid wildcard in local bsd pattern
469 - detect vague grant for license group
470 - extend clean_comments() to strip escaped newline
471 - improve detection of GNU 'or-newer' usage grant version
472 - improve logging and comments
473 - logging: avoid undefined version for custom agpl grant detection
474 - logging: generally resolve positions
475 - logging: stepwise: log whole version string (not only number)
476 - logging: stepwise: resolve positions
477 - optimize: atomic: skip a few scans if grant already detected
478 - optimize: track incomplete patterns (not subset of complete ones) -
479 speed boost of %25!
480 - optimize: use optimized regex with /g (apparently supported by
481 re::engine::RE2)
482 - pre-compile left-anchored trait pattern version
483 - scan for GNU 'or-newer' usage version before singleversion grant version
484 - sort or'ed parts of expressions
485 - stepwise: detect 'or-later' usage grant also as versioned grant
486 - stepwise: detect prepended version
487 - stepwise: explicitly (regardless of list @L_tidy) avoid gpl
488 - stepwise: relax to use wider window for license name
489 - stepwise: track start and end position, and a moving current position
490 (not additional static ones)
491 - stepwise: use named (not numbered) capture for version
492 - track examined files
493 - use both custom and atomic patterns (not only custom) for agpl fsful
494 fsfullr gpl lgpl
495
496 v3.0.45 2020-02-21
497
498 [ Bug Fixes ]
499 - fix: try fallback encoding per-file (restore explicit encoding for
500 subsequent file)
501 Dominique Dumont++
502 - sort positions numerically (not alphanumerically)
503
504 [ Documentation ]
505 - fix print encoding name (not Encode object ref) if encoding fails
506 - use canonical encoding name iso-8859-1 (not latin-1)
507
508 [ Test Suite ]
509 - change namespace of local libraries to Test2::Licensecheck
510 - support fixing or skipping with Test2::Licensecheck::ScanCode skipfiles
511
512 [ Other ]
513 - streamline detection of bsd licenses
514 - update (improved but still failing) misdetection of SSLeay since
515 Regexp::Pattern::License v3.2.0
516
517 v3.0.44 2020-02-10
518
519 [ Test Suite ]
520 - ensure local script is executable
521
522 v3.0.43 2020-02-10
523
524 [ REGRESSIONS ]
525 - now misses trove declarations for AGPL-3+
526
527 [ Bug Fixes ]
528 - adjust end position of located license name
529 - resolve license fulltext last, to leave room for shadowing with
530 -or-newer grant
531 - tests: declare "use utf8" and "use feature 'unicode_strings'" in
532 encode.t
533
534 [ Documentation ]
535 - update TODOs
536
537 [ Test Suite ]
538 - drop unused function is_licensed_like_scancode
539 - tighten encode.t (still fails with non-UTF-8 locales)
540 - update author tests related to ZPL since Regexp::Pattern::License
541 v3.1.102
542 - update tests
543 - use List::SomeUtils (not List::MoreUtils)
544 - use Test2::V0
545
546 [ Packaging ]
547 - relax to require strictures unversioned
548 - require Encode::Locale Encode
549 - require MooX::Struct
550 - require Regexp::Pattern 0.2.12 and Regexp::Pattern::License 3.1.102
551 - stop test-recommend List::MoreUtils
552 - stop test-require UNIVERSAL::require (unused since v3.0.2)
553 - test-require Test2::V0 (not Test::Builder::Module Test::Requires
554 Test::More)
555
556 [ Other ]
557 - avoid misdetecting CECILL-1.1 as GPL-1+ due to extending trait pattern
558 licensed_under since Regexp::Pattern::License v3.1.102
559 - consistently use strictures, unversioned
560 - consult coverage of well-formed scan to avoid duplicate matches
561 - improve detection of AGPL licenses
562 - optimize detection of ZPL licenses
563 - simplify avoiding license duplicates in expression by skipping grant of
564 same id as already found fulltext
565 - simplify flagging step-wise grants
566 - stop resolve regexes licensed_under version_later (unused since v3.0.42)
567 - tighten which regexes to generate
568 - track detected licensing as objects
569 - track step-wise traits as objects
570 - track traits as objects
571
572 v3.0.42 2020-02-01
573
574 [ REGRESSIONS ]
575 - now fails to detect dual-licensing of CC-BY-SA-3.0 or LGPL-2 (test case:
576 utilities.scad)
577
578 [ Bug Fixes ]
579 - gracefully skip to next file on failure decoding a file (broken since
580 v3.0.38)
581 Dominique Dumont++
582
583 [ Test Suite ]
584 - environment variable LICENSECHECK sets path to licensecheck (default:
585 bin/licensecheck)
586 Gregor Hermann++
587 - simplify tests Software-License.t devscripts.t encoding.t
588
589 [ Packaging ]
590 - test-require Test::Command::Simple (not Test::Script)
591
592 [ Other ]
593 - drop obsolete custom patterns
594 - optimization: drop custom CC patterns
595 - optimization: stop skip detection of GPL/LGPL fulltext
596
597 v3.0.41 2020-01-30
598
599 [ Documentation ]
600 - clarify comment about identifiers being DEP-5 or SPDX (not only SPDX)
601
602 [ Test Suite ]
603 - testsuite: update tests for Regexp::Pattern::License v3.1.101 (many
604 improvements, few "regressions" especially related to dual-licensing due
605 to previously accidentally matching by name only)
606
607 [ Other ]
608 - merge duplicate detections of same license
609 - optimization: avoid accidentally flagging all objects for rescanning
610 when checking if rescanning can be skipped :-/
611
612 v3.0.40 2020-01-28
613
614 [ Bug Fixes ]
615 - drop bogus small optimization.
616 - resolve SPDX keyword for AFPL.
617 - step-wise grant: capture non-versioned grant.
618 - step-wise grant: skip type:group license names.
619 - strip fortran comment also on otherwise empty line.
620
621 [ Test Suite ]
622 - update author tests for added Trove captions since
623 Regexp::Pattern::License v3.1.100.
624 - update author tests for improved trait licensed_under since
625 Regexp::Pattern::License v3.1.100.
626
627 [ Other ]
628 - fix: step-wise grant: capture traits before mangling version.
629 - improve custom-matching versioned apache grants.
630 - improve logging.
631 - optimization: step-wise grant: scan for name only directly after
632 licensed_under.
633 - step-wise grant: detect type:singleversion license names.
634 - step-wise grants: track trait license_label (in addition to
635 licensed_under).
636 - step-wise grants: track trait license_label_trove (in addition to
637 track_label licensed_under).
638 - streamline detection of well-formed licenses.
639 - tests: update author testsuite.
640 - track identified areas of strings and skip further parsing; require
641 Array::IntSpan.
642 - use nsort_by to sort matches; require List::SomeUtils (not List::Util).
643
644 v3.0.39 2020-01-04
645
646 - Improve detection of CC licenses.
647 - improve logging; stop require MooX::Role::Logger
648 - optimize bsd detection (apparently case-insensitive match in unneeded)
649 - use hash interface of Regexp::Pattern and RE2 regexes; require
650 re:engine::RE2, and more recent Regexp::Pattern and
651 Regexp::Pattern::License
652
653 v3.0.38 2020-01-03
654
655 [ REGRESSIONS ]
656 - misdetects some GNU fulltext licenses as also maybe LGPL
657
658 [ Bug Fixes ]
659 - Add missing newline when no arguments
660 - fix: detect creative commons dual-version-licensing (not misdetect as
661 same version twice)
662 - support non-utf8 locale
663
664 [ Test Suite ]
665 - Isolate and extend encoding tests.
666 - adapt author testsuite for improved detection (and few minor
667 regressions) since Regexp::Pattern::License v3.1.95
668 - silence warnings in handling utf8 content
669
670 [ Packaging ]
671 - use more recent Regexp::Pattern::License
672
673 [ Other ]
674 - Add missing newline when no arguments
675 - Improve detection of AFL licenses.
676 - Improve detection of Boost licenses.
677 - Improve detection of Cecill licenses.
678 - Improve detection of WTFPL and WTFNMFPL licenses.
679 - Move encoding loop from executable to library.
680 - Streamline detection of well-formed grants.
681 - Tighten and improve detection of Artistic licenses.
682 - define local regexes in sub licensepatterns (not sub parse_license)
683 - improve detection of apache licenses
684 - pass file and position to function parse_license
685 - support environment variable DEBUG; require modules Log::Any
686 Log::Any::Adapter::Screen MooX::Role::Logger
687
688 v3.0.37 2019-06-12
689
690 [ Documentation ]
691 - Update TODOs.
692
693 [ Test Suite ]
694 - Adapt author testsuite for improved detection (and few minor egressions)
695 since Regexp::Pattern::License v3.1.94.
696 - Adapt testsuite to use recent Software::LicenseUtils (not slightly older
697 Software::License).
698 - Fix handle missing ScanCode corpus..
699 - Load Test::Builder only once per module..
700 - Update testsuite: OSI license Artistic-1.0 really is Artistic-1.0-Perl.
701
702 [ Other ]
703 - Reuse previous name match.
704 - Simplify conditionals: Replace given-when-continue with if.
705 - Skip scan for CC grant unless name already detected.
706 - Use more recent Regexp::Pattern::License.
707
708 v3.0.36 2018-04-05
709
710 - Limit to compile only trait patterns actually used.
711 - Match name alone, before recompiled custom regexes.
712 - Simplify AGPL-related pattern slightly.
713 - Sort license keys once.
714 - Tighten apache pattern slightly.
715 - Tighten gpl pattern.
716 - Track matches in hash (not array).
717 - Use Regexp::Pattern::License trait patterns any_of licensed_under
718 or_at_option version version_numberstring.
719
720 v3.0.35 2018-03-30
721
722 [ Bug Fixes ]
723 - Fix tolerate alternative regexp compilers.
724
725 [ Test Suite ]
726 - Adapt testsuite for detecting uppercase GPL or LGPL post
727 Regexp::Pattern::License v3.1.0.
728 - Adapt testsuite for detection of FSFULLR post Regexp::Pattern::License
729 v3.1.0.
730 - Adapt testsuite for improved detection since Regexp::Pattern::License
731 v3.1.0.
732 - Adapt testsuite for renamed pattern kevlin-henney → Kevlin-Henney post
733 Regexp::Pattern::License v3.1.0.
734 - Adapt testsuite for renamed pattern khronos → Khronos post
735 Regexp::Pattern::License v3.1.0.
736 - Testsuite: Improve workarounds for license
737 zlib-acknowledgement/Nunit/NUnit.
738 - Testsuite: Tolerate Aladdin License mis-categorized as unversioned by
739 SPDX, as reflected post Regexp::Pattern::License v3.1.0.
740
741 [ Other ]
742 - Improve license patterns cecill_b cecill_c to detect more forms
743 (previously misdetected as cecill).
744 - Use Regexp::Pattern::License subject patterns.
745
746 v3.0.34 2018-03-29
747
748 [ Bug Fixes ]
749 - Fix support uncompiled patterns from Regexp::Pattern::License.
750 - Fix tighten license key loop (skip eventual DefHash attributes).
751 - Fix tighten version matching: Wrap in group when optional.
752 - Fix word-based comment removal.
753
754 [ Documentation ]
755 - Extend TODO with more ideas.
756
757 [ Test Suite ]
758 - Demote ScanCode tests to maintainer tests.
759 - Fix Software-License test to match license shortnames (not captions
760 which are not fixed).
761 - Relax devscripts test to match SPDX-style license captions as supported
762 post Regexp::Patterns::License v3.1.0.
763 - Testsuite speed boost: Parse skipfile once per set, not once per file in
764 each set.
765 - Testsuite: Add function license_like.
766 - Testsuite: handle alternative name of license bdwgc → MIT~Boehm post
767 Regexp::Pattern::License v3.1.0.
768
769 [ Other ]
770 - Generalize singleversion patterns.
771 - Resolve license patterns as Debian → SPDX → generic (not just Debian →
772 generic) to support less SPDX-centric names post
773 Regexp::Pattern::License v3.1.0.
774 - Simplify pattern tag resolving.
775 - Slight speed boost: Use eq (not regexp) for simple comparisons.
776 - Speed boost: Fix load regexp patterns once (not once or twice per file).
777 - Use regexp patterns as-is (avoid recompiling).
778
779 v3.0.33 2018-02-15
780
781 [ Test Suite ]
782 - Extend testsuite to 2410 succeeding tests and 5313 TODOs (from 227 and 7
783 TODOs), when ScanCode v2.1.1 test data is available below
784 $ENV{XDG_DATA_DIRS} + tests/ScanCode/
785 - Rewrite testsuite to use Test::Builder::Module (not Test::Roo).
786
787 v3.0.32 2018-02-09
788
789 [ REGRESSIONS ]
790 - Adapt testsuite to tolerate misdetecting MPL-1.0 as MPL: Regression
791 caused by more generalized matching.
792
793 [ Documentation ]
794 - Add TODO file, with a bunch of ideas.
795 - Improve POD: Add SEE ALSO section to commandline tool.
796
797 [ Other ]
798 - Adapt and extend testsuite to cover new license patterns supported by
799 Regex::Patterns::License 3.1.0: bdwgc bdwgc-matlab gfdl lgpl-bdwgc.
800 - Optimize slightly: Skip embedded or referenced licenses earlier.
801 - Tighten regexes: Generalize and improve matching.
802 - Use Regexp::Pattern.
803 - Use Regexp::Pattern::License 3.1.0 tags.
804
805 v3.0.31 2017-08-16
806
807 [ Documentation ]
808 - Fix bogusly labelled changelog entry part of release 2.0.30 (didn't fix
809 bare-named BSD licenses, but instead tightened a bunch of license
810 patterns).
811
812 [ Packaging ]
813 - Stop ship Regexp::Pattern::License, now an independent distribution.
814
815 v3.0.30 2017-07-05
816
817 [ Bug Fixes ]
818 - Fix license pattern ms_pl to detect MS Public License (not non-free MS
819 Permissive License).
820 - Tighten license patterns afl agpl cdl gfdl gfdl_nivgpl lgpl llgpl mpl
821 ms_pl ms_rl qpl sgi_b wtfpl mit to require descriptive prefix when only
822 an abbreviation.
823 Axel Beckert++
824
825 [ Test Suite ]
826 - Add OSI test (including only currently succeeding OSI licenses for now).
827
828 [ Other ]
829 - Added: Add license pattern artistic_2.
830 - Improve license pattern agpl to skip english (not only french)
831 cecill_2_1.
832 - Improve license pattern epl to detect some forms of "or newer".
833 - Improve license pattern epl.
834 - clean_comments(): Relax to match varying amount of horizontal whitespace
835 (not exactly one character) followed by any non-whitespace (not only a
836 word character).
837 - clean_comments(): Tighten to match and strip only horizontal whitespace
838 (not newlines).
839
840 v3.0.29 2017-01-24
841
842 [ REGRESSIONS ]
843 - Drop gpl+aladdin combo license: Too exotic.
844
845 [ Bug Fixes ]
846 - Fix detect BSD licenses as bare name.
847 Vasudev Kamath++
848 - Fix don't choke on unspecificed BSD license.
849
850 [ Documentation ]
851 - Document Regexp::Pattern::License as a private module.
852
853 [ Other ]
854 - Added: Add license patterns ofl aladdin rpsl mit_cmu mit_cmu_warranty.
855 - Improve license patterns ftl mit_feh mit_enna cube eurosym libpng zlib
856 zlib_acknowledgement.
857 - Sort before enumerating ambiguously related combo licenses.
858 - Streamline license parsing: Process loops of similar patterne.
859
860 v3.0.28 2016-11-25
861
862 [ Bug Fixes ]
863 - Fix detect dual licensing mit_new mit_old (and speed up partsing while
864 at it).
865 - Fix tighten detection of ISC license (was misdetecting curl).
866 - Fix tighten detection of mit_new license (was misdetecting other MIT
867 flavors).
868 - Fix tighten license pattern curl (was misdetecting other MIT variants).
869
870 [ Documentation ]
871 - Extend license pattern dsdp with alternate fedora name PetSC.
872 - Fix typo in changelog.
873 - Tidy changelog: Improve distinction between newly added and
874 added-to-patternlist entries.
875
876 [ Other ]
877 - Add license pattern ISC to Regexp::Pattern::License::Pattern.
878 - Added: Add new license pattern icu.
879 - Added: Add new license pattern mit_advertising.
880 - Added: Add new license patterns mit_enna mit_feh.
881 - Drop unused and too broad trait pattern disclaimer.
882 - List license mit_new alternate fedora name Modern Style with sublicense.
883 - Tidy Regexp::Pattern::License: Remove stray bogus regexp.
884 - Tidy Regexp::Pattern::License::Pattern: Fix sort pattern list.
885 - Tidy Regexp::Pattern::License::Pattern: Rename pattern
886 provided_no_warranty → asis_expr_warranty.
887 - Tidy Regexp::Pattern::License::Pattern: Rename pattern
888 repro_notice_cond_discl → note_repro_notice_cond_discl.
889 - Tidy Regexp::Pattern::License::Pattern: Rename pattern
890 retain_notice_cond_discl → note_retain_notice_cond_discl.
891 - Tidy Regexp::Pattern::License::Pattern: Rename pattern discl →
892 asis_sw_name.
893 - Tidy Regexp::Pattern::License::Pattern: Rename pattern discl_disclaim →
894 discl_name_warranties.
895 - Tidy Regexp::Pattern::License::Pattern: Rename pattern discl_provide →
896 asis_name_sw.
897 - Tidy Regexp::Pattern::License::Pattern: Rename pattern name_no_ad →
898 nopromo_written_prior.
899 - Tidy Regexp::Pattern::License::Pattern: Rename pattern promo_no_author →
900 nopromo_neither.
901 - Tidy Regexp::Pattern::License::Pattern: Rename pattern retain_notice →
902 note_invar.
903 - Tighten license pattern bsd-2-clause. Tidy
904 Regexp::Pattern::License::Pattern: Rename pattern asis_sw_name →
905 asis_sw_by_name.
906
907 v3.0.27 2016-11-23
908
909 [ REGRESSIONS ]
910 - Drop too exotic licensing phrase, and corresponding test case.
911
912 [ Bug Fixes ]
913 - Fix avoid detection of GPL/LGPL fulltext (rarely if ever used as grant).
914 - Fix detect license FSFULLR (was misdetected as bogus FSFULR).
915 - Fix detect license MPL-2.0 (was misdetected as MPL-2.0 or AGPL).
916 - Fix detect licenses mit_old mit_unspecified (was misdetected as
917 mit_new).
918 - Fix version identifier to use + only in machine-readable mode.
919
920 [ Other ]
921 - Add combo pattern perl to Regexp::Pattern::License.
922 - Add license pattern afl to Regexp::Pattern::License.
923 - Add license pattern agpl to Regexp::Pattern::License.
924 - Add license pattern apache to Regexp::Pattern::License.
925 - Add license pattern artistic to Regexp::Pattern::License.
926 - Add license pattern beerware to Regexp::Pattern::License.
927 - Add license pattern cc_by_sa to Regexp::Pattern::License.
928 - Add license pattern ftl to Regexp::Pattern::License.
929 - Add license pattern llgpl to Regexp::Pattern::License.
930 - Add license pattern mpl to Regexp::Pattern::License.
931 - Add license pattern ms_pl to Regexp::Pattern::License.
932 - Add license pattern openssl to Regexp::Pattern::License.
933 - Add license pattern public_domain to Regexp::Pattern::License.
934 - Add license pattern python to Regexp::Pattern::License.
935 - Add license pattern qpl to Regexp::Pattern::License.
936 - Add license pattern sgi_b to Regexp::Pattern::License.
937 - Add license pattern wtfpl to Regexp::Pattern::License.
938 - Add license patterns adobe_2006 adobe_glyph apafml to
939 Regexp::Pattern::License.
940 - Add license patterns bsd_2_clause bsd_3_clause bsd_4_clause to
941 Regexp::Pattern::License.
942 - Add license patterns cddl cecill cecill_1 cecill_1_1 cecill_2 cecill_2_1
943 cecill_b cecill_c epl to Regexp::Pattern::License.
944 - Add license patterns fsfap fsful fsfullr to Regexp::Pattern::License.
945 - Add license patterns gpl lgpl to Regexp::Pattern::License.
946 - Add license patterns libpng zlib zlib_acknowledgement to
947 Regexp::Pattern::License.
948 - Add license patterns mit_new mit_new_materials mit_old mit_unspecified
949 postgresql, and group pattern mit to Regexp::Pattern::License.
950 - Add license patterns unicode_strict unicode_tou to
951 Regexp::Pattern::License.
952 - Added: Add new group pattern bsd.
953 - Added: Add new group pattern gnu.
954 - Added: Add new license pattern ms_rl.
955 - Added: Add new license patterns cc_by cc_by_nc cc_by_nc_nd cc_by_nc_sa
956 cc_by_nd cc_cc0 cc_sp.
957 - Added: Add new license patterns cube eurosym.
958 - Added: Add new license patterns curl dsdp mit_oldstyle
959 mit_oldstyle_disclaimer mit_oldstyle_permission ntp ntp_disclaimer.
960 - Added: Add new license patterns gfdl gfdl_niv.
961 - Added: Add new trait pattern clause_advertising_always.
962 - Added: Add new trait pattern license_prefix.
963 - Added: Add new trait pattern license_version.
964 - Added: Add new trait patterns clause_retention clause_reproduction
965 clause_advertising clause_non_endorsement disclaimer.
966 - Added: Add new trait patterns fsf_unlimited fsf_unlimited_retention.
967 - Added: Add new trait patterns version_later version_later_paragraph
968 version_later_postfix.
969 - Added: Introduce new modules: Pattern::License Pattern::License::Parts.
970 - Clean m4 dnl comment marker.
971 - Drop no longer used internal license shortname list.
972 - Emulate Regexp::Common -keep syntax to capture version number.
973 - Improve detection of license GPL.
974 - Improve license detections artistic perl.
975 - Relax detection of license GPL.
976 - Relax license pattern cc_by_ca.
977 - Tidy code: Drop noop code.
978 - Tighten regexes: Generalize abbreviated AGPL/LGPL/GPL matching.
979 - Tighten regexes: Generalize and improve LGPL matching.
980 - Use Regexp::Pattern::License for shortname resolving (with internal list
981 as fallback until phased out).
982
983 v3.0.26 2016-09-22
984
985 [ Bug Fixes ]
986 - Fix exclude AGPL false positives.
987
988 [ Other ]
989 - Use generalized license string composition at more places.
990
991 v3.0.25 2016-09-21
992
993 [ Bug Fixes ]
994 - Fix avoid non-digit in version of license Artistic.
995 - Fix delimit multiple licenses with "and/or" (not "or") when ambiguous.
996 - Fix parse whole file for test info-at-eof.h (default length only
997 approximates lines and is too short since String::Copyright 0.003003).
998
999 [ Test Suite ]
1000 - Fix tighten runtime-requirement on PAth__Tiny for visit().
1001 Slaven Rezić++
1002 - Update testsuite to reflect Perl license detection.
1003
1004 [ Other ]
1005 - Apply fallback marker "UNKNOWN" after (not during) license detection.
1006 - Detect license CC-BY-SA.
1007 - Detect licenses APAFML Adobe-Glyph Adobe-2006 Aladdin SIL FSFAP FSFUL
1008 FSFULLR JSON PostgreSQL Unicode-strict Unicode-TOU zlib-acknowledgement.
1009 - Enhance detection of Perl license.
1010 - Generalize license string composition.
1011 - Improve detection of license AGPL.
1012 - Improve detection of license Apache.
1013 - Improve non-version descriptor matching.
1014 - Improve version matching in license detections.
1015 - Tighten regexes: Generalize and improve version matching.
1016 - Tighten regexes: Simplify space matching (string already normalized).
1017 - Tighten regexes: Treat affero as alternative (not prefix) to GPL
1018 prefixes lesser and library.
1019
1020 v3.0.24 2016-09-03
1021
1022 [ Bug Fixes ]
1023 - Fix apply options --check --ignore to full path (not basename).
1024
1025 v3.0.23 2016-09-01
1026
1027 [ Bug Fixes ]
1028 - Fix skip parsing non-files (regression since v3.0.5).
1029 - Fix stop ignore options --check --ignore (regression since v3.0.5).
1030
1031 [ Other ]
1032 - Use Path::Iterator::Rule.
1033
1034 v3.0.22 2016-08-21
1035
1036 [ Bug Fixes ]
1037 - Fix have option --deb-machine imply option --deb-fmt.
1038
1039 [ Other ]
1040 - Adjust SPDX-like shortnames to match Debian format.
1041 - Improve detection of GPL/LGPL/AGPL versions.
1042 - Stop merge differently cased owners.
1043 - Use List::Util and Sort::Key::Multi.
1044 - Use https protocol in deb-machine header.
1045
1046 v3.0.21 2016-08-20
1047
1048 [ Bug Fixes ]
1049 - Really fix strip copyright sign unconditionally.
1050
1051 v3.0.20 2016-08-20
1052
1053 [ Bug Fixes ]
1054 - Fix strip copyright sign unconditionally.
1055 - Fix strip trailing newline from copyrights.
1056
1057 v3.0.19 2016-08-19
1058
1059 [ Bug Fixes ]
1060 - Fix strip copyright sign with option --deb-machine.
1061
1062 [ Documentation ]
1063 - Mention in description of --deb-machine option that it implies
1064 --copyright.
1065
1066 [ Other ]
1067 - Add option --copyright-delimiter, including comma by default.
1068 - Handle missing year or owner with option --deb-machine.
1069 - Require well-formed years when splitting ownerlines with option
1070 --deb-machine.
1071
1072 v3.0.18 2016-08-13
1073
1074 [ Bug Fixes ]
1075 - Fix defaults for options --list-delimiter and --rfc822-delimiter (was
1076 one space too many).
1077 - Fix stop use obsolete undocumented String::Copyright blocks method.
1078 - Fix use NONE for no authors with option --deb-machine.
1079
1080 [ Packaging ]
1081 - Tighten dependency on String::Copyright.
1082
1083 v3.0.17 2016-08-12
1084
1085 - Fix avoid bogus "generated-file" as SPDX license.
1086 - Have option --deb-machine imply option --deb-fmt.
1087
1088 v3.0.16 2016-08-11
1089
1090 - Add "Auto Generated" to the generated file detection.
1091 Paul Wise++
1092
1093 v3.0.15 2016-08-11
1094
1095 [ Documentation ]
1096 - Mention in description of --lines option that it does optimistic search.
1097
1098 [ Packaging ]
1099 - Tighten dependency on String::Copyright to versions supporting
1100 configurable threshold.
1101
1102 [ Other ]
1103 - Do full search when parsing whole file.
1104
1105 v3.0.14 2016-08-01
1106
1107 [ Test Suite ]
1108 - Flag test involving multi-line multi-statements as TODO (regression
1109 since moving to String::Copyright).
1110
1111 v3.0.13 2016-07-25
1112
1113 [ Packaging ]
1114 - Fix tighten runtime-requirement on PAth__Tiny for visit().
1115 Stuart Prescott++
1116
1117 v3.0.12 2016-07-24
1118
1119 [ Test Suite ]
1120 - Fix devscripts test to use curly quotes as metacharacters (not
1121 Paranthesis also used within, triggering warnings on some versiones of
1122 perl).
1123
1124 v3.0.11 2016-07-24
1125
1126 [ Packaging ]
1127 - Fix declare runtime-requirement on String::Copyright.
1128
1129 v3.0.10 2016-07-24
1130
1131 [ REGRESSIONS ]
1132 - No longer detect multi-line multi-statement copyright strings (not yet
1133 suppported by String::Copyright).
1134 - Now misdetects some chatter as copyright statements (not yet suppported
1135 by String::Copyright).
1136
1137 [ Test Suite ]
1138 - Relax devscripts test: Ignore trailing dot and "All rights reserved"
1139 boilerplate.
1140
1141 [ Other ]
1142 - Use String::Copyright.
1143
1144 v3.0.9 2016-07-24
1145
1146 [ Documentation ]
1147 - Drop old licensing header from devscripts test: Fully rewritten by now.
1148 - Fix decode "©" in --version option output (workaround for Pod::Constants
1149 not supporting UTF-8).
1150 - Fix some categorizations of old changelog entries.
1151
1152 [ Test Suite ]
1153 - Rewrite devscripts test to match patterns (not exact strings), and
1154 handle varying output on encoding failure.
1155
1156 [ Packaging ]
1157 - Drop superfluous test-requirement on strictures: Already declared as
1158 runtime-requirement.
1159 - Fix declare test-recommendation on Software::License (not too vague
1160 recommends).
1161
1162 [ Other ]
1163 - Stop use Unicode features: We don't really do any complex Unicode, so
1164 let's try target older perl.
1165 - Update headers of module and tests: Strip hashbang; consistently use
1166 strictures.
1167
1168 v3.0.8 2016-07-24
1169
1170 [ Bug Fixes ]
1171 - Avoid superfluous regex modifier /l.
1172
1173 [ Packaging ]
1174 - Fix tighten test requirement for Test::Script to versions checking for
1175 stdout/stderr.
1176
1177 [ Other ]
1178 - Add "Generated with" to the generated file detection.
1179 Paul Wise++
1180 - Pseudo-decode alternative representations for copyright sign and
1181 hyphen-minus.
1182
1183 v3.0.7 2016-07-20
1184
1185 [ Test Suite ]
1186 - Bail out gracefully if Software::License fails to create some licenses.
1187
1188 [ Packaging ]
1189 - Make Software::License test optional.
1190
1191 v3.0.6 2016-07-20
1192
1193 [ Packaging ]
1194 - Fix require experimental (for switch feature).
1195
1196 [ Other ]
1197 - Improve separation of copyright parsing from comment stripping and
1198 copyright serializing
1199
1200 v3.0.5 2016-07-19
1201
1202 [ SECURITY ]
1203 - Fix: Stop dereference symbolic links: non-intuitive and potentially
1204 dangerous (possibly introduced in error intended to enable recursion).
1205 Sandro Mani++
1206
1207 [ Test Suite ]
1208 - Fix tighten rest-requirement on Software::License to versions supporting
1209 new_from_short_name().
1210
1211 [ Other ]
1212 - Avoid type constraints and all but one coercion, for a 30% speedup in
1213 script initialization.
1214 - Move find routine to library.
1215 - Stop call system command find in script (uses Path::Tiny::visit
1216 instead).
1217 - Tidy script to rename $file → $path and $files_count → $paths_count
1218 where not yet resolved as file.
1219
1220 v3.0.4 2016-07-18
1221
1222 [ Test Suite ]
1223 - Drop non-working option "--installed" from script tests (leftover from
1224 Debian autopkgtest support).
1225 - Stop use Path::Tiny in test where unneeded.
1226 - Use Test::Script to ensure correct perl invokes script in tests.
1227 Slaven Rezić++
1228
1229 v3.0.3 2016-07-18
1230
1231 [ Test Suite ]
1232 - Use Test::Roo and library calls (not script) for devscripts corpus
1233 license coverage tests.
1234
1235 [ Packaging ]
1236 - Fix require strictures for tests.
1237
1238 v3.0.2 2016-07-16
1239
1240 [ Test Suite ]
1241 - Add devscripts test tied to devscripts corpus, converted from earlier
1242 shunit2 script.
1243 - Rewrite Software-License test to stop rely on Debian fork of
1244 Software::License (see bug#828218).
1245 - Rewrite Software-License test to use Test::Command.
1246
1247 [ Packaging ]
1248 - Run perlcritic with tidyall, and move tidyall test to xt dir.
1249
1250 [ Other ]
1251 - Bump license to GPL-3+.
1252 - Resolve only regexes actually used.
1253 - Use Getopt::Long::Descriptive.
1254 - Use experimental given/when switch.
1255
1256 v3.0.1 2016-06-29
1257
1258 [ Documentation ]
1259 - Add CPAN Request Tracker as alternative bug-database.
1260 - Add myself as current author, and claim copyright for recent changes.
1261 - Add pre-CPAN changelog entries.
1262 - Adjust copyright notice to mention initial committer (not later
1263 maintainer).
1264 - Link to script from POD DESCRIPTION of library.
1265
1266 [ Packaging ]
1267 - Tighten tidyall config to avoid cruft in bin dir.
1268
1269 v3.0.0 2016-06-27
1270
1271 [ Bug Fixes ]
1272 - Fix tighten to use Getopt::Long 2.24: Needed for :config option.
1273
1274 [ Documentation ]
1275 - Rewrite documentation of options, and --help putput.
1276
1277 [ Packaging ]
1278 - Initial CPAN release (after being in Debian since 2007, and before that
1279 in KDE SDK since 2000).
1280
1281 [ Other ]
1282 - Added: Add --deb-machine option for Debian "deb5" copyright file format.
1283 - Refactor codebase, with up to 400% speedup and reusable parts in a Moo
1284 library.
1285 - Removed: Drop support for reading configuration from files: Limited use,
1286 legacy filenames, and odd parsing by use of risky shell call.