Bug#862368: scan-copyrights fails to consolidate when licensecheck doesn't report years

Dominique Dumont dod at debian.org
Sat May 13 07:53:55 UTC 2017


On Thursday, 11 May 2017 21:44:50 CEST you wrote:
> Because I like the promises of cme, I decided to try and use it again on a
> new package I am working on.

Thanks for your effort. I'll do my best to keep that promise :-)

> I bisected this, and it turns out that I can reproduce this with two files
> present (which indivially are fine) but when both present, it goes wrong.

Many thanks for boiling that down.

> I believe the problem is that licensecheck didn't find year for the 
copyright, and a common copyright-holder for the two files.

Yes. the regexp to extract years from © was fooled by the weird entry from the 
JS files.

Could you try the attached patch ? 

All the best

-- 
 https://github.com/dod38fr/   -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/  -o-   irc: dod at irc.debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scanner.patch
Type: text/x-patch
Size: 749 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20170513/660be786/attachment.bin>


More information about the pkg-perl-maintainers mailing list