[Yum-devel] [PATCH] repo.async = 'auto' option
james at fedoraproject.org
Tue Apr 17 14:13:55 UTC 2012
On Tue, 2012-04-17 at 10:04 +0200, Zdeněk Pavlas wrote:
> Make 'async' option 3-state. 'auto' evaluates to '1'
> only in base Yum repository parsed from INI file.
My first instinct is leave it as a boolean and have auto == on.
What is the desired behaviour difference between "on" and "auto" ...
are there any cases where you'd expect users to want to change from
"auto" to "on"?
> \fBasync \fR
> -If set (the default) and urlgrabber supports it, yum will use parallel downloader
> -for packages from this repo.
> +If set and urlgrabber supports it, yum will use parallel downloader for packages
> +and metadata from this repo. Defaults to 'auto' (on for yum repositories only).
Explaining what "yum repositories" means here is going to be
non-trivial, I think. I guess we could say "repos. loaded directly from
a configuration file" or something ... but it might be better to just
say something like "yum will use parallel download, when it can".
AIUI things like repodiff/tmprepo/--repofrompath are all not going to
work, without other patches (which is fine, but means we can't easily
just say not-RHN or something).
More information about the Yum-devel