rpm-ostree/ci
Colin Walters fee6d06bf4 lib: Expose new API around basearch
For https://pagure.io/atomic-wg/issue/299 we need to make it
more convenient to substitute the architecture in an installation
context.  I plan to use this API inside `rpmostreepayload` in Anaconda,
so we can substitute the same value of `${basearch}` we use in treefiles
since https://github.com/projectatomic/rpm-ostree/pull/305

Now, you might wonder - why do we need an API wrapping libdnf? It's because
libdnf is not API stable yet. We're just exposing a tiny subset. In theory we
could use the Python dnf bindings in Anaconda, but things get slightly weird if
rpmostreepayload depends on dnf. Perhaps we'll do that down the road, but for
now this a small API surface to maintain (forever).

This change reworks the internal `varsubst` bits to take a pure `DnfContext`,
since we don't want to spin up a whole `RpmOstreeContext` just to do some
string substitutions.

Closes: #877
Approved by: jlebon
2017-07-21 16:02:41 +00:00
..
build-check.sh ci: no longer run gnome-desktop-testing 2017-07-18 13:58:38 +00:00
build.sh lib: Expose new API around basearch 2017-07-21 16:02:41 +00:00
ci-commitmessage-submodules.sh PAPR: migrate to the new name 2017-05-25 16:27:10 +00:00
codestyle.sh Remove all tabs ⭾ in *.[ch] and add a CI check for them 2017-06-22 01:20:55 +00:00
libbuild.sh ci: unite testsuites and run vmcheck on centos 2017-07-18 13:58:38 +00:00