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

Re: [lintian] 01/01: checks/files.pm: Correct extra-license-check filename matching. Thanks Mattia!



On Mon, Jan 01, 2018 at 02:45:16PM +0000, Chris Lamb wrote:
> -            and not $fname =~ m,/_sources/license\.rst(\.txt)?$,o
> +            and not $fname =~ m,/_sources/license\.txt(\.rst)?$,oi

Not yet there, I believe this still won't match anymore license.rst.txt
that the bug mentioned.
Also, always the bug, does not mention uppercase words, so I'm not sure
if catering for that is something that should be done.

> diff --git a/t/tests/files-extra-license/debian/_sources/license.rst.txt b/t/tests/files-extra-license/debian/_sources/license.txt
> similarity index 100%
> rename from t/tests/files-extra-license/debian/_sources/license.rst.txt
> rename to t/tests/files-extra-license/debian/_sources/license.txt

This one was right as it was :)

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature


Reply to: