[packagekit] hif backend: keepcache
Kevin Kofler
kevin.kofler at chello.at
Sun Sep 14 08:40:59 PDT 2014
Hi,
are we setting hif_context_set_keep_cache from a config file anywhere? (I
could not find it anywhere in the code.) We really should (unless we default
it to TRUE), especially considering that Fedora mirrors do not carry older
updates and thus the local cache is the ONLY way to find older versions of
packages to downgrade to (except the often really old and useless version
from the GA release) in case of a problem.
If we do not have any such config setting yet, I would like to add one. What
is the best place? Should we try to honor dnf.conf for this kind of
settings? (Advantage: One has to set up this kind of things only once.
Drawback: It is not obvious that PackageKit-hif honors DNF settings, and
which ones.) Or should I add a setting somewhere to the PackageKit
configuration?
I think not having an option to keep cached packages even after a successful
transaction is a major data loss issue (as it deletes data that will no
longer be available online when potentially needed, see above) that makes
PackageKit-hif unusable for me, and I would really like to not have to
rebuild PackageKit with a 1-line patch each time it gets upgraded just to
change this setting. So having it configurable somewhere is important to me.
And I suspect there are other users also thinking this way. So please tell
me where to best put the setting.
Kind regards,
Kevin Kofler
More information about the PackageKit
mailing list