On 04/12/2013 10:04 AM, Steven Haigh wrote: > On 04/12/2013 07:05 AM, Pat Riehecky wrote: >> On 04/11/2013 12:57 PM, Steven Haigh wrote: >>> Hi all, >>> >>> I'm wondering why we don't take advantage of deltarpms for updates on >>> SL6 (and maybe SL5). >>> >>> There are a few people I know that bandwidth is an issue - and >>> something like this would solve that problem. >>> >>> I do know its a bit more work, but it is something that can easily be >>> automated... >>> >> >> ...... interesting..... >> > > Yeah - it will mean changing the createrepo line to add a the following > options: > --deltas - Create delta packages. > > --num-deltas - The number of delta versions to cover (I usually > recommend 3 to 5 depending on how often packages change) > > --oldpackagesdirs - This is the main one. This is a directory that > contains ALL the old packages (including ones no longer in the repo). > These will be used to create deltas from old versions to new versions. > > --max-delta-rpm-size - If you want to only process packages UNDER a > certain size. Note that this refers to the input package (from what I > understand). > > You'll find the deltas will usually be around 20% of the size of the > full package (sometimes even less). > Oh, and further to this... on Freenode IRC, the user robatino in #fedora-qa is a god when it comes to deltarpm / deltaiso. I believe he is responsible for the majority of the Fedora delta packages. -- Steven Haigh Email: [log in to unmask] Web: https://www.crc.id.au Phone: (03) 9001 6090 - 0412 935 897 Fax: (03) 8338 0299