Commit cc2faa97 authored by Arthur Diniz's avatar Arthur Diniz 🇧🇷

Adds json parser script

Signed-off-by: Arthur Diniz's avatarArthur Diniz <arthurbdiniz@gmail.com>
parent 7d787538
Pipeline #52823 passed with stages
in 4 minutes and 39 seconds
{
"apiVersion": "cloud.debian.org/v1alpha1",
"data": {
"info": {
"arch": "amd64",
"build_id": "cloud-team-master",
"release": "sid",
"release_id": "sid",
"type": "dev",
"vendor": "gce",
"version": "365"
},
"packages": [
{
"name": "adduser",
"version": "3.118"
},
{
"name": "apparmor",
"version": "2.13.2-10"
},
{
"name": "apt",
"version": "1.8.2"
},
{
"name": "apt-utils",
"version": "1.8.2"
},
{
"name": "base-files",
"version": "10.3"
},
{
"name": "base-passwd",
"version": "3.5.46"
},
{
"name": "bash",
"version": "5.0-4"
},
{
"name": "bsdmainutils",
"version": "11.1.2+b1"
},
{
"name": "bsdutils",
"version": "1:2.33.1-0.1"
},
{
"name": "ca-certificates",
"version": "20190110"
},
{
"name": "chrony",
"version": "3.4-4"
},
{
"name": "cloud-guest-utils",
"version": "0.29-1"
},
{
"name": "cloud-image-utils",
"version": "0.29-1"
},
{
"name": "cloud-initramfs-growroot",
"version": "0.18.debian7"
},
{
"name": "cloud-utils",
"version": "0.29-1"
},
{
"name": "coreutils",
"version": "8.30-3"
},
{
"name": "cpio",
"version": "2.12+dfsg-9"
},
{
"name": "cron",
"version": "3.0pl1-133"
},
{
"name": "dash",
"version": "0.5.10.2-5"
},
{
"name": "dbus",
"version": "1.12.16-1"
},
{
"name": "debconf",
"version": "1.5.72"
},
{
"name": "debconf-i18n",
"version": "1.5.72"
},
{
"name": "debian-archive-keyring",
"version": "2019.1"
},
{
"name": "debianutils",
"version": "4.8.6.1"
},
{
"name": "diffutils",
"version": "1:3.7-3"
},
{
"name": "distro-info-data",
"version": "0.40"
},
{
"name": "dmidecode",
"version": "3.2-1"
},
{
"name": "dmsetup",
"version": "2:1.02.155-2"
},
{
"name": "dpkg",
"version": "1.19.7"
},
{
"name": "e2fsprogs",
"version": "1.45.2-1"
},
{
"name": "fdisk",
"version": "2.33.1-0.1"
},
{
"name": "file",
"version": "1:5.35-4"
},
{
"name": "findutils",
"version": "4.6.0+git+20190209-2"
},
{
"name": "gcc-8-base:amd64",
"version": "8.3.0-7"
},
{
"name": "gdbm-l10n",
"version": "1.18.1-4"
},
{
"name": "genisoimage",
"version": "9:1.1.11-3+b2"
},
{
"name": "gettext-base",
"version": "0.19.8.1-9"
},
{
"name": "google-compute-engine",
"version": "20190124-3"
},
{
"name": "google-compute-engine-oslogin",
"version": "20190124-3"
},
{
"name": "gpgv",
"version": "2.2.13-2"
},
{
"name": "grep",
"version": "3.3-1"
},
{
"name": "grub-cloud-amd64",
"version": "0.0.4"
},
{
"name": "grub-common",
"version": "2.02+dfsg1-18"
},
{
"name": "grub-efi-amd64-bin",
"version": "2.02+dfsg1-18"
},
{
"name": "grub-pc-bin",
"version": "2.02+dfsg1-18"
},
{
"name": "grub2-common",
"version": "2.02+dfsg1-18"
},
{
"name": "gzip",
"version": "1.9-3"
},
{
"name": "hostname",
"version": "3.21"
},
{
"name": "ifupdown",
"version": "0.8.35"
},
{
"name": "init",
"version": "1.56+nmu1"
},
{
"name": "init-system-helpers",
"version": "1.56+nmu1"
},
{
"name": "initramfs-tools",
"version": "0.133"
},
{
"name": "initramfs-tools-core",
"version": "0.133"
},
{
"name": "iproute2",
"version": "4.20.0-2"
},
{
"name": "iptables",
"version": "1.8.2-4"
},
{
"name": "iputils-ping",
"version": "3:20180629-2"
},
{
"name": "isc-dhcp-client",
"version": "4.4.1-2"
},
{
"name": "isc-dhcp-common",
"version": "4.4.1-2"
},
{
"name": "klibc-utils",
"version": "2.0.6-1"
},
{
"name": "kmod",
"version": "26-1"
},
{
"name": "less",
"version": "487-0.1+b1"
},
{
"name": "libacl1:amd64",
"version": "2.2.53-4"
},
{
"name": "libaio1:amd64",
"version": "0.3.112-3"
},
{
"name": "libapparmor1:amd64",
"version": "2.13.2-10"
},
{
"name": "libapt-inst2.0:amd64",
"version": "1.8.2"
},
{
"name": "libapt-pkg5.0:amd64",
"version": "1.8.2"
},
{
"name": "libargon2-1:amd64",
"version": "0~20171227-0.2"
},
{
"name": "libattr1:amd64",
"version": "1:2.4.48-4"
},
{
"name": "libaudit-common",
"version": "1:2.8.4-3"
},
{
"name": "libaudit1:amd64",
"version": "1:2.8.4-3"
},
{
"name": "libblkid1:amd64",
"version": "2.33.1-0.1"
},
{
"name": "libbsd0:amd64",
"version": "0.9.1-2"
},
{
"name": "libbz2-1.0:amd64",
"version": "1.0.6-9"
},
{
"name": "libc-bin",
"version": "2.28-10"
},
{
"name": "libc6:amd64",
"version": "2.28-10"
},
{
"name": "libcap-ng0:amd64",
"version": "0.7.9-2"
},
{
"name": "libcap2:amd64",
"version": "1:2.25-2"
},
{
"name": "libcap2-bin",
"version": "1:2.25-2"
},
{
"name": "libcom-err2:amd64",
"version": "1.45.2-1"
},
{
"name": "libcryptsetup12:amd64",
"version": "2:2.1.0-5"
},
{
"name": "libcurl4:amd64",
"version": "7.64.0-3"
},
{
"name": "libdb5.3:amd64",
"version": "5.3.28+dfsg1-0.6"
},
{
"name": "libdbus-1-3:amd64",
"version": "1.12.16-1"
},
{
"name": "libdebconfclient0:amd64",
"version": "0.249"
},
{
"name": "libdevmapper1.02.1:amd64",
"version": "2:1.02.155-2"
},
{
"name": "libdns-export1104",
"version": "1:9.11.5.P4+dfsg-5"
},
{
"name": "libedit2:amd64",
"version": "3.1-20181209-1"
},
{
"name": "libefiboot1:amd64",
"version": "37-2"
},
{
"name": "libefivar1:amd64",
"version": "37-2"
},
{
"name": "libelf1:amd64",
"version": "0.176-1.1"
},
{
"name": "libestr0:amd64",
"version": "0.1.10-2.1"
},
{
"name": "libexpat1:amd64",
"version": "2.2.6-1"
},
{
"name": "libext2fs2:amd64",
"version": "1.45.2-1"
},
{
"name": "libfastjson4:amd64",
"version": "0.99.8-2"
},
{
"name": "libfdisk1:amd64",
"version": "2.33.1-0.1"
},
{
"name": "libffi6:amd64",
"version": "3.2.1-9"
},
{
"name": "libfreetype6:amd64",
"version": "2.9.1-3"
},
{
"name": "libfuse2:amd64",
"version": "2.9.9-1"
},
{
"name": "libgcc1:amd64",
"version": "1:8.3.0-7"
},
{
"name": "libgcrypt20:amd64",
"version": "1.8.4-5"
},
{
"name": "libglib2.0-0:amd64",
"version": "2.58.3-2"
},
{
"name": "libgmp10:amd64",
"version": "2:6.1.2+dfsg-4"
},
{
"name": "libgnutls30:amd64",
"version": "3.6.7-4"
},
{
"name": "libgpg-error0:amd64",
"version": "1.35-1"
},
{
"name": "libgssapi-krb5-2:amd64",
"version": "1.17-2"
},
{
"name": "libhogweed4:amd64",
"version": "3.4.1-1"
},
{
"name": "libidn11:amd64",
"version": "1.33-2.2"
},
{
"name": "libidn2-0:amd64",
"version": "2.0.5-1"
},
{
"name": "libip4tc0:amd64",
"version": "1.8.2-4"
},
{
"name": "libip6tc0:amd64",
"version": "1.8.2-4"
},
{
"name": "libiptc0:amd64",
"version": "1.8.2-4"
},
{
"name": "libisc-export1100:amd64",
"version": "1:9.11.5.P4+dfsg-5"
},
{
"name": "libjson-c3:amd64",
"version": "0.12.1+ds-2"
},
{
"name": "libk5crypto3:amd64",
"version": "1.17-2"
},
{
"name": "libkeyutils1:amd64",
"version": "1.6-6"
},
{
"name": "libklibc:amd64",
"version": "2.0.6-1"
},
{
"name": "libkmod2:amd64",
"version": "26-1"
},
{
"name": "libkrb5-3:amd64",
"version": "1.17-2"
},
{
"name": "libkrb5support0:amd64",
"version": "1.17-2"
},
{
"name": "libldap-2.4-2:amd64",
"version": "2.4.47+dfsg-3"
},
{
"name": "libldap-common",
"version": "2.4.47+dfsg-3"
},
{
"name": "liblocale-gettext-perl",
"version": "1.07-3+b4"
},
{
"name": "liblognorm5:amd64",
"version": "2.0.5-1"
},
{
"name": "liblz4-1:amd64",
"version": "1.8.3-1"
},
{
"name": "liblzma5:amd64",
"version": "5.2.4-1"
},
{
"name": "libmagic-mgc",
"version": "1:5.35-4"
},
{
"name": "libmagic1:amd64",
"version": "1:5.35-4"
},
{
"name": "libmnl0:amd64",
"version": "1.0.4-2"
},
{
"name": "libmount1:amd64",
"version": "2.33.1-0.1"
},
{
"name": "libmpdec2:amd64",
"version": "2.4.2-2"
},
{
"name": "libncurses6:amd64",
"version": "6.1+20181013-2"
},
{
"name": "libncursesw6:amd64",
"version": "6.1+20181013-2"
},
{
"name": "libnetfilter-conntrack3:amd64",
"version": "1.0.7-1"
},
{
"name": "libnettle6:amd64",
"version": "3.4.1-1"
},
{
"name": "libnewt0.52:amd64",
"version": "0.52.20-8"
},
{
"name": "libnfnetlink0:amd64",
"version": "1.0.1-3+b1"
},
{
"name": "libnftnl11:amd64",
"version": "1.1.2-2"
},
{
"name": "libnghttp2-14:amd64",
"version": "1.37.0-1"
},
{
"name": "libp11-kit0:amd64",
"version": "0.23.15-2"
},
{
"name": "libpam-modules:amd64",
"version": "1.3.1-5"
},
{
"name": "libpam-modules-bin",
"version": "1.3.1-5"
},
{
"name": "libpam-runtime",
"version": "1.3.1-5"
},
{
"name": "libpam-systemd:amd64",
"version": "241-5"
},
{
"name": "libpam0g:amd64",
"version": "1.3.1-5"
},
{
"name": "libpcre2-8-0:amd64",
"version": "10.32-5"
},
{
"name": "libpcre3:amd64",
"version": "2:8.39-12"
},
{
"name": "libpng16-16:amd64",
"version": "1.6.36-6"
},
{
"name": "libpopt0:amd64",
"version": "1.16-12"
},
{
"name": "libprocps7:amd64",
"version": "2:3.3.15-2"
},
{
"name": "libpsl5:amd64",
"version": "0.20.2-2"
},
{
"name": "libpython3-stdlib:amd64",
"version": "3.7.3-1"
},
{
"name": "libpython3.7-minimal:amd64",
"version": "3.7.3-2"
},
{
"name": "libpython3.7-stdlib:amd64",
"version": "3.7.3-2"
},
{
"name": "libreadline7:amd64",
"version": "7.0-5"
},
{
"name": "librtmp1:amd64",
"version": "2.4+20151223.gitfa8646d.1-2"
},
{
"name": "libsasl2-2:amd64",
"version": "2.1.27+dfsg-1"
},
{
"name": "libsasl2-modules-db:amd64",
"version": "2.1.27+dfsg-1"
},
{
"name": "libseccomp2:amd64",
"version": "2.3.3-4"
},
{
"name": "libselinux1:amd64",
"version": "2.8-1+b1"
},
{
"name": "libsemanage-common",
"version": "2.8-2"
},
{
"name": "libsemanage1:amd64",
"version": "2.8-2"
},
{
"name": "libsepol1:amd64",
"version": "2.8-1"
},
{
"name": "libslang2:amd64",
"version": "2.3.2-3"
},
{
"name": "libsmartcols1:amd64",
"version": "2.33.1-0.1"
},
{
"name": "libsqlite3-0:amd64",
"version": "3.27.2-3"
},
{
"name": "libss2:amd64",
"version": "1.45.2-1"
},
{
"name": "libssh2-1:amd64",
"version": "1.8.0-2.1"
},
{
"name": "libssl1.1:amd64",
"version": "1.1.1c-1"
},
{
"name": "libstdc++6:amd64",
"version": "8.3.0-7"
},
{
"name": "libsystemd0:amd64",
"version": "241-5"
},
{
"name": "libtasn1-6:amd64",
"version": "4.13-3"
},
{
"name": "libtext-charwidth-perl",
"version": "0.04-7.1+b1"
},
{
"name": "libtext-iconv-perl",
"version": "1.7-5+b7"
},
{