On Tue, Jul 10, 2018 at 02:05:26PM +0100, Jonathan Dieter wrote:
> The top-level tool only needs to deal with the uncompressed metadata. 
> dnf/libdnf requests the primary metadata from librepo, which downloads
> the zchunk version, passes it to libsolv which decompresses it and
> creates the .solv file usable by the top-level tools.

Yes, so the selection of the flavor to download should be in dnf/libdnf.

> DNF neither knows, nor cares that librepo downloaded the zchunk metadata
> rather than gz.

That's just because libsolv uses the file suffix to autodetect the
Actually dnf/libdnf sould ask libsolv if it supports the compression
(by calling solv_xfopen_iscompressed()) and not blindly assume that
it will magically work.


Michael Schroeder                                   m...@suse.de
SUSE LINUX GmbH,           GF Jeff Hawn, HRB 16746 AG Nuernberg
Rpm-ecosystem mailing list

Reply via email to