Bug#888112: diffoscope: compare JSON files using Python jsondiff module

Paul Wise pabs at debian.org
Wed Jan 24 02:18:44 UTC 2018

On Wed, 2018-01-24 at 06:47 +0530, Chris Lamb wrote:

> https://anonscm.debian.org/git/reproducible/diffoscope.git/commit/?id=2a758d3d0205e934ed6dffebb5d6462b00fe590d

That isn't going to work for UTF-8 JSON, I suggest using the MIME type
instead of the file type string.

$ curl -s 'https://salsa.debian.org/api/v4/users/1894' > user
$ file user
user: UTF-8 Unicode text, with very long lines, with no line terminators
$ file --mime-type user 
user: text/plain


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20180124/719f4d66/attachment.sig>

More information about the Reproducible-builds mailing list