[Yum] yum & proxy, patch

Michael Stenner mstenner at ece.arizona.edu
Tue Apr 13 15:40:44 UTC 2004

On Tue, Apr 13, 2004 at 09:33:41AM +0200, Arnaud Abelard wrote:
> I needed to use yum from a script and i didn't like the idea of having to 
> set the variable http_proxy for that.
> I modified yum so i could use 2 new configuration variables in yum.conf:
> http_proxy and ftp_proxy, it's a simple modification (4 lines in config.py, 
> 1 un yummain.py and a few in urlgrabber.py).
> I was wondering why Seth didn't add this feature before? I remember reading 
> something about proxy problems in some version of python...

I'm not sure anyone has ever requested it before :)  Not of the
developers really use proxies, so lacking personal investment and
requests... :)

> Seth, are you interested in these modifications?

Short answer: not really.  The reason is that proxies are handled
differently in the new (HEAD) version of yum.  This interface will
probably be much more like what you're suggesting.  We're trying to
not change too much in 2.0.X at the moment.  I could be persuaded
otherwise, but I'm pretty sure Seth is going to agree with me on this

  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 mailing list