>  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..

> 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.
Downgrades are IMO much less common than upgrades.
_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to