Skip to contentSkip to conversation

Export additional variables to the fetchers

PATCH Applied Matthew McClintock 2 participants 2 messages Oct 4, 2011 – Oct 5, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Export additional variables to the fetchers

git could need these environment variables when working behind a proxy

---
 lib/bb/fetch2/__init__.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
lib/bb/fetch2/__init__.py +2 -1
index f6fa46c..fb6138b 100644
@@ -385,7 +385,8 @@ def runfetchcmd(cmd, d, quiet = False, cleanup = []):
     exportvars = ['PATH', 'GIT_PROXY_COMMAND', 'GIT_PROXY_HOST',
                   'GIT_PROXY_PORT', 'GIT_CONFIG', 'http_proxy', 'ftp_proxy',
                   'https_proxy', 'no_proxy', 'ALL_PROXY', 'all_proxy',
-                  'SSH_AUTH_SOCK', 'SSH_AGENT_PID', 'HOME']
+                  'SSH_AUTH_SOCK', 'SSH_AGENT_PID', 'HOME',
+                  'GIT_PROXY_IGNORE', 'SOCKS5_USER', 'SOCKS5_PASSWD']
 
     for var in exportvars:
         val = bb.data.getVar(var, d, True)
Signature · 1 line
1.7.6.1
#1 lore raw
Quoted 7 lines · Matthew McClintock

git could need these environment variables when working behind a proxy

---
 lib/bb/fetch2/__init__.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Merged to master, thanks.

Richard