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. 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' - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature