Quoting Dominique Dumont (2015-11-01 19:07:56)
> On Sunday 01 November 2015 18:59:25 Jonas Smedegaard wrote:
>>> Jonas, do you agree with this proposal ?
>>
>> If you mean to *not* apply filter when user has explicitly instructed 
>> what files to work on (by use of regex), then I am in favor.
>
> Could you provide some example of licensecheck command that use a regex ?
> (I want to make sure that we understand each other)

licensecheck -c '.*' -r --copyright -i 
'^((.*/)?[^/]+\.(icc|pdf|ttf)|Resource/Font/.*|doc/.*\.htm|debian/(changelog|copyright(|_hints|_newhints)))$'
 -l '99999' * | /usr/lib/cdbs/licensecheck2dep5 > debian/copyright_newhints

Above was found in most recent build log of ghostscript for arm64: 
https://buildd.debian.org/status/fetch.php?pkg=ghostscript&arch=arm64&ver=9.16~dfsg-2&stamp=1438453240


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature

Reply via email to