Bug#744916: libjson-xs-perl: gratuitous backwards incompatibility from wheezy (json_xs -t null vs json_xs -t none)

Paul Wise pabs at debian.org
Wed Apr 16 08:48:06 UTC 2014


Package: libjson-xs-perl
Version: 2.340-1+b1
Severity: important

The json_xs command in jessie gratuitously broke command-line backwards
compatibility with wheezy. I suggest that the way forward here is to
make support both null and none and make theme do the same thing.

pabs at wheezy:~$ json_xs -t null < test.json ; echo $?
0
pabs at wheezy:~$ json_xs -t none < test.json ; echo $?
json: not a valid toformat
255

pabs at jessie:~$ json_xs -t null < test.json ; echo $?
json: not a valid toformat
255
pabs at jessie:~$ json_xs -t none < test.json ; echo $?
0

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (700, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libjson-xs-perl depends on:
ii  libc6                       2.18-4
ii  libcommon-sense-perl        3.72-3
ii  perl                        5.18.2-2+b1
ii  perl-base [perlapi-5.18.1]  5.18.2-2+b1

-- 
bye,
pabs

http://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20140416/d4ee7e1d/attachment.sig>


More information about the pkg-perl-maintainers mailing list