Bug 680660

Summary: [patch] Add support for deltarpm for yum-plugin-local
Product: Red Hat Enterprise Linux 6 Reporter: Alexander Todorov <atodorov>
Component: yum-utilsAssignee: James Antill <james.antill>
Status: CLOSED WONTFIX QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: pknirsch, syeghiay
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-26 19:37:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 680662    
Attachments:
Description Flags
enable-delta-rpms-in-the-local-repository.patch none

Description Alexander Todorov 2011-02-26 19:39:11 UTC
Created attachment 481178 [details]
enable-delta-rpms-in-the-local-repository.patch

Description of problem:
The local.py plugin for yum provides support for a local repository by running the createrepo command. Now that createrepo supports deltarpm local.py adds few config options for that. 

The attached patch adds 3 more config options wit sane default values. If enabled (disabled by default) the createrepo command will be executed with such parameters that it will generate delta rpms for the local repository. The patch is against latest git master. 

This is useful if you decide to export the local repo to other systems in the network and want to use drpms to reduce bandwidth utilization (e.g. when the local network is overloaded or very slow).

Comment 1 James Antill 2011-03-22 21:22:57 UTC
As it's an internal only RFE atm. ... moving to 6.2.

Comment 6 James Antill 2012-06-26 19:37:38 UTC
>  This is useful if you decide to export the local repo to other systems in the > network and want to use drpms to reduce bandwidth utilization (e.g. when the 
> local network is overloaded or very slow).

 I think it'd be better to do delta stuff in the part of the process that exports everything. I think directly exporting the local repo. is probably a bad idea.