Bug#552192: [licensecheck] provide mechanism to exclude files matching certain licenses

Dominique Dumont dod at debian.org
Thu May 14 15:40:33 UTC 2015


> extremely useful to be able to exclude/include files that match certain
> license patterns.

Hmm, other people may ask for other filtering mechanism.

How about using licensecheck -m and grep ?

> something like:
>   licensecheck --include-license UNKNOWN
> 
> and then it would only show files that have an UNKNOWN license.

you can use 'licensecheck -m -r . |grep UNKNOWN

> 
> alternately, something like:
>   licensecheck --exclude-license *GPL*

licensecheck -m -r . |grep GPL

> similarly, something to check for missing copyrights:
>   licensecheck --missing-copyright

licensecheck -m -r . |grep -i 'no copyright'

Hope this helps

-- 
 https://github.com/dod38fr/   -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/  -o-   irc: dod at irc.debian.org



More information about the devscripts-devel mailing list