beaker-import needs to be more flexible so we can import selectively from composes, either by specifically selecting trees, or by not dying the some trees do not exist
I'd also like to add the ability to add all the relevant repos when importing from the tree level.
This changes makes two fundamental changes to the possibilities of distro importing. The first is
that no assumption is made as to the trees that exist within a compose. This means, that if you wish
to pass a compose URL to beaker-import, it will import all valid trees it can find,
and not abort if expected trees are not found. Inversely, we can now specify which trees we want
imported by using the --arch and --variant options. This allows us to only import those trees
which are of relevance.
Secondly, we now attempt to treat tree level imports as we do composes. That is, we attempt
to populate trees imported at the tree level with the same data as if they had been imported
indirectly from the compose level. Historically and specifically, this has been an issue with regards
to repos, where trees imported at the tree level were befeft of certain repos. Unfortunately, we cannot
guarantee the same level of accuracy as we can if importing
from the compose level (at least with RHEL7, Fedora), as the compose informs us of the location of all
relevant repos. If we are importing at the tree level, we rely on hard coding 'known' locations, where
we expect the repos to be.
previous commit was abandoned. New commit is http://gerrit.beaker-project.org/#/c/1843/.
Setting status to MODIFIED since the patch is merged.
Or, rather I am just going to keep it ON_QA, since the packages aren't built yet. But yeah, feel free to set it to VERIFIED. It seems to work fine.
In fact, i think it should be MODIFIED. Sorry for the spam.
Beaker 0.12 has been released.
*** Bug 847912 has been marked as a duplicate of this bug. ***