Message: previous - next
Month: September 2012

Re: [trinity-devel] Draft for update GIT scripts

From: Slávek Banko <slavek.banko@...>
Date: Fri, 7 Sep 2012 15:52:51 +0200
Dne pá 7. září 2012 Slávek Banko napsal(a):
> I noticed one problem in the script
> switch_all_submodules_to_head_and_clean. If the git folder for module
> is cloned into $top/.git/modules/, such a module is not updated to HEAD
> and submodules are not initialized and updated. Darrell, may be this
> was the problem that you mentioned earlier? Fixed.

In further testing, I found that the last mentioned (and in a updated 
script solved) bug even led to the premature end of the original script. 
I suppose this could be the problem that was encountered by those who 
wanted to use the script. The updated script is on my (not very fast) 
machine faster - about 33% saving.

I noticed that for true remove folders of submodules that are not part of 
the branch, it is necessary to use in clean the 'f' twice. Updated 
scripts attached.

I do not know if the updated scripts are tested also by someone else, but 
I suggest the following: I will put updated scripts into v3.5.13-sru 
branch on meta-project 'tde'. For this branch are necessary because 
support the branches. And if there will be tested and verified, then 
would be included also into the main branch. What is your opinion?