Hi all,
As you may already knew, still not having enough time to work on more
fundamental things, I've create a simple yum plugin[1] which tries to
take advantage of aria2c to provide faster downloads compared to current
URLGrabber. Currently, it is activated for downloading metadata dbs and
RPM packages. For the former, I override yum repo's _retrieveMD()
(calling the original function at the end to make sure that everything
is OK) and for the latter, I use a predownload hook.
First, any comments on the code is highly appreciated, specially as it
is my first serious yum code and it is not very long.
Then, suggestions for future enhancements are very welcome. I'm
specifically interested to be able to download metadata's in parallel,
and also downloading delta rpms. The latter is achievable by overriding
_getFile() when a whole file is going to be downloaded, but I would
prefer to find a solution which let me download multiple delta rpms in
parallel too. BTW, probably I should contact presto's author for this.
Anyway, I'm looking forward for any comments in this regard.
Thanks,
Hedayat
[1]
http://hedayatvk.wordpress.com/2011/05/11/introducing-yum-fast-downloader-plugin/
_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel