[UG] yum, urlgrabber and no_proxy environment?

Brian Long <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
Hello,
I've been poking around trying to get no_proxy working with yum on
Centos 5.2.  It appears this issue was raised 3 years ago in this
thread:
https://lists.dulug.duke.edu/pipermail/yum-devel/2005-June/001274.html

urllib was patched upstream to support no_proxy, but urlgrabber uses
urllib2 and I have not yet found a patch for it or urlgrabber to fully
support no_proxy.

I just came across a recent thread from Oct. 2008[1] that seems to say
no_proxy is still not supported by yum / urlgrabber.  What is the proper
way to disable proxies per repo if I cannot disable per domain using the
no_proxy environment variable?

The 2005 thread mentions setting "proxy=_none_" per repo to get around
the problem but this does not work in v3.2.8.

Any other ideas would be greatly appreciated.  Thank you.

/Brian/

1. http://www.redhat.com/archives/rhl-devel-list/2008-October/msg00307.html
-- 
       Brian Long                             |       |
                                          . | | | . | | | .
                                              '       '
                                              C I S C O
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.