[Yum-devel] [PATCH] Consistency of proxy handling

Jeremy Katz katzj at redhat.com
Tue Apr 18 15:22:20 UTC 2006

Proxies aren't currently being used for the mirror list (rh#161190).
Also, if you're not using the yum CLI, then you can end up grabbing the
mirror list without the proxy being set up (rh#185309) as they're set up
for the CLI case when setting up progress callbacks.

To try to make things act more consistent, the attached patches change
the proxy dict to be a property so that we can use it without having to
worry about None vs {} in each user.  

In some limited testing, this seems to be working fine.  I'm going to
throw the 2.6.x patch into the Fedora devel tree for more people to try
it out.  If it looks reasonable to folks, I'll go ahead and commit to
both the 2.6 branch and HEAD.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: yum-2.6-proxy.patch
Type: text/x-patch
Size: 4497 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20060418/ab69b7bc/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yum-proxy.patch
Type: text/x-patch
Size: 4445 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20060418/ab69b7bc/attachment-0001.bin 

More information about the Yum-devel mailing list