Mailinglist Archive: opensuse-factory (341 mails)
| < Previous | Next > |
Re: [opensuse-factory] ZYpp switch to aria2c as default
- From: Dave Plater <dave.plater@xxxxxxxxxxx>
- Date: Fri, 27 Feb 2009 12:04:55 +0200
- Message-id: <49A7BAC7.80704@xxxxxxxxxxx>
Duncan Mac-Vicar P. wrote:
does a very good job of checking file existence on mirrors by itself.
That is as long a http://download.opensuse.org is used and maybe the
easier approach is to rely more on aria2c's reporting. Don't quite know
how the refresh process works though but this is so as far as package
download is concerned.
To shed a bit of light according to
https://bugzilla.novell.com/show_bug.cgi?id=458708#c7 /root/.curlrc
overrides the environment variable and various program options I have
seen override option files and environment variables. i.e. if libzypp
passes an option from its config file it will override all others. Sorry
I can't think of a zypp.conf option to actually test this with.
Regards
Dave P
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
Dave Plater wrote:This doesn't answer your question but aria2c, from what I have observed,
Isn't passing the option the equivalent to a command line option? ThisFor aria, yes. But the ZYpp aria backend is an extension of the curl
would override the environment variable and enable the turning on and
off of proxy use without a logout / login.
Regards
Dave P
backend, and fallbacks to curl for some operations that aria can't do,
like 1 byte range transfer as a hack to check for file existence on
broken ftp servers.
My fear is that for those operations, libcurl could override what
libzypp set using curl_easy_set_opt (command line parameters equivalent)
with the environment variables, thus overriding arias behavior (actually
inverting it) and making the env variable authoritative.
Does anyone know if curl/libcurl override set_opt with env variables? I
can test, but not now ;-)
Duncan
does a very good job of checking file existence on mirrors by itself.
That is as long a http://download.opensuse.org is used and maybe the
easier approach is to rely more on aria2c's reporting. Don't quite know
how the refresh process works though but this is so as far as package
download is concerned.
To shed a bit of light according to
https://bugzilla.novell.com/show_bug.cgi?id=458708#c7 /root/.curlrc
overrides the environment variable and various program options I have
seen override option files and environment variables. i.e. if libzypp
passes an option from its config file it will override all others. Sorry
I can't think of a zypp.conf option to actually test this with.
Regards
Dave P
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
| < Previous | Next > |