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

Jonathan Dieter jdieter at gmail.com
Sat Mar 10 06:41:31 UTC 2007


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 at redhat.com
> 
Jonathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20070310/9f29563c/attachment.sig>


More information about the fedora-devel-list mailing list