[Yum-devel] plugin to order downloads wrt size
Seth Vidal
skvidal at fedoraproject.org
Mon Jun 22 15:51:42 UTC 2009
On Mon, 22 Jun 2009, Rakesh Pandit wrote:
>>> Suggestions and comments for improvement ?
>>
>> 1. dare I ask it - what difference does it make the order the pkgs are
>> downloaded in?
>>
>
> it is useful for people on low bandwidth connections as it makes it
> easier to get packages without having to cut a large download in
> between and having it download all over again.
when you cut a large download yum restarts the download from where it left
off. urlgrabber implemented regets specifically for this purpose.
>
>> 2. implementing your own downloadpkgs and overriding it is completely
>> doomed.
>>
>
> May you suggest another way ? As I mentioned ordering was happening
> between predownload and postdownload hook .. so I could not figure out
> a better way, may you suggest?
>
> Moreover I was also plaining to do a download-by-deps i.e say 'yum
> install foo bar' will download foo and all its deps first and then bar
> and remaining deps for same reason as mention above.
can't you install the downloadonly plugin and run:
yum --downloadonly install foo
then
yum --downloadonly install bar
then
yum install foo bar
and get the same results?
-sv
More information about the Yum-devel
mailing list