App-Licensecheck
view release on metacpan or search on metacpan
- 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
];
doap-changeset:released-by <http://webid.debian.net/maintainers/myon>;
doap:revision "2.10.18"^^xsd:string.
<http://packages.qa.debian.org/devscripts#devscripts_2.10.26>
a doap:Version;
dc:issued "2008-04-21"^^xsd:date;
doap-changeset:changeset [
doap-changeset:item [
a doap-changeset:Bugfix;
rdfs:label "Replace a literal copyright symbol with a hex escape so that the package builds using po4a in Etch."@en;
doap-changeset:fixes <https://bugs.debian.org/476251>;
];
];
doap-changeset:released-by <http://webid.debian.net/maintainers/myon>;
doap:revision "2.10.26"^^xsd:string.
<http://packages.qa.debian.org/devscripts#devscripts_2.10.27>
a doap:Version;
dc:issued "2008-05-03"^^xsd:date;
doap-changeset:changeset [
doap-changeset:changeset [
doap-changeset:item "Add --recursive to help."^^dt:Change, "Add -r as an alternative for --recursive."^^dt:Change, "Optionally detect copyright statements."^^dt:Addition, "Support directories as well as files passed as arguments."^^dt:Addition, "Su...
];
doap-changeset:released-by <http://webid.debian.net/maintainers/adn>;
doap:revision "2.10.7"^^xsd:string.
<http://packages.qa.debian.org/devscripts#devscripts_2.10.8>
a doap:Version;
dc:issued "2007-09-11"^^xsd:date;
doap-changeset:changeset [
doap-changeset:item "Correctly handle metacharacters found in potential copyright statements."^^dt:Change, "Decruft // comments."^^dt:Change, "Decruft © as well as (C)."^^dt:Change, "Deduplicate copyright statements varying only in case."^^dt:Chan...
];
doap-changeset:released-by <http://webid.debian.net/maintainers/adn>;
doap:revision "2.10.8"^^xsd:string.
<http://packages.qa.debian.org/devscripts#devscripts_2.10.9>
a doap:Version;
dc:issued "2007-10-05"^^xsd:date;
doap-changeset:changeset [
doap-changeset:item [
a doap-changeset:Change;
doap-changeset:changeset [
doap-changeset:item "Fix clean_comments()."^^dt:Change, "Fix detect (L|A)GPL."^^dt:Change;
];
doap-changeset:released-by <http://webid.debian.net/maintainers/bdrung>;
doap:revision "2.13.1"^^xsd:string.
<http://packages.qa.debian.org/devscripts#devscripts_2.13.2>
a doap:Version;
dc:issued "2013-05-13"^^xsd:date;
doap-changeset:changeset [
doap-changeset:item "Fix invalid regular expression syntax."^^dt:Bugfix, "Regex-escape file contents that are used as part of a pattern."^^dt:Change;
];
doap-changeset:released-by <http://webid.debian.net/maintainers/jamessan>;
doap:revision "2.13.2"^^xsd:string.
<http://packages.qa.debian.org/devscripts#devscripts_2.13.3>
a doap:Version;
dc:issued "2013-08-16"^^xsd:date;
doap-changeset:changeset [
doap-changeset:item [
a doap-changeset:Change;
a doap-changeset:Change;
rdfs:label "logging: avoid undefined version for custom agpl grant detection";
], [
a doap-changeset:Change;
rdfs:label "scan for GNU 'or-newer' usage version before singleversion grant version";
], [
a doap-changeset:Change;
rdfs:label "improve detection of GNU 'or-newer' usage grant version";
], [
a doap-changeset:Change;
rdfs:label "extend clean_comments() to strip escaped newline";
], [
a doap-changeset:Documentation;
rdfs:label "relicense project as AGPL-3-or-newer; add Purism SPC as copyright holder";
], [
a doap-changeset:Documentation;
rdfs:label "update git repository URL";
], [
a doap-changeset:Change;
rdfs:label "track examined files";
], [
lib/App/Licensecheck.pm view on Meta::CPAN
# Remove other side of "boxed" comments
s/[ \t]*[*#][ \t]*$//gm;
# Remove Fortran comments
s/^[cC]$//gm;
s/^[cC] //gm;
# Remove C / C++ comments
s#(\*/|/\*|(?<!:)//)##g;
# Strip escaped newline
s/\s*\\n\s*/ /g;
$content = $_;
return $content;
}
my $html_xml_tags_re = qr/<\/?(?:p|br|ref)(?:\s[^>]*)?>/i;
# clean cruft
( run in 0.360 second using v1.01-cache-2.11-cpan-c21f80fb71c )