[libvirt PATCHv2 00/15] Switch to json-c from yajl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ján Tomko (15):
  util: json: introduce virJSONStringPrettifyBlanks
  tests: switch to compact empty JSON object formatting
  build: introduce WITH_JSON
  ci: install json-c too
  meson: add option for building with json-c
  meson: switch checks to depend on json-c as well as yajl
  build: do not depend on yajl
  build: link with json_c
  util: json: write a json-c implementation
  nss: convert findLeases to use json-c
  nss: convert findMACs to use json-c
  meson: do not link anything with yajl anymore
  meson: options: drop yajl
  meson: drop yajl detection
  ci: drop yajl completely

 ci/buildenv/almalinux-9.sh                    |   4 +-
 ci/buildenv/alpine-319.sh                     |   4 +-
 ci/buildenv/alpine-edge.sh                    |   4 +-
 ci/buildenv/centos-stream-9.sh                |   4 +-
 ci/buildenv/debian-11-cross-aarch64.sh        |   2 +-
 ci/buildenv/debian-11-cross-armv6l.sh         |   2 +-
 ci/buildenv/debian-11-cross-armv7l.sh         |   2 +-
 ci/buildenv/debian-11-cross-i686.sh           |   2 +-
 ci/buildenv/debian-11-cross-mips64el.sh       |   2 +-
 ci/buildenv/debian-11-cross-mipsel.sh         |   2 +-
 ci/buildenv/debian-11-cross-ppc64le.sh        |   2 +-
 ci/buildenv/debian-11-cross-s390x.sh          |   2 +-
 ci/buildenv/debian-11.sh                      |   2 +-
 ci/buildenv/debian-12-cross-aarch64.sh        |   2 +-
 ci/buildenv/debian-12-cross-armv6l.sh         |   2 +-
 ci/buildenv/debian-12-cross-armv7l.sh         |   2 +-
 ci/buildenv/debian-12-cross-i686.sh           |   2 +-
 ci/buildenv/debian-12-cross-mips64el.sh       |   2 +-
 ci/buildenv/debian-12-cross-mipsel.sh         |   2 +-
 ci/buildenv/debian-12-cross-ppc64le.sh        |   2 +-
 ci/buildenv/debian-12-cross-s390x.sh          |   2 +-
 ci/buildenv/debian-12.sh                      |   2 +-
 ci/buildenv/debian-sid-cross-aarch64.sh       |   2 +-
 ci/buildenv/debian-sid-cross-armv6l.sh        |   2 +-
 ci/buildenv/debian-sid-cross-armv7l.sh        |   2 +-
 ci/buildenv/debian-sid-cross-i686.sh          |   2 +-
 ci/buildenv/debian-sid-cross-mips64el.sh      |   2 +-
 ci/buildenv/debian-sid-cross-ppc64le.sh       |   2 +-
 ci/buildenv/debian-sid-cross-s390x.sh         |   2 +-
 ci/buildenv/debian-sid.sh                     |   2 +-
 ci/buildenv/fedora-39.sh                      |   4 +-
 ci/buildenv/fedora-40.sh                      |   4 +-
 ci/buildenv/fedora-rawhide.sh                 |   4 +-
 ci/buildenv/opensuse-leap-15.sh               |   2 +-
 ci/buildenv/opensuse-tumbleweed.sh            |   2 +-
 ci/buildenv/ubuntu-2204.sh                    |   2 +-
 ci/buildenv/ubuntu-2404.sh                    |   2 +-
 ci/cirrus/freebsd-13.vars                     |   2 +-
 ci/cirrus/freebsd-14.vars                     |   2 +-
 ci/cirrus/macos-13.vars                       |   2 +-
 ci/cirrus/macos-14.vars                       |   2 +-
 ci/containers/almalinux-9.Dockerfile          |   4 +-
 ci/containers/alpine-319.Dockerfile           |   4 +-
 ci/containers/alpine-edge.Dockerfile          |   4 +-
 ci/containers/centos-stream-9.Dockerfile      |   4 +-
 .../debian-11-cross-aarch64.Dockerfile        |   2 +-
 .../debian-11-cross-armv6l.Dockerfile         |   2 +-
 .../debian-11-cross-armv7l.Dockerfile         |   2 +-
 ci/containers/debian-11-cross-i686.Dockerfile |   2 +-
 .../debian-11-cross-mips64el.Dockerfile       |   2 +-
 .../debian-11-cross-mipsel.Dockerfile         |   2 +-
 .../debian-11-cross-ppc64le.Dockerfile        |   2 +-
 .../debian-11-cross-s390x.Dockerfile          |   2 +-
 ci/containers/debian-11.Dockerfile            |   2 +-
 .../debian-12-cross-aarch64.Dockerfile        |   2 +-
 .../debian-12-cross-armv6l.Dockerfile         |   2 +-
 .../debian-12-cross-armv7l.Dockerfile         |   2 +-
 ci/containers/debian-12-cross-i686.Dockerfile |   2 +-
 .../debian-12-cross-mips64el.Dockerfile       |   2 +-
 .../debian-12-cross-mipsel.Dockerfile         |   2 +-
 .../debian-12-cross-ppc64le.Dockerfile        |   2 +-
 .../debian-12-cross-s390x.Dockerfile          |   2 +-
 ci/containers/debian-12.Dockerfile            |   2 +-
 .../debian-sid-cross-aarch64.Dockerfile       |   2 +-
 .../debian-sid-cross-armv6l.Dockerfile        |   2 +-
 .../debian-sid-cross-armv7l.Dockerfile        |   2 +-
 .../debian-sid-cross-i686.Dockerfile          |   2 +-
 .../debian-sid-cross-mips64el.Dockerfile      |   2 +-
 .../debian-sid-cross-ppc64le.Dockerfile       |   2 +-
 .../debian-sid-cross-s390x.Dockerfile         |   2 +-
 ci/containers/debian-sid.Dockerfile           |   2 +-
 ci/containers/fedora-39.Dockerfile            |   4 +-
 ci/containers/fedora-40.Dockerfile            |   4 +-
 ci/containers/fedora-rawhide.Dockerfile       |   4 +-
 ci/containers/opensuse-leap-15.Dockerfile     |   2 +-
 ci/containers/opensuse-tumbleweed.Dockerfile  |   2 +-
 ci/containers/ubuntu-2204.Dockerfile          |   2 +-
 ci/containers/ubuntu-2404.Dockerfile          |   2 +-
 ci/lcitool/projects/libvirt.yml               |   2 +-
 libvirt.spec.in                               |   6 +-
 meson.build                                   |  62 +--
 meson_options.txt                             |   8 +-
 src/libvirt_private.syms                      |   1 +
 src/meson.build                               |   2 +-
 src/util/meson.build                          |   2 +-
 src/util/virjson.c                            | 485 +++++-------------
 src/util/virjson.h                            |   2 +
 tests/meson.build                             |   8 +-
 tests/qemublocktest.c                         |   5 +-
 .../backupmerge/empty-out.json                |   4 +-
 tests/qemumigparamsdata/empty.json            |   4 +-
 tests/qemumigparamstest.c                     |   5 +-
 tests/virmacmaptest.c                         |   5 +-
 tests/virmacmaptestdata/empty.json            |   4 +-
 tests/virnetdaemontest.c                      |   2 +-
 tests/virstoragetest.c                        |   4 +-
 tools/nss/libvirt_nss_leases.c                | 370 +++++--------
 tools/nss/libvirt_nss_macs.c                  | 278 +++-------
 tools/nss/meson.build                         |   4 +-
 99 files changed, 475 insertions(+), 972 deletions(-)

-- 
2.46.0




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux