5f17bc5c87
I don't like the use of `HY_GLOB` in the lockfile package matching. We have all the information in the Rust object, so it's silly to condense that to a single string in a hashmap. Fix this by returning the `LockfileConfig` object itself and then adding a function to fetch the list of locked packages. This allows the C++ side to see all the individual fields which makes filtering trivial. The next step is moving all the code which needs the lockfile to Rust. Then we can drop the shared `LockedPackage` type. (I did start on converting `find_locked_packages`, though it requires adding bindings for all the `HyQuery` stuff, which... isn't great (and also runs into the fact that `hy_query_run` needs to return a GPtrArray). I think instead of a 1:1 mapping, we'll probably want the libdnf-sys API wrappers to provide some sugar for the common paths.) |
||
---|---|---|
.. | ||
libdnf-sys | ||
rpmostree-client | ||
src | ||
.gitignore | ||
LICENSE-APACHE | ||
LICENSE-MIT |