{"push_id":2224515585,"size":3,"distinct_size":0,"ref":"refs/heads/master","head":"37273705ddc0b39ff4113dedfdd4626a9bea4be8","before":"5a6c779850d6cabadbc727792554e6eaa3051e34","commits":[{"sha":"18d36afdf9c8a107dcf88c911944e47b2781c35f","author":{"name":"Jonathan Lebon","email":"c31c287be0fa99fb99ffcd1860ce22cdd2c0c5ae@redhat.com"},"message":"lib/package: teach about rpmostree.rpmdb.pkglist\n\nIn order to make use the new pkglist metadata more consummable, let's\nadd a function to create RpmOstreePackage arrays from it. Since some\nAPIs need to keep working as before, we use a `allow_noent` parameter to\ndistinguish between the two cases.\n\nThis is prep trying our best to make use of this metadata when possible\nrather than checking out the rpmdb and initializing a `DnfSack`.\n\nCloses: #1162\nApproved by: cgwalters","distinct":false,"url":"https://api.github.com/repos/projectatomic/rpm-ostree/commits/18d36afdf9c8a107dcf88c911944e47b2781c35f"},{"sha":"def21255ac41e692836ae3800976490881864df6","author":{"name":"Jonathan Lebon","email":"c31c287be0fa99fb99ffcd1860ce22cdd2c0c5ae@redhat.com"},"message":"lib/db: use new pkglist metadata API if possible\n\nAdd a function that can smartly perform diff operations on sorted\nRpmOstreePackage arrays and make the db API use that. This allows us to\nimmediately take advantage of the benefits in a few places where diffs\nare performed, including post-deployment tree diffs, and the legacy db\ndiff variant API. The upcoming `CachedUpdate` rework will also make use\nof this (but with the notable difference of setting `allow_noent` to\n`TRUE`).\n\nNote this introduces a new `rpm_ostree_db_diff_ext` public API which has\nthe same interface as `rpm_ostree_db_diff` but also takes flags.\n\nCloses: #1162\nApproved by: cgwalters","distinct":false,"url":"https://api.github.com/repos/projectatomic/rpm-ostree/commits/def21255ac41e692836ae3800976490881864df6"},{"sha":"37273705ddc0b39ff4113dedfdd4626a9bea4be8","author":{"name":"Jonathan Lebon","email":"c31c287be0fa99fb99ffcd1860ce22cdd2c0c5ae@redhat.com"},"message":"app/db-diff: make use of new db API\n\nThis is the first step towards unifying how we introspect packages from\na specific commit. We currently do this in three ways: libdnf, librpm,\nand now `rpmostree.rpmdb.pkglist`. I'd like to get to a point where we\nonly have `rpmostree.rpmdb.pkglist` and libdnf, the latter only when\nmore complex queries are required.\n\nThis patch teaches the `db diff` command to make use of the new db diff\nAPI so that it can work even on metadata-only commits. This is relevant\nfor use cases mentioned in #558.\n\nI didn't get rid of the `rpmhdrs_diff` functions right now because of\nthe `--changelogs` option: libdnf currently does not expose this, so we\nfall back to the previous API in that case. OTOH, I wonder how much it's\nactually used in the wild; maybe we could just nix it?\n\nCloses: #1162\nApproved by: cgwalters","distinct":false,"url":"https://api.github.com/repos/projectatomic/rpm-ostree/commits/37273705ddc0b39ff4113dedfdd4626a9bea4be8"}]}
{"actor":{"display_login":"rh-atomic-bot"}}