[Yum-devel] [PATCH 5/5] remove the sequence check

James Antill james at fedoraproject.org
Mon Mar 4 21:56:22 UTC 2013


On Mon, 2013-03-04 at 11:16 -0500, Zdenek Pavlas wrote:
> >  Somewhat related ... how hard is it to add the features:
> > 
> > 1. Given a dir of .rpms (not installed), download the new .drpms to
> > get new .rpms (basically the reposync case)?
> 
> This should not be difficult to implement in Yum, basically just
> extend the installed() check, and add another variant of applydeltarpm
> invocation.
> 
> If $repodir/Packages/ is used to look old RPMs up,
> maybe reposync would require no patches at all..

 Cool.

> > 2. Have "downgrade" use drpms to go backwards?
> 
> Should be a one-line "po.state != TS_UPDATE" patch, I assume..
> But we don't have downgrade deltas now.. and F17 prestodelta.xml
> is about 5MB, doubling or tripling that.. would be noticeable.

 Fair enough.

> Downgrades are IMO much less common than upgrades.

 Yeh, it would probably a pretty bad sign if that was not true :).



More information about the Yum-devel mailing list