[Yum-devel] External downloader

Zdeněk Pavlas zpavlas at redhat.com
Mon Nov 7 10:55:07 UTC 2011


Hi,

This is the current parallel downloader patchset, with some
of the changes James suggested merged in.  I'd be very thankfull
for any comments.

Zdenek

[PATCH 02/10] Implement 'failfunc' callback.
[PATCH 03/10] Obsolete the _make_callback() method

New, somewhat simpler implementation using the default failfunc.
MG now removes the callback before passing request to urlgrabber.
_callback renamed to _run_callback.

[PATCH 04/10] Implement parallel urlgrab()s
[PATCH 05/10] Reuse curl objects (per host)

Some small implementation changes.  MirrorGroup: max_connections
moved from the mirror object to 'kwarg' hash and documented.
Curl object reuse to enable connection keepalives.

[PATCH 06/10] _dumps + _loads: custom serializer/parser
[PATCH 07/10] Downloader process
[PATCH 08/10] External downloading

New builtin serializer instead of the simplejson one.
_readlines() function to read from the pipe.

[PATCH 09/10] Improve ctrl-c handling
[PATCH 10/10] Optional/throttled progress reporting

Make ctrl-c response less ugly, reduce IPC.


More information about the Yum-devel mailing list