pungi/pungi/wrappers
Lubomír Sedlář ba0193ca28 gather: Add a hybrid depsolver backend
This patch adds a new gather method called `hybrid`, which uses a `fus`
binary, which must exist somewhere on the `$PATH`. It will call it
multiple times to add multilib packages.

The solver can handle packages, modules and comps groups as input.
However comps groups are never passed in. Pungi will expand it to a list
of packages to avoid issues with comps handling in fus. It ignores
optional packages, and if the group mentions a package that does not
exist, nothing else from the group is included.

Multilib is also handled outside of fus. Pungi will run it, parse the
packages from output, determines multilib packages and adds them as
input. Then it runs the solver again. This is done until nothing new is
added. Usually two passes should be enough.

Source packages and debuginfo are added as a final step. All debuginfo
packages from any included source are added. If the source or debuginfo
package is included in any lookaside repo, it will be skipped.

The tool expects to get a platform stream that should be provided for
modules to depend on. Pungi looks into the modules and gets the platform
from there. If there are more requests, an error is raised.

There is some missing functionality and options that are ignored.
Particularly these are:

 * gather_fulltree
 * gather_selfhosting
 * greedy_method

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2018-07-16 10:21:41 +02:00
..
__init__.py Initial code merge for Pungi 4.0. 2015-02-10 08:19:34 -05:00
comps.py init: Validate whitespace in comps groups 2018-06-25 11:58:52 +02:00
createrepo.py createrepo: Use less verbose logs 2018-05-07 08:38:23 +02:00
fus.py gather: Add a hybrid depsolver backend 2018-07-16 10:21:41 +02:00
iso.py Add buildinstall_use_guestmount boolean option 2018-01-16 09:18:35 +01:00
jigdo.py Remove FSF address from comments 2016-09-23 10:26:43 +02:00
kojiwrapper.py kojiwrapper: Call chmod recursively 2018-06-04 13:11:37 +02:00
lorax.py Expose lorax's --rootfs-size argument 2016-11-17 10:17:39 -05:00
pungi.py Write package whitelist for each variant 2018-03-08 14:29:23 +01:00
repoclosure.py Port to Python 3 2017-10-24 15:15:31 +02:00
scm.py scm: Stop decoding output of post-clone command 2018-02-20 12:18:48 +01:00
variants.py variants: Reject values with whitespace 2018-06-12 12:48:14 +02:00