[Yum-devel] urlgrabber RFE
Michael Stenner
mstenner at linux.duke.edu
Tue Jun 14 17:26:59 UTC 2005
On Tue, Jun 14, 2005 at 06:52:39AM -0700, Panu Matilainen wrote:
> Could we have an option to disable proxies (per repo), overriding any
> http_proxy etc environment variables? Eg "proxy=direct" setting.
> I wouldn't need it if it wasn't for this bug:
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=132477 but as it
> is...
>
> I have http_proxy etc defined in the environment by default so lynx, wget
> and such work, but I *don't* want yum to go through proxies because the
> repositories are local. I don't currently see a way to disable proxies,
> only "not set them" in which case urllib proxy support takes over where I
> don't want it to :-/ Sure I can patch yum locally to unset the proxy
> environment variables to work around this but I'd rather have a cleaner
> way to do it :)
OK. I'll look at this. I didn't think urllib2 did the environment
variable thing, but maybe it does. Modern urlgrabber does not directly
use urllib, but only urllib2. It only uses urllib for a few utility
functions like parsing urls, etc. I need to poke around a bit.
-Michael
P.S. Proxies are the bane of my existence.
--
Michael D. Stenner mstenner at ece.arizona.edu
ECE Department, the University of Arizona 520-626-1619
1230 E. Speedway Blvd., Tucson, AZ 85721-0104 ECE 524G
More information about the Yum-devel
mailing list