On Sunday 02 of September 2012 18:51:14 Darrell Anderson wrote:
* Do these changes improve the speed of updating a
local repository?
Updating my local repository takes a long time.
I expect performance benefit in script update_all_submodules, through reduced
calls submodule init and update. But that is not for normal users. In all
scripts some performance benefits can bring a reduction of calls reset,
clean, commit, and push. But I did not carry out any measurements.
* Do these changes improve anonymous connections? Some
time ago this was
discussed because many people were havng problems connecting anonymously to
maintain a local repository.
switch_all_submodules_to_head_and_clean script would probably not have a
problem with access as anonymous user. If the proposed automatic detection
gituser will suit everyone, it could be a question to gituser from scripts
abolished entirely.
* In light of my recent post about supporting a point
release schedule, how
do these changes support several branches, such as a development branch, a
stable branch, and past release branches? I have not tried building
3.5.13.1 packages from GIT and am naive about how multiple branches works.
Support for branches and easily switch between them was the main reason for me
to modify the scripts. I have made modifications general - scripts are
independent on the branch. Once the preparatory v3.5.13-sru branch on the
meta-project 'tde' will suffice:
git checkout v3.5.13-sru && switch_all_submodules_to_head_and_clean
Instead of v3.5.13-sru will then be possible to enter the name of any branch -
for example master ;)
Darrell
Slavek
--