Bug 75327 - Hawkey backend should smartly share cache with dnf
Summary: Hawkey backend should smartly share cache with dnf
Status: NEW
Alias: None
Product: PackageKit
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-21 14:10 UTC by Elad Alfassa
Modified: 2016-05-11 16:43 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elad Alfassa 2014-02-21 14:10:34 UTC
From email discussion:

Maybe read the dnf cache, check if the has of the files there is equal to the files we want to download, and then just copy it over

This makes it possible to conserve bandwidth (as dnf already has a timer to refresh the cache regularly), and that's important for people who have capped connections or pay-per-byte connections.
Comment 1 Jean-François Fortin Tam 2014-06-15 14:32:45 UTC
For the record: not just bandwidth (which is also important in terms of time, not just data transfer caps) but also size on disk.

My /home is separate from /, and / is kept a reasonable size (15 GB) but I frequently get warnings about / being nearly full because yum, dnf and packagekit triplicate the cache :)


bug/show.html.tmpl processed on Mar 25, 2017 at 23:37:12.
(provided by the Example extension).