[master][PATCH] Threaded Koji lookup & downloads in makeupdates

Martin Kolman mkolman at redhat.com
Wed Jul 31 19:46:49 UTC 2013


Ive converted the Koji lookups and RPM downloads to run in threads,
one thread per package. Each thread handles both the lookup and package download.
As urlgrabber turned out to be thread-unsafe, I've replaced it with good old urrllib
and got rid of the package download progress reporting.
As the downloads now run in parallel, they finish too quickly for any progress reporting
to be needed.

Martin Kolman (1):
  Threaded Koji RPM lookups and downloads

 scripts/makeupdates | 165 ++++++++++++++++++++++++++++++++++------------------
 1 file changed, 108 insertions(+), 57 deletions(-)

-- 
1.8.3.1



More information about the anaconda-patches mailing list