Subject: Re: [boost] [git] How the blazes are you supposed to update all the submodules?
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2013-12-19 17:14:34
On Dec 19, 2013 3:01 PM, "Bjørn Roald" <bjorn_at_[hidden]> wrote:
> On 12/19/2013 02:00 PM, John Maddock wrote:
>> OK.... so I do a
>> Git pull
>> at the top level (note: using TortoiseGit), and I see lots of messages
>> in the log indicating which libraries have updates, and judging by the
>> time taken they seem to be downloaded (?), but I don't actually see any
>> changes in the libraries themselves.
>> BTW I have every library set explicitly to either "develop" or "master".
>> If I do a "git pull" on an individual library then the changes do come
>> through OK.
>> So what's the right way to do this? I assume it's not a "submodule
>> update" as that seems to leave everything in a detached head state which
>> I take it is a bad idea?
>> I'm also seeing a lot of negative comments about Git submodules on the
>> web, for example:
>> seems like there's a lot of potential to shoot yourself in the
>> foot/head/chest here?
> I don't think it is hard to agree that git submodule it not a perfect
tool, but which available alternative is perfect?
> I have the feeling it is because it is not as simple of a problem as it
seems at first and it has taken a long time for the tools to mature to
current level. Hopefully there are still potential for improvements.
> I have seen naive attempts to do what submodule attempts to do, "the
right way", that has failed completely in improving the overall situation.
Champions of such attempts often get too much invested interest in their
solution to admit its failure. If I should suggest something it would be to
use submodules but provide firm guidelines and/or scripts help the
developers with simple ways to do it right and avoid the pitfalls.
No amount of scripting is going yo help those of us not wanting to use the
git cli. And this is something I mentioned early on. If something past
basic git functionality is needed as a regular course of use the move to
git will fail.
I saw an article some time ago about a git feature that should be used
instead of sub modules.. but I can't find it right now. Perhaps someone can
find that alternative arrangement?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk