Bug#989912: libregexp-pattern-license-perl: No deterministic results are provided

Jonas Smedegaard jonas at jones.dk
Tue Jun 22 20:57:01 BST 2021


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20210622/4937faac/attachment-0001.sig>


More information about the pkg-perl-maintainers mailing list