Bug#836832: libstring-copyright-perl: please parse "copyright (c) 2106..." statement

Jonas Smedegaard dr at jones.dk
Wed Sep 7 14:12:19 UTC 2016


Quoting Jonas Smedegaard (2016-09-07 14:46:22)
> Quoting Dominique Dumont (2016-09-07 12:17:34)
> > The problem I have is that the Antonio extracted by licensecheck is 
> > a contributor, not the © owner:
> >
> > $ licensecheck -m --copyright lib/JIRA/Client/Automated.pm 
> > lib/JIRA/Client/Automated.pm    UNKNOWN Antonio Perez Testa <japtesta at gmail.com>
> >
> > Looks like the following line matches the © detector regexp:
> >
> > =item José Antonio Perez Testa <japtesta at gmail.com>
> >
> > Note that the firstname "José" is not extracted by licensecheck. 
> >
> > I can only guess that the regexp confuses "é" with "©"...
> >
> > You can find the whole file there:
> > https://anonscm.debian.org/cgit/pkg-perl/packages/libjira-client-automated-perl.git/tree/lib/JIRA/Client/Automated.pm
> 
> Thanks for the added information.
> 
> It is always best to include the _symptoms_ when reporting issues, and 
> only optionally include (suspected) interpretations of their cause.  
> I.e. summarize not as "please parse..." but rather "fails to parse..." 
> and then elaborate on what you did which went wrong (including your 
> theory on how and why it went wrong only as an optional addon) - I 
> suspect that would have helped me understand this issue earlier (wasting 
> less time for both of us).
> 
> I now get the failure too, and will work on narrowing down what is going 
> on (and for the record: your suspicions seem sensible and are - now, as 
> addition - quite helpful to me).

There are multiple things going on here:

 a) Polyvore, Inc. undetected as copyright holder
 b) José misdetected as copyright sign

a) is a bug - as you also filed as such, but took me some time to 
understand how to repeat.

b) is not really bug, but related to licensecheck being "sloppy" by 
default: Use option "-e utf8" and it goes away.

The bug is now fixed upstream.  I will package when it emerges at 
MetaCPAN in about an hour - ...and this mail took an hour to write, so 
just about now :-)


 - 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: 801 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20160907/39088fdd/attachment.sig>


More information about the pkg-perl-maintainers mailing list