On Mon, 2010-01-25 at 10:43 +0000, Martyn Welch wrote:
> The Git fetcher currently hardwires the git command to "git". Allow the
> path and any additional wrappers to the Git command to be provided via
> FETCHCMD functionality, as with some of the other fetchers.
> 
> This requires FETCHCMD_svn to be defined in bitbake.conf.

I have to ask why? I suspect this is so you can deal with firewalls? If
thats the case I'd suggest you look at .gitconfig files instead as
they're powerful and don't need custom wrappers to git.

Poky has a function, generate_git_config(e) in
http://git.pokylinux.org/cgit.cgi/poky/tree/meta/classes/base.bbclass
which allows construction of a .gitconfig file from two variables,
GIT_PROXY_IGNORE and GIT_PROXY_COMMAND.

This means you can have servers on both the sides of the firewall and
git can fetch from both.

Cheers,

Richard

_______________________________________________
Bitbake-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bitbake-dev

Reply via email to