Bug#807757: licensecheck: encoding guessing should give more helpful error messages

Dominique Dumont dod at debian.org
Sun Dec 13 10:47:44 UTC 2015


On Saturday 12 December 2015 09:34:27 David Bremner wrote:
> When the encoding guessing using file fails, licensecheck reports something
> like
> 
>      /usr/bin/licensecheck warning: cannot parse file 'aggressive-indent.el'
> with mime type 'application/octet-stream; charset=binary'
> 
> I had to read the source to figure out that this warning was only
> about character encodings, and not about the file being skipped
> completely.

Yeah, using 'file' command to guess mime type was not a good idea. 

I've removed this code. This error message no longer applies with the git 
version of licensecheck. This will be part of next devscripts release.

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