[Yum-devel] [PATCH] Use TextMultiFileMeter as multi_obj

Zdenek Pavlas zpavlas at redhat.com
Tue Aug 21 08:15:27 UTC 2012


>  This seems fine, although when I tried putting multifile logic just
> inside yum all I seemed to need to do is call newMeter() before the
> grab (no urlgrabber changes).

I see, you did most of the work outside of the urlgrabber,
including multi.start(), and creating the multi-helper objects
for each file.

I want users of parallel_wait() to have to do as little
setup as possible, so all of this is in parallel_wait().

> + remote_pkgs[0].repo.multi_callback.start(len(remote_pkgs),
> +                                          remote_size)
> ...what is doing this bit in your two patches?

That's the loop at the beginning of parallel_wait().


More information about the Yum-devel mailing list