Bug#791756: Running licensecheck on tarball or image results in crash

Dominique Dumont dod at debian.org
Thu Jul 9 11:17:28 UTC 2015


On Wednesday 08 July 2015 10:09:48 Sandro Mani wrote:
> It should either print "*No copyright* UNKNOWN" or info that this script
> doesn't work on binary files.

I suggest that licensecheck issues a warning when a non text file is found. 
Like:

licensecheck warning: cannot parse file 'lm180.pdf' with mime type 
'application/pdf; charset=binary'

Is this fine with you ?

All the best

-- 
 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