[Bug 1466098] Re: licensecheck fails to parse copyright if a / is contained

Didier Roche didrocks at ubuntu.com
Wed Jun 17 14:51:16 UTC 2015


After some analysis, it started in 2.15.5.

The commit creating it is https://anonscm.debian.org/cgit/collab-maint/devscripts.git/commit/?id=97ac51f54568728618695b92907a8ac4b87a1709, more especially, due to this 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 ther other optimization related into
that commit). I guess we can introduce one test for that use case.
Opening the bug in debian BTS for this.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to devscripts in Ubuntu.
https://bugs.launchpad.net/bugs/1466098

Title:
  licensecheck fails to parse copyright if a / is contained

Status in devscripts package in Ubuntu:
  New

Bug description:
  Since the last update in wily, licensecheck fails to recognize
  copyright headers of this format:

  Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).

  Seems removing the "/" makes it pass again. This is the standard
  format used in Qt copyright headers and it looks fine to me. Previous
  versions of licensecheck parsed this fine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/devscripts/+bug/1466098/+subscriptions



More information about the foundations-bugs mailing list