[OE-core] [PATCH] RFC - combo layer repo tool
Koen Kooi
koen at dominion.thruhere.net
Mon Jun 13 15:47:34 UTC 2011
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.
More information about the Openembedded-core
mailing list