From 077590f90fef6739f0efca55adb49c05ee8d34a35bb79c0c0778eab39e8a6bce Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Mon, 25 Mar 2024 06:15:15 +0000 Subject: [PATCH] Accepting request 1161103 from home:mnhauke - Update to version 1.25.2 * Add apt-cache-show command parser. * Add apt-get-sqq command parser. * Add ethtool command parser. * Add needrestart command parser. * Enhance df parser to add human readable output support. * Enhance free parser to add human readable output support. * Enhance iptables parser to handle -x output. * Enhance /proc/pid/stat parser to support "Idle" state. * Enhance rpm_qi and pkg_index_deb parsers to split list fields into arrays. * Fix iwconfig parser to handle more special characters in the SSID name. * Fix xrandr parser to ignore extra horizontal and vertical stats lines. - Update to version 1.25.1 * Fix for crash when optional libraries are not installed. * Fix for ini parser crashing with some keys with no values. * Fix xrandr parser to extract more EDID data. * Enhance uptime parser to support output with no user information * Enhance --quiet CLI option to cover more warning messages. * Add tests for missing optional libraries. - Update to version 1.25.0 * Add --slurp functionality to wrap output from multiple lines into a single array. * Streaming parsers are not supported. Use jc -hhh to find parsers compatible with the slurp option. * Enhance /proc file magic syntax to allow slurping when multiple files are selected. * Enhance --meta-out functionality to include a list of the input OBS-URL: https://build.opensuse.org/request/show/1161103 OBS-URL: https://build.opensuse.org/package/show/utilities/jc?expand=0&rev=31 --- jc-1.24.0.tar.gz | 3 --- jc-1.25.2.tar.gz | 3 +++ jc.changes | 64 ++++++++++++++++++++++++++++++++++++++++++++++++ jc.spec | 6 ++--- 4 files changed, 70 insertions(+), 6 deletions(-) delete mode 100644 jc-1.24.0.tar.gz create mode 100644 jc-1.25.2.tar.gz diff --git a/jc-1.24.0.tar.gz b/jc-1.24.0.tar.gz deleted file mode 100644 index 7a7b6c0..0000000 --- a/jc-1.24.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4df7d15475f068b9734909cd02f4812afb469d91e55d9bf59cb3b756a8b5aeda -size 13413929 diff --git a/jc-1.25.2.tar.gz b/jc-1.25.2.tar.gz new file mode 100644 index 0000000..ac527f2 --- /dev/null +++ b/jc-1.25.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bdf5f927181507dc648e4cf30b8ef9dd8dfbaefda41602f6568165e9e3f2955f +size 13483247 diff --git a/jc.changes b/jc.changes index 702a948..78f4966 100644 --- a/jc.changes +++ b/jc.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Sun Mar 24 10:13:57 UTC 2024 - Martin Hauke + +- Update to version 1.25.2 + * Add apt-cache-show command parser. + * Add apt-get-sqq command parser. + * Add ethtool command parser. + * Add needrestart command parser. + * Enhance df parser to add human readable output support. + * Enhance free parser to add human readable output support. + * Enhance iptables parser to handle -x output. + * Enhance /proc/pid/stat parser to support "Idle" state. + * Enhance rpm_qi and pkg_index_deb parsers to split list fields + into arrays. + * Fix iwconfig parser to handle more special characters in the + SSID name. + * Fix xrandr parser to ignore extra horizontal and vertical stats + lines. +- Update to version 1.25.1 + * Fix for crash when optional libraries are not installed. + * Fix for ini parser crashing with some keys with no values. + * Fix xrandr parser to extract more EDID data. + * Enhance uptime parser to support output with no user information + * Enhance --quiet CLI option to cover more warning messages. + * Add tests for missing optional libraries. +- Update to version 1.25.0 + * Add --slurp functionality to wrap output from multiple lines + into a single array. + * Streaming parsers are not supported. Use jc -hhh to find parsers + compatible with the slurp option. + * Enhance /proc file magic syntax to allow slurping when multiple + files are selected. + * Enhance --meta-out functionality to include a list of the input + data when using --slurp or /proc file magic syntax. For + slurpable parsers, this is a list of string inputs in order. + For /proc file magic syntax, this is a list of /proc filenames + in order. This can help with identifying which input matches to + which output when using --slurp or when converting multiple + files via /proc file magic syntax. + * Add curl-head command parser for curl --head or curl -I with + verbose support. + * Add efibootmgr command parser. + * Add http-headers parser for plain HTTP header output. + * Add kv-dup parser for Key/Value files with duplicate keys. + * Add path string parser to parse posix path. + * Add path-list string parser to parse path list strings found + in env variables. + * Add source link to online parser documentation. + * Add snap package build scripts. + * Add remove_quotes function to utils.py. + * Add normalize_key function to utils.py. + * Add line_slice function to utils.py. + * Add get_parser function to lib.py. + * Enhance nsd-control parser to support more zone information. + * Enhance ping and ping-s parsers to support the -I command + option. + * Enhance proc-net-tcp parser to add opposite endian support for + architectures like the s390x. + * Enhance url parser to add parent, filename, stem, and + extension fields. + * Fix ini and ini-dup parsers to consistently handle null values + as empty strings. + * Fix line slicer to not skip blank lines. + ------------------------------------------------------------------- Sun Dec 17 23:01:33 UTC 2023 - Martin Hauke diff --git a/jc.spec b/jc.spec index c7863ba..77dd170 100644 --- a/jc.spec +++ b/jc.spec @@ -1,8 +1,8 @@ # # spec file for package jc # -# Copyright (c) 2023 SUSE LLC -# Copyright (c) 2020-2023, Martin Hauke +# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2020-2024, Martin Hauke # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ Name: jc -Version: 1.24.0 +Version: 1.25.2 Release: 0 Summary: JSON CLI output utility License: MIT