rpm-ostree/rust
Jonathan Lebon ba7a72995b treefile: Add new repo-packages field for pinning packages to repos
This addresses the server compose side of
https://github.com/coreos/rpm-ostree/issues/2584.

One tricky bit is handling overrides across included treefiles (or
really, even within a single treefile): as usual, higher-level treefiles
should override lowel-level ones. Rust makes it pretty nice to handle.

For now this just supports a `repo` field, but one could imagine e.g.
`repos` (which takes an array of repoids instead), or e.g.
`exclude-repos`.

The actual core implementation otherwise is pretty straightforward.

This should help a lot in RHCOS where we currently use many `exclude=`
directives in repo files to get it to do what we want.

This is also kind of a requirement for modularity support because as
soon as rpm-ostree becomes modules-aware, modular filtering logic will
break composes which assume rpm-ostree treats modular and non-modular
packages the same.
2021-04-30 09:13:18 -04:00
..
libdnf-sys build(deps): bump cxx from 1.0.47 to 1.0.48 2021-04-29 08:55:14 +00:00
rpmostree-client rust/client: Make status be a method 2021-04-07 18:56:59 +00:00
src treefile: Add new repo-packages field for pinning packages to repos 2021-04-30 09:13:18 -04:00
.gitignore Add testutils generate-synthetic-upgrade 2020-08-18 17:23:15 +02:00
LICENSE-APACHE Clarify license situation to include GPLv2, relicense Rust code 2019-09-05 20:49:18 +00:00
LICENSE-MIT Clarify license situation to include GPLv2, relicense Rust code 2019-09-05 20:49:18 +00:00