[Yum-devel] urlgrabber RFE

Panu Matilainen pmatilai at laiskiainen.org
Tue Jun 14 14:21:54 UTC 2005


On Tue, 14 Jun 2005, seth vidal wrote:

> On Tue, 2005-06-14 at 06:52 -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 :)
>
> I thought proxy=_none_ worked to disable proxies per-repo.
>
> have you tested that?

Just tried - no, it doesn't override the http_proxy environment :-/

 	- Panu -



More information about the Yum-devel mailing list