Bug 186891

Summary: feature: make yum use rsync to minimize data download
Product: [Fedora] Fedora Reporter: James Hunt <jamesodhunt>
Component: yumAssignee: Jeremy Katz <katzj>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: katzj
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-04-03 04:10:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description James Hunt 2006-03-27 09:01:57 UTC
Description of problem:

If yum could be integrated with rsync, the amount of data downloaded for updates
could be minimized.

For example, if the users machine already has kernel-xxx.rpm sitting in
/var/cache/yum/, and yum determines that a new kernel (kernel-yyy.rpm) is
available as an update, allowing rsync to analyze kernel-xxx.rpm to see the
similarities to kernel-yyy.rpm may well reduce the actual amount of data
required to create kernel-yyy.rpm on the local system.

Logic:

if ( package_update_available )
{
  if ( cached_version_of_package_on_local_box )
  {
    /* rsync "/var/cache/yum/old_package_version.rpm" against
     * http://fedora.redhat.com/..../new_package_version.rpm".
     */
  }
  else
  {
    /* download as normal. */
  }
}


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Seth Vidal 2006-04-03 04:10:37 UTC
wontfix.

rsync is not a good idea for mirrors, if nothing else.