Richard Purdie wrote:
> 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
Yes, it's for firewalls. We have the Dante client already set up, which
if I understand correctly provides an equivalent to the method you
suggest. The advantage we see in this approach is that the Dante client
can be used for all the fetchers and is not specific to git.

Martyn

-- 
Martyn Welch (Principal Software Engineer)   |   Registered in England and
GE Intelligent Platforms                     |   Wales (3828642) at 100
T +44(0)127322748                            |   Barbirolli Square, Manchester,
E [email protected]                        |   M2 3AB  VAT:GB 927559189

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

Reply via email to