[Yum-devel] [PATCH 2/2] background downloading with --downloadonly
James Antill
james.antill at redhat.com
Mon Oct 15 13:41:14 UTC 2012
On Fri, 2012-10-12 at 15:33 +0200, Zdeněk Pavlas wrote:
> - just temp rpm files, no temporary directories
> - 'predownload' hook runs when 'yum.pid' lock is still held
> - 'postdownload' hook is skipped if we run downloadonly
>
> It may be worth to relock after downloading, save partial downloads,
> and run postdownload hooks, not sure.
>
> predownload hooks run when locked, so this does not break presto,
> but drpms download in foreground. Finally a good reason to move
> it to core :)
> ---
> yum/__init__.py | 25 ++++++++++++++++++++++++-
> 1 files changed, 24 insertions(+), 1 deletions(-)
ACK, although didn't you have some code in the previous patch to deal
with when we already have some of the package downloaded?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.baseurl.org/pipermail/yum-devel/attachments/20121015/a20109fa/attachment.asc>
More information about the Yum-devel
mailing list