[OE-core] [PATCH] RFC - combo layer repo tool

Bruce Ashfield bruce.ashfield at gmail.com
Mon Jun 13 18:15:43 UTC 2011


On Mon, Jun 13, 2011 at 11:47 AM, Koen Kooi <koen at dominion.thruhere.net> wrote:
>
> Op 13 jun 2011, om 17:33 heeft Otavio Salvador het volgende geschreven:
>
>> 2011/6/13 Yu, Ke <ke.yu at intel.com>:
>> ...
>>>    Combo layer tool provides three functionalities:
>>>    - init: when the combo layer repo and component repo is not existed,
>>>      init will "git init" the combo layer repo, and also "git clone" the
>>>      component repo
>>
>> I think it is duplicating many features of git submodule. It seems
>> more logical to put a script above git submodule rather then use a
>> full repository for it.
>>
>> Am I missing anything?
>
> The fact that git submodules:
>
> a) universally suck
> b) behave wildly different between git versions
>
> The first version of the angstrom setup scripts used git submodules, but I quickly found that I as well as my
> coworkers are too stupid to deal with them properly, so we wrote an awk script to manage the layers. It's a red
> flag that only very recent git versions have the 'git clone --recursive' feature. It shows that git developers are either
> really, really disciplined or don't use submodules themselves.

Anyone that knows me, knows that I'd second Koen's description of submodules.
On paper they sounds good, but in practice, you quickly find the issues when
dealing with them. So if there is some duplication with git submodules, I'd see
that as an acceptable trade off if the end result is something manageable.

Cheers,

Bruce

> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"




More information about the Openembedded-core mailing list