Bug#838896: libstring-copyright-perl: copyright extraction confused by itemized list

Jonas Smedegaard dr at jones.dk
Mon Sep 26 10:07:20 UTC 2016


Quoting Dominique Dumont (2016-09-26 10:38:31)
> licensecheck returns dubious information:
> $ licensecheck --copyright src/strings/unicode_db.c
> src/strings/unicode_db.c: GENERATED FILE
>   [Copyright: there is clear notice in each]
> 
> unicode_db.c is indeed a generated file but has a © statement
> (which used to be extracted).

There is multiple issues here...


> *   DO NOT MODIFY THIS FILE!  YOU WILL LOSE YOUR CHANGES!
> This file is generated by ucd2c.pl from the Unicode database.

Non-issue: Correctly identified as (claiming to be) autogenerated.


> Copyright ?1991-2012 Unicode, Inc. All rights reserved. Distributed
> under the Terms of Use in http://www.unicode.org/copyright.html.

Issue 1: Copyright coverage range prefixed by question mark.

I will include detection for that weird style - seemingly used by only 2 
projects in Debian.


> (b) both the above copyright notice(s) and this permission notice 
> appear in associated documentation, and (c) there is clear notice in 
> each modified Data File or in the Software as well as in the 
> documentation associated with the Data File(s) or Software that the 
> data or software has been modified.

Issue 2: Chatter misdetected as copyright statement.

I will have String::Copyright suppress that one.


Thanks!

 - 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/20160926/3dfddac8/attachment.sig>


More information about the pkg-perl-maintainers mailing list