[Yum-devel] Yum patchset to use the latest urlgrabber features

Zdeněk Pavlas zpavlas at redhat.com
Fri Jan 27 12:30:02 UTC 2012


[PATCH 1/6] add 'max_connections' and 'async' options

This adds the global 'max_connections' option, and a repo
option 'async', defaulting to True.  Setting 'async=False'
disables parallel downloading for that repo only.

[PATCH 2/6] getPackage, _getFile: kwargs pass-through
[PATCH 3/6] downloadPkgs: add the 'success' code path to checkfunc
[PATCH 4/6] downloadPkgs: use parallel downloader

This is probably the least intrusive way to support
the urlgrabber's async API.

[PATCH 5/6] add prefix '(%s/%s): ' to blocking urlgrabs only
[PATCH 6/6] enable timedhosts

These are needed to work correctly with multi progress meter,
and to enable the gathering and use of host download stats.


More information about the Yum-devel mailing list