Bug#789074: Regression: licensecheck fails to parse copyright if a / is contained

Dominique Dumont dod at debian.org
Thu Jun 18 07:00:52 UTC 2015


On Wednesday 17 June 2015 16:58:40 Didier Roche wrote:
> If we revert that one, with devscript 2.15.5, I can get the digia 
> copyright back:
>    [Copyright: 2014 Digia Plc and/or its subsidiary(-ies)]
> 
> I'm unsure about that change (and the other optimizations related into 
> that commit), so I'm not proposing reverting that one right away.

The idea behind this commit was to let Perl compile once the regexp and then 
apply them on all incoming files.

The changed line that prevents paring digia copyright is indeed bad. I'll fix 
this.

> I guess we can introduce one test for that use case.

Sure. Given the complexity of parsing free forms license statements, 
licensecheck should have way more test cases.

All the best

-- 
 https://github.com/dod38fr/   -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/  -o-   irc: dod at irc.debian.org



More information about the devscripts-devel mailing list