[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#906284: lintian: check for incomplete-creative-commons-license gives false positives: the "not a law firm" is a preamble, not a license



Hi Julian & Jonathan,

> How about the following?  In the parse_license function, where each
> license paragraph is parsed, something like the following:
> 
> if ($full_license and $short_license =~ m/cc-/) {
>     if ($full_license !~ /definitions/i) {
>         tag 'incomplete-creative-commons-license';
>     }
> }

Jonathan, any input on this?


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-


Reply to: