yum from cron setting http_proxy

seth vidal skvidal at phy.duke.edu
Thu Jul 15 01:27:39 UTC 2004


On Wed, 2004-07-14 at 22:55 +0200, Enrico Scholz wrote:
> skvidal at phy.duke.edu (seth vidal) writes:
> 
> >> >> But be warned; yum's proxy support is not complete as it does not
> >> >> support $no_proxy.
> >> > ...
> >> > http_proxy is not a function of yum it is done via urllib in python.
> >> 
> >> I know; every python application will have to implement its own methods
> >> for proxy-handling. A major flaw in the python HTTP classes.
> >
> > The proxy handling in yum-HEAD is much improved for setting proxy
> > options. It is set per-repository stanza so you don't have one global,
> > clumsy proxy variable to work with.
> 
> Mmmh, please do not invent yet-another method for setting up the
> proxy. $*_proxy and $no_proxy environment variables are already
> supported by the most applications and are handling 98% of all
> practical cases.

There is no way to set a proxy for multiple repositories when you have
different urls in the list of baseurls.


-sv






More information about the fedora-devel-list mailing list