Bug#789074: Regression: licensecheck fails to parse copyright if a / is contained
Didier Roche
didrocks at ubuntu.com
Wed Jun 17 14:58:40 UTC 2015
Package: devscripts
Version: 2.15.5
Severity: important
Dear Maintainer,
Since 2.15.5, licensecheck --copyright doesn't report copyrigthed file
including
/.
Most of Qt packages (and files generated through Qt tools) contains:
Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
Which is then not parsable anymore to licensecheck.
Removing the / makes the copyright holder reported.
The commit introducing this regression is
https://anonscm.debian.org/cgit/collab-maint/devscripts.git/commit/?id=97ac51f54568728618695b92907a8ac4b87a1709,
and more especially that line change:
- if ($match !~ m%^\s*$copyright_disindicator_regex%ix) {
+ if ($match !~ $copyright_disindicator_regex) {
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.
I guess we can introduce one test for that use case.
Tell me if I can be of any help.
(From https://bugs.launchpad.net/ubuntu/+source/devscripts/+bug/1466098)
Cheers,
Didier
More information about the devscripts-devel
mailing list