Bug#948531: licensecheck incorrectly detects LGPL in a GPL COPYING license file

Jonas Smedegaard jonas at jones.dk
Mon Jan 13 12:24:31 GMT 2020


control: tags -1 confirmed

[ sent again, without 8bit chars in To: header to please Debian MTAs ]

Hi Aurélien,

Quoting Aurélien COUDERC (2020-01-09 22:43:24)
> running licensecheck against this [1] upstream repo, the COPYING file 
> is incorrectly detected as LGPL whereas it’s actually GPL.

Correct.  Thanks for reporting it!

You are right that the cause is embedded references inside the license 
fulltext, and the proper solution is to map out the whole region covered 
by one license pattern and then omit scanning that region for other 
licensing patterns.  Implementing that mapping should also speed up the 
tool a bit.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private



More information about the pkg-perl-maintainers mailing list