apt-get-sqq
--apt-get-sqqv1.0.0Converts `apt-get -sqq` command output to JSON
Linuxcommand
$ apt-get -sqq | jc-rs --apt-get-sqqA real pair
From the reference corpus (generic/apt_get_sqq--sample.json). The left pane is the input the fixture ships; the right pane is the corpus's expected JSON. CI compares jc-rs with it field by field under the published differential. Hover a value to see where it came from.
apt-get -sqqgeneric
Inst dpkg [1.19.7] (1.19.8 Debian:10.13/oldstable, Debian-Security:10/oldstable [amd64]) Inst dpkg (1.19.8 Debian:10.13/oldstable, Debian-Security:10/oldstable [amd64]) Conf dpkg [1.19.7] (1.19.8 Debian:10.13/oldstable, Debian-Security:10/oldstable [amd64]) Remv dpkg [1.19.7] (1.19.8 Debian:10.13/oldstable, Debian-Security:10/oldstable [amd64]) Inst base-files [10.3+deb10u4] (10.3+deb10u13 Debian:10.13/oldstable [amd64]) Conf base-files (10.3+deb10u13 Debian:10.13/oldstable [amd64]) Inst dpkg [1.19.7] (1.19.8 Debian:10.13/oldstable, Debian-Security:10/oldstable [amd64]) Conf dpkg (1.19.8 Debian:10.13/oldstable, Debian-Security:10/oldstable [amd64])
expected outputjson
Use the Left and Right arrow keys to highlight the matching value in the input.
[ { "operation": "unpack", "package": "dpkg", "broken": "1.19.7", "proposed_pkg_ver": "1.19.8 Debian:10.13/oldstable", "existing_pkg_ver": "Debian-Security:10/oldstable", "architecture": "amd64" }, { "operation": "unpack", "package": "dpkg", "broken": null, "proposed_pkg_ver": "1.19.8 Debian:10.13/oldstable", "existing_pkg_ver": "Debian-Security:10/oldstable", "architecture": "amd64" }, { "operation": "configure", "package": "dpkg", "broken": "1.19.7", "proposed_pkg_ver": "1.19.8 Debian:10.13/oldstable", "existing_pkg_ver": "Debian-Security:10/oldstable", "architecture": "amd64" }, { "operation": "remove", "package": "dpkg", "broken": "1.19.7", "proposed_pkg_ver": "1.19.8 Debian:10.13/oldstable", "existing_pkg_ver": "Debian-Security:10/oldstable", "architecture": "amd64" }, { "operation": "unpack", "package": "base-files", "broken": "10.3+deb10u4", "proposed_pkg_ver": "10.3+deb10u13 Debian:10.13/oldstable", "existing_pkg_ver": null, "architecture": "amd64" }, { "operation": "configure", "package": "base-files", "broken": null, "proposed_pkg_ver": "10.3+deb10u13 Debian:10.13/oldstable", "existing_pkg_ver": null, "architecture": "amd64" }, { "operation": "unpack", "package": "dpkg", "broken": "1.19.7", "proposed_pkg_ver": "1.19.8 Debian:10.13/oldstable", "existing_pkg_ver": "Debian-Security:10/oldstable", "architecture": "amd64" }, { "operation": "configure", "package": "dpkg", "broken": null, "proposed_pkg_ver": "1.19.8 Debian:10.13/oldstable", "existing_pkg_ver": "Debian-Security:10/oldstable", "architecture": "amd64" } ]
Fixture coverage
1/1oracle-valid pairs match under the published structural JSON comparison
Magic syntax
jc-rs apt-get -sqqjc-rs runs the command itself and parses what it prints. Recognised for: `apt-get -sqq`Source: crates/jc-rs-parsers/src/package/apt_get_sqq.rs. jc-rs targets the schemas defined by the original Python tool. Fixture coverage above is the measured evidence for this parser; test the inputs your pipeline depends on. Compare