On 26 March 2018 at 09:16, Tom Hughes <t...@compton.nu> wrote:
>> Will it FINALLY use one copy of metadata for all system users?
> Do you have a proposal as to how that might be possible in a
> secure way?

I think he means removing the duplication of the cache between
PackageKit and dnf. The former only uses a separate cache as it
updates the cache all at one, and switches to new versions atomically
so applications like gnome-software can always run transactions with
known latencies. dnf (the command line tool) only downloaded the
metadata files it needed for the current request, and so it could be
you had to start downloading something like the filelists when you
actually depsolved a transaction (which is somewhat incompatible with
offline updates for instance).

With version 3.0 dnf is switching to the codebase we originally wrote
for PackageKit (libzif->libhif->libdnf), and so it inherits the
"download complete cache and switch atomically" logic. This means we
get a shared cache for free.

Richard.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to