| Submitter | Darren Hart |
|---|---|
| Date | Feb. 5, 2013, 10:52 p.m. |
| Message ID | <cover.1360104547.git.dvhart@linux.intel.com> |
| Download | mbox |
| Permalink | /patch/44167/ |
| State | New |
| Headers | show
Delivered-To: oepatches@gmail.com Received: from pop.gmail.com by opal with POP3 (fetchmail-6.3.9-rc2) for <kraj@localhost> (single-drop); Tue, 05 Feb 2013 22:53:13 +0000 (UTC) Received: by 10.180.7.132 with SMTP id j4csp96668wia; Tue, 5 Feb 2013 14:52:32 -0800 (PST) X-Received: by 10.152.147.36 with SMTP id th4mr24742267lab.19.1360104751020; Tue, 05 Feb 2013 14:52:31 -0800 (PST) Return-Path: <openembedded-core-bounces@lists.openembedded.org> Received: from linuxtogo.org (linuxtogo.org. [188.40.83.200]) by mx.google.com with ESMTPS id g6si9582950lbp.124.2013.02.05.14.52.20 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 05 Feb 2013 14:52:30 -0800 (PST) Received-SPF: neutral (google.com: 188.40.83.200 is neither permitted nor denied by best guess record for domain of openembedded-core-bounces@lists.openembedded.org) client-ip=188.40.83.200; Authentication-Results: mx.google.com; spf=neutral (google.com: 188.40.83.200 is neither permitted nor denied by best guess record for domain of openembedded-core-bounces@lists.openembedded.org) smtp.mail=openembedded-core-bounces@lists.openembedded.org Received: from localhost ([127.0.0.1]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from <openembedded-core-bounces@lists.openembedded.org>) id 1U2rbe-0004yG-J8; Wed, 06 Feb 2013 00:07:17 +0100 Received: from mga02.intel.com ([134.134.136.20]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from <dvhart@linux.intel.com>) id 1U2rbV-0004vf-8O for openembedded-core@lists.openembedded.org; Wed, 06 Feb 2013 00:07:05 +0100 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 05 Feb 2013 14:51:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.84,610,1355126400"; d="scan'208";a="281408754" Received: from fear.jf.intel.com (HELO rage.local) ([10.7.201.160]) by orsmga002.jf.intel.com with ESMTP; 05 Feb 2013 14:51:13 -0800 From: Darren Hart <dvhart@linux.intel.com> To: Poky <poky@yoctoproject.org>, openembedded-core@lists.openembedded.org, Richard Purdie <richard.purdie@linuxfoundation.org> Date: Tue, 5 Feb 2013 14:52:42 -0800 Message-Id: <cover.1360104547.git.dvhart@linux.intel.com> X-Mailer: git-send-email 1.7.5.4 Cc: Darren Hart <dvhart@linux.intel.com> Subject: [OE-core] [PATCH V2 0/9] Git fetcher and proxy handling updates 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 <openembedded-core.lists.openembedded.org> List-Unsubscribe: <http://lists.linuxtogo.org/cgi-bin/mailman/options/openembedded-core>, <mailto:openembedded-core-request@lists.openembedded.org?subject=unsubscribe> List-Archive: <http://lists.linuxtogo.org/pipermail/openembedded-core> List-Post: <mailto:openembedded-core@lists.openembedded.org> List-Help: <mailto:openembedded-core-request@lists.openembedded.org?subject=help> List-Subscribe: <http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core>, <mailto:openembedded-core-request@lists.openembedded.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org |
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 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 and CC'ing bitbake-devel as appropriate. 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 The following changes since commit 7e9cb437b1b720e656f4a33f73c07c5dc7356a2c: dropbear: fix RPROVIDES (2013-02-04 23:31:02 +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 (9): bitbake: fetch2: Print the complete SRCREV variable name when INVALID bitbake: fetch2: Export upper and lower case environment variables bitbake: fetch2: Remove broken git variables from the environment 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 bitbake/lib/bb/fetch2/__init__.py | 22 +- meta-yocto/conf/site.conf.sample | 35 +- meta/classes/base.bbclass | 21 - scripts/oe-buildenv-internal | 2 +- scripts/oe-git-proxy | 124 ++ scripts/oe-git-proxy-command | 10 - scripts/oe-git-proxy-socks-command | 23 - scripts/oe-git-proxy-socks.c | 2982 ------------------------------------ 8 files changed, 149 insertions(+), 3070 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