[PATCH 0/8] Git fetcher and proxy handling updates

Darren Hart
2013-02-05T10:46:21Z

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 fully expect this series to be a bit controversial and that a few iterations
will be required to get it acceptable to everyone.

Finally, 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.

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 (8):
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.sh: Add a new comprehensive git proxy script
git proxy: Document usage of oe-git-proxy.sh and remove alternatives

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-command | 10 -
scripts/oe-git-proxy-socks-command | 23 -
scripts/oe-git-proxy-socks.c | 2982 ------------------------------------
scripts/oe-git-proxy.sh | 125 ++
8 files changed, 150 insertions(+), 3070 deletions(-)
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
create mode 100755 scripts/oe-git-proxy.sh

--
1.7.5.4