Go to file
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
.github
api-doc
buildutil
ci
design
docs
libdnf@022365553a
libglnx@96b1fd9578
man
packaging
scripts bwrap: Don't use --unshare-net in nspawn by default 2017-03-10 17:27:56 +00:00
src app/db-diff: make use of new db API 2017-12-30 11:32:38 +00:00
tests app/db-diff: make use of new db API 2017-12-30 11:32:38 +00:00
vagrant
.dir-locals.el
.editorconfig
.gitmodules
.papr.yml
.vimrc tree: add vimrc and editorconfig 2017-10-02 14:36:44 +00:00
autogen.sh
configure.ac
CONTRIBUTING.md
COPYING
git.mk
HACKING.md
LICENSE
Makefile-daemon.am
Makefile-decls.am
Makefile-lib-defines.am
Makefile-lib.am
Makefile-libdnf.am
Makefile-libpriv.am
Makefile-man.am
Makefile-rpm-ostree.am
Makefile-tests.am
Makefile.am
mkdocs.yml
README.md
TODO
Vagrantfile Vagrantfile: specify full path to using_sshfs 2016-12-21 20:00:43 +00:00

rpm-ostree Overview

rpm-ostree is a hybrid image/package system. It uses OSTree as a base image format, and supports RPM on both the client and server side using libdnf.

For more information, see the online manual: Read The Docs (rpm-ostree)

Features:

  • Atomic upgrades and rollback for host system updates
  • A server side tool to consume RPMs and commit them to an OSTree repository
  • A system daemon to consume OSTree commits as updates

Projects using rpm-ostree

Project Atomic uses rpm-ostree to provide a minimal host for Docker formatted Linux containers. Replicating a base immutable OS, then using Docker for applications.

Manual

For more information, see the online manual: Read The Docs (rpm-ostree)