rpm-ostree/tests/vmcheck
Jonathan Lebon 37273705dd app/db-diff: make use of new db API
This is the first step towards unifying how we introspect packages from
a specific commit. We currently do this in three ways: libdnf, librpm,
and now `rpmostree.rpmdb.pkglist`. I'd like to get to a point where we
only have `rpmostree.rpmdb.pkglist` and libdnf, the latter only when
more complex queries are required.

This patch teaches the `db diff` command to make use of the new db diff
API so that it can work even on metadata-only commits. This is relevant
for use cases mentioned in #558.

I didn't get rid of the `rpmhdrs_diff` functions right now because of
the `--changelogs` option: libdnf currently does not expose this, so we
fall back to the previous API in that case. OTOH, I wonder how much it's
actually used in the wild; maybe we could just nix it?

Closes: #1162
Approved by: cgwalters
2017-12-30 11:32:38 +00:00
..
fetch-journal.sh vmcheck: prep for parallel runs 2017-03-13 00:42:13 +00:00
install.sh tests: Correctly error out if some part of install.sh fails 2017-11-29 14:42:25 +00:00
multitest.py multitest.py: error if no hosts given 2017-08-15 15:40:35 +00:00
overlay.sh tests: Make use of commit --no-bindings if available 2017-12-22 14:07:07 +00:00
sync.sh daemon: add RPMOSTREE_DEBUG_DISABLE_DAEMON_IDLE_EXIT 2017-10-12 15:35:44 +00:00
test-basic.sh app/status: support JSONPath queries 2017-12-21 03:59:54 +00:00
test-db.sh app/db-diff: make use of new db API 2017-12-30 11:32:38 +00:00
test-download-only.sh Lift 'override' out of experimental 2017-11-08 03:35:08 +00:00
test-initramfs.sh tests/vmcheck: turn on strict bash mode 2017-10-02 20:36:07 +00:00
test-kernel-args.sh tests/vmcheck: add deploy-index and proc-cmd test for kargs 2017-11-06 18:49:36 +00:00
test-layering-basic.sh libpriv/core: include pkglist for client commits 2017-12-20 13:10:36 +00:00
test-layering-gpg.sh tests/libvm: use rsync and add yumrepo mode 2017-10-06 18:20:59 +00:00
test-layering-local.sh tests/vmcheck: turn on strict bash mode 2017-10-02 20:36:07 +00:00
test-layering-non-root-caps.sh tests/vmcheck: turn on strict bash mode 2017-10-02 20:36:07 +00:00
test-layering-relabel.sh core: Change relabeling to use libostree's SELinux support 2017-12-08 15:01:32 +00:00
test-layering-relayer.sh tests/vmcheck: turn on strict bash mode 2017-10-02 20:36:07 +00:00
test-layering-rpmdb.sh tests/vmcheck: turn on strict bash mode 2017-10-02 20:36:07 +00:00
test-layering-scripts.sh scripts: Make use of SYSTEMD_OFFLINE environment variable 2017-12-15 17:05:37 +00:00
test-layering-unified.sh tests/vmcheck: turn on strict bash mode 2017-10-02 20:36:07 +00:00
test-livefs.sh WIP: Implement ex livefs --replace 2017-10-05 13:19:20 +00:00
test-override-local-replace.sh Lift 'override' out of experimental 2017-11-08 03:35:08 +00:00
test-override-remove.sh Lift 'override' out of experimental 2017-11-08 03:35:08 +00:00
test.sh app: add --download-only option 2017-10-16 17:49:51 +00:00