You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think a KISS solution would work here; i.e. just get librepo to look for local files in other places before re-downloading them. It would be a very small list of places to look, and 3 stat's + hardlink would be much cheaper and faster than downloading again and again.
There are multiple programs which consume librepo, such as PackageKit, dnf, and others.
However, there's no easy mechanism for these programs to share repository metadata. Two possible options:
/var/cache/librepo
with rules for access (e.g. PackageKit/libhif style atomic swap)/var/cache/dnf
, dnf looks at/var/cache/PackageKit
Other options?
The text was updated successfully, but these errors were encountered: