Re: [PATCH] Fix for bug #572 and bz#666435 - cobbler get-loaders ignores proxy setting

2011-01-01 Thread Scott Henson
On Fri, 31 Dec 2010 17:42:21 -0200, Marcelo Moreira de Mello wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hello Scott, > > Looking the yum source code, we can verify that for some actions, yum uses > urlgrabber > May I re-write the functionality using urllib2? > I was thin

Re: [PATCH] Fix for bug #572 and bz#666435 - cobbler get-loaders ignores proxy setting

2010-12-31 Thread Marcelo Moreira de Mello
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Scott, Looking the yum source code, we can verify that for some actions, yum uses urlgrabber $ vim yum/yumRepo.py 1548 def _getMirrorList(self): 1549 """retrieve an up2date-style mirrorlist file from our mirrorlist url, 155

Re: [PATCH] Fix for bug #572 and bz#666435 - cobbler get-loaders ignores proxy setting

2010-12-31 Thread Scott Henson
On Fri, 31 Dec 2010 15:02:01 -0200, Marcelo Moreira de Mello wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Patch for cobbler to honor HTTP_PROXY and FTP_PROXY variables environment. > I believe urllib2 or whatever yum uses respects these by default. Maybe we should look into u

[PATCH] Fix for bug #572 and bz#666435 - cobbler get-loaders ignores proxy setting

2010-12-31 Thread Marcelo Moreira de Mello
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Patch for cobbler to honor HTTP_PROXY and FTP_PROXY variables environment. Thank you. - -- Marcelo Moreira de Mello RHCA RHCSS RHCVA Software Maintenance Engineer http://people.redhat.com/mdemello Mobile: +55 11 9321-0854 gpg i