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 compression. 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. Cheers, Michael. -- Michael Schroeder m...@suse.de SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} _______________________________________________ Rpm-ecosystem mailing list Rpm-ecosystem@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-ecosystem