From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com ([134.134.136.24]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1U3wdo-00012R-Ib for openembedded-core@lists.openembedded.org; Fri, 08 Feb 2013 23:41:57 +0100 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 08 Feb 2013 14:24:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.84,632,1355126400"; d="scan'208";a="259980211" Received: from fear.jf.intel.com (HELO rage.local) ([10.7.201.160]) by orsmga001.jf.intel.com with ESMTP; 08 Feb 2013 14:26:01 -0800 From: Darren Hart To: Poky , openembedded-core@lists.openembedded.org, Richard Purdie Date: Fri, 8 Feb 2013 14:27:18 -0800 Message-Id: X-Mailer: git-send-email 1.7.5.4 Cc: Darren Hart Subject: [PATCH V3 0/7] Git proxy handling updates (now with socat) X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2013 22:41:57 -0000 The current git fetcher environment and proxy handling between bitbake, base.bbclass, and oe-buildenv-internal has become stale and is largely non-functional. The crux of the problem is that GIT_CONFIG is no longer honored by anything other than the git-config command, rendering the GIT_CORE_CONFIG and the assocaited proxy handling routines obsolete. (the bitbake patches have been merged and dropped from this series) The GIT_PROXY_COMMAND, ALL_PROXY, and NO_PROXY environment variables are more than adequate for storing the required information to manage proxies with a git helper script. These patches series aggressively removes the old stuff, fixes up some missing environment settings, and adds a new git proxy handling script. Note: These patches DO NOT address the bitbake gui builder.py references to git proxy settings! I felt this series was best viewed as a whole, so I'm sending it to poky AND oe-core. Anything else seemed too likely to result in confusion, missing context, and lots and lots of redundant discussion. V2: Updates to the new oe-git-proxy script from feedback received Split out meta-yocto changes Split out removal of old scripts Minor commit log corrections V3: Fedora 18 dropped BSD nc support, so add a patch converting oe-git-proxy to use socat which is broadly available. HTTP proxy still remains untested. The following changes since commit 20b4dcace222d6b1d659a8813b4affad075ec0c6: dbus-native: Don't install dbus-launch (2013-02-08 14:50:38 +0000) are available in the git repository at: git://git.yoctoproject.org/poky-contrib dvhart/gitproxy http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=dvhart/gitproxy Darren Hart (7): oe-buildenv-internal: Remove GIT variables from BB_ENV_EXTRAWHITE oe-buildenv-internal: Add upper and lower case proxy vars to BB_ENV_EXTRAWHITE base.bbclass: Remove generate_git_config() oe-git-proxy: Add a new comprehensive git proxy script meta-yocto: Document new oe-git-proxy in site.conf.sample oe-git-proxy*: Remove previous git proxy solutions oe-git-proxy: Use socat instead of BSD nc meta-yocto/conf/site.conf.sample | 35 +- meta/classes/base.bbclass | 21 - scripts/oe-buildenv-internal | 2 +- scripts/oe-git-proxy | 133 ++ scripts/oe-git-proxy-command | 10 - scripts/oe-git-proxy-socks-command | 23 - scripts/oe-git-proxy-socks.c | 2982 ------------------------------------ 7 files changed, 143 insertions(+), 3063 deletions(-) create mode 100755 scripts/oe-git-proxy delete mode 100755 scripts/oe-git-proxy-command delete mode 100755 scripts/oe-git-proxy-socks-command delete mode 100755 scripts/oe-git-proxy-socks.c -- 1.7.5.4