trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: February 2012

Re: [trinity-devel] git clone - not cloning contents of submodules (cmake, admin, ...)

From: "David C. Rankin" <drankinatty@...>
Date: Thu, 16 Feb 2012 13:01:51 -0600
On 02/16/2012 12:50 PM, Darrell Anderson wrote:
>>    I don't know if this is the
>> git config for tde or me that is causing the git
>> clone of the tde tree to fail to clone the needed admin,
>> cmake and other
>> submodules when doing a clone of the entire project.
>
> I run a simple shell script to update my local GIT tree. Although originally I manually first created the local tree with the clone option, I wrote my script to perform that same function as well, just in case something awful happened at this end and I needed to start from scratch.
>
> ==============================================================
> GIT_TREE_ROOT="/home/public/builds/slackware/trinity"
> GIT_TREE="zz_src_trinity_git"
> echo "Updating the Trinity GIT tree..."
> CWD=$(pwd)
> if [ -d $GIT_TREE_ROOT/$GIT_TREE ]; then
>    echo "Changing directory to $GIT_TREE_ROOT/$GIT_TREE."
>    cd $GIT_TREE_ROOT/$GIT_TREE
>    sh ./scripts/switch_all_submodules_to_head_and_clean anonymous
> else
>    mkdir -p $GIT_TREE
>    cd $GIT_TREE_ROOT
>    git clone http://scm.trinitydesktop.org/scm/git/tde $GIT_TREE
> fi
> ==============================================================
>
> Darrell
>
>

Thanks Darrell,

   I've been doing it manually. I'll try pulling an anonymous copy and seeing 
if that may be the problem. I don't know. git is Greek to me :)


-- 
David C. Rankin, J.D.,P.E.