On Tue, 2012-06-05 at 10:03 -0400, Zdenek Pavlas wrote: > This is very similar to what we do in YumBase.downloadPkgs(). > > If urlgrabber supports parallel downloading and we have compatible > Yum and repo._getFile(), just add async and failfunc arguments. > > As _getFile(async=True) returns *before* the file is downloaded, > most of the post-processing was being moved to checkfunc. > Error handling is duplicated in failfunc, because we can delay > a callback, but not raising an exception. > > To make this work, recent builds if yum and urlgrabber are needed > http://lists.fedoraproject.org/pipermail/devel/2012-May/167122.html > but we are still compatible with the old Yum, too.
ACK. But the giant win will be if we can integrate drpm downloads/builds with rpm downloads. _______________________________________________ Yum-devel mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/yum-devel
