-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday, 2009-01-04 at 11:52 -0300, Cristian Rodríguez wrote:
Carlos E. R. escribió: Per Cristian's comment, you can configure the
downloading behaviour in /root/.curlrc, but this is not even mentioned in zypper's man page.
It is documented where it should , "man curl", zypper use libzypp that itself uses libcurl to access some remote resources like http and ftp, at startup, libcurl parses ~/.curlrc.
So, this is neither a zypper nor libzypp feature, but a curl one :-)
A fact that you know because you are a dev, but not because you read it in the documentation. Zypper(8) doesn't mention that it uses libcurl to do the downloading, and even if we know that it does, there is no indication that it will read root's configuration file for curl, because normally a program reads configurations, and libraries are given the configuration by the caller program via function calls, I would assume. So no, this should be documented in zypper(8), not forgetting specifying whether it will accept all the configuration options in root's config file, or a subset. It is wrong to assume that even expert users will know all those details of a program, use their programs to their full potential, and be able to solve all problems in the manner designed by the designers. Devs know much more, its their job. And usually, devs are bad at documenting what they do. (and I'm not aiming this at you personally, mind, this is general) And, as has been commented that zypper now uses or will use aria2c or metalinks libs to do the downloading, I'm not sure if zypper in 11.1 still uses curl or not. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAklg4k0ACgkQtTMYHG2NR9X+wgCggae/er5obkwhEpPU5Mpe4fo9 IrkAn2y38V2F+5fbhea3eJX6FTeT8/ui =s6uM -----END PGP SIGNATURE-----