SCIENTIFIC-LINUX-DEVEL Archives

April 2013

SCIENTIFIC-LINUX-DEVEL@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Steven Haigh <[log in to unmask]>
Reply To:
Steven Haigh <[log in to unmask]>
Date:
Fri, 12 Apr 2013 10:04:05 +1000
Content-Type:
text/plain
Parts/Attachments:
text/plain (43 lines)
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).

-- 
Steven Haigh

Email: [log in to unmask]
Web: https://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897
Fax: (03) 8338 0299

ATOM RSS1 RSS2