[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: yum-deltarpm (Was Thread Hijack - Our package management GUI tools need improvement)



On Fri, 2007-03-09 at 20:01 -0500, Warren Togami wrote:
> 1) Client wants to upgrade from foo-3.2-1 to foo-3.2-2 (Transition X)
> 2) Client metadata sees that Transition X has a drpm available (from 
> metadata or something).
At the moment, it checks to see if a drpm is available from your
deltarpm url that matches a filename.  If the file doesn't exist, then
there is no drpm for this particular update.  I could code in a way of
using metadata rather than filename checking, if that's what's
preferred.  Are we talking a yum-style xml file?
> 3) Client checks using rpm -V (or more likely the rpm API equivalent) to 
> see if the local files are intact.  This step is a little time 
> consuming, but it is worthwhile because we know that a drpm is available 
> above the defined efficiency threshold.
Should be easy to implement, and, yes, would be very important.  FYI,
the current efficiency threshold is 50%.  It is very easy to adjust this
level.
> 4) All files are intact, except some files in /etc marked %config are 
> changed.  This is OK.
Yes.  Deltarpm stores %config files in the drpm no matter whether
they've changed or not.
> 5) drpm contains %config file data even if they did not change in 
> Transition X.  This allows reconstruction of the original foo-3.2-2 RPM 
> even if the local %config files are modified.
> 
> deltarpm needs to put data within the drpm that is likely to change on 
> the local systems.  This includes %config, but possibly other things 
> like /var.  We can craft this predefined list to whatever our research 
> finds is necessary.
As far as I know, deltarpm doesn't have a way for the user to choose
which files *must* get stored in the drpm.   
> 
> Warren Togami
> wtogami redhat com
> 
Jonathan

Attachment: signature.asc
Description: This is a digitally signed message part


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]