FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 06-14-2011, 08:01 PM
"Brian C. Lane"
 
Default Use global proxy setting if no repo proxy is set (#712926)

If there is no repo proxy set we should use the global setting.

This fixes a problem for users who only have proxy access to the network
-- previously it was trying to pull .treeinfo directly and timing out
after 7 minutes.
---
pyanaconda/yuminstall.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/yuminstall.py b/pyanaconda/yuminstall.py
index 378d4a1..905e317 100644
--- a/pyanaconda/yuminstall.py
+++ b/pyanaconda/yuminstall.py
@@ -868,7 +868,7 @@ class AnacondaYum(yum.YumBase):
initialRepos = self.repos.repos.values() + extraRepos
for repo in filter(lambda r: r.isEnabled(), initialRepos):
addons = self._getAddons(repo.mirrorlist or repo.baseurl[0],
- repo.proxy_url,
+ repo.proxy_url or self.proxy_url,
repo.sslverify)
for addon in addons:
addonRepo = AnacondaYumRepo(addon[0])
--
1.7.4.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 06-14-2011, 08:01 PM
"Brian C. Lane"
 
Default Use global proxy setting if no repo proxy is set (#712926)

If there is no repo proxy set we should use the global setting.

This fixes a problem for users who only have proxy access to the network
-- previously it was trying to pull .treeinfo directly and timing out
after 7 minutes.
---
pyanaconda/yuminstall.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/yuminstall.py b/pyanaconda/yuminstall.py
index 378d4a1..905e317 100644
--- a/pyanaconda/yuminstall.py
+++ b/pyanaconda/yuminstall.py
@@ -868,7 +868,7 @@ class AnacondaYum(yum.YumBase):
initialRepos = self.repos.repos.values() + extraRepos
for repo in filter(lambda r: r.isEnabled(), initialRepos):
addons = self._getAddons(repo.mirrorlist or repo.baseurl[0],
- repo.proxy_url,
+ repo.proxy_url or self.proxy_url,
repo.sslverify)
for addon in addons:
addonRepo = AnacondaYumRepo(addon[0])
--
1.7.4.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 06-14-2011, 10:24 PM
David Lehman
 
Default Use global proxy setting if no repo proxy is set (#712926)

On Tue, 2011-06-14 at 13:01 -0700, Brian C. Lane wrote:
> If there is no repo proxy set we should use the global setting.
>
> This fixes a problem for users who only have proxy access to the network
> -- previously it was trying to pull .treeinfo directly and timing out
> after 7 minutes.

Seems reasonable to me. Ack.

> ---
> pyanaconda/yuminstall.py | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/pyanaconda/yuminstall.py b/pyanaconda/yuminstall.py
> index 378d4a1..905e317 100644
> --- a/pyanaconda/yuminstall.py
> +++ b/pyanaconda/yuminstall.py
> @@ -868,7 +868,7 @@ class AnacondaYum(yum.YumBase):
> initialRepos = self.repos.repos.values() + extraRepos
> for repo in filter(lambda r: r.isEnabled(), initialRepos):
> addons = self._getAddons(repo.mirrorlist or repo.baseurl[0],
> - repo.proxy_url,
> + repo.proxy_url or self.proxy_url,
> repo.sslverify)
> for addon in addons:
> addonRepo = AnacondaYumRepo(addon[0])


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 08:42 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org