Hi Jonas,
On 6/22/21 4:57 PM, Jonas Smedegaard wrote:
Quoting Walter Lozano (2021-06-22 20:55:10)
On 6/22/21 2:10 PM, Jonas Smedegaard wrote:
Quoting Walter Lozano (2021-06-22 18:56:05)
I'm really happy that this report was helpful.
Certainly was. Hope you find interest in doing more of that - to
Licensecheck or to other projects :-)
Sure, I will love to contribute if I can, most probably by filling bug
reports, hopefully useful. But who knows, maybe I will eventually
improve my Perl skills...
You need not write a single line of perl to help with Licensecheck -
Regexp::Pattern::License is a collection of metadata and regular
expressions for licenses, and there is a need for both refining those
regular expressions and for extending to cover more licenses, both free
and non-free.
Thanks, after debugging a little this issue now I have a better
understanding of how it works, I hope I can contribute in future, since
I will be using licensecheck and scan-copyrights.
If interested, then these commands should provide you a JSON
serialization:
apt install libregexp-pattern-license cpanminus
cpanm App::RegexpPatternUtils
PATH="$HOME/perl5/bin:$PATH" PERL5LIB="$HOME/perl5/lib/perl5"
show-regexp-pattern-module --name=License --json
Beware that the cpanm command may take a while, as it pulls in quite a
few perl libraries - that's the reason I have not bothered to package it
for Debian yet.
A non-Perl but also non-JSON dump of the dataset is simpler and faster:
apt install libregexp-pattern-license libdata-printer-perl
perl -CS -MRegexp::Pattern::License -MDDP -e 'p %Regexp::Pattern::License::RE,
fulldump => 1'
Thank you for the tips, I will use them.
BTW, you already know this but I have been testing the new version and
so far everything seems to work as expected. Thanks again for the quick
response.
Regards,
Walter