Bug 1050728

Summary: RFE yum: deltarpm=0 for individual repo
Product: [Fedora] Fedora Reporter: Stefan Neufeind <redhat>
Component: yumAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: admiller, ffesti, firas.alkafri, packaging-team-maint, vmukhame, zpavlas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-15 14:31:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stefan Neufeind 2014-01-08 23:48:58 UTC
Currently afaik deltarpm=0 only works globally (yum.conf). It would be great to have that usable on a per-repo-basis as well. My usecase would be that due to a near, locally connected mirror via gbit fetching full files for certain repos is faster than rebuilding can ever be :-)

Comment 1 Zdeněk Pavlas 2014-01-15 14:31:46 UTC
Hi, the "deltarpm" option (when non-zero) is the limit of the number of delta rebuild jobs, so it's "global" by nature.  You can turn drpms off for specific repos with "deltarpm_percentage=0", which works per-repository, too.  The use case of specifying "0" is even documented :)

              deltarpm_percentage When the relative size of delta  vs  pkg  is
              larger  than  this,  delta  is  not  used.   Default value is 75
              (Deltas must be at least 25% smaller than the pkg).  Use `0'  to
              turn  off delta rpm processing. Local repositories (with file://
              baseurl) have delta rpms turned off by default.

Comment 2 Stefan Neufeind 2014-01-15 14:38:36 UTC
Will give it a try, thanks. Though I did (!) look into the documentation, I didn't find this was already possible, like you write.