robotology-legacy / codyco-superbuild

Software repository for FP7 project CoDyCo - Whole-body Compliant Dynamical Contacts in Cognitive Humanoids - http://www.codyco.eu
13 stars 17 forks source link

Repositories are not being pulled from the branch specified in ProjectsTags.cmake #42

Closed jeljaik closed 6 years ago

jeljaik commented 10 years ago

When you switch to the branch new_wbi_ID in codyco-supebuild for example, if you wanna get certain repositories from their new_wbi_ID branch, you're supposed to define a tag in ProjectsTags.cmake as set(wholeBodyInterface_TAG new_wbi_ID). What I expect is that after making these changes, doing make update-all will pull all these repos from their new_wbi_ID branch. However, this is not the case. They are all pulled from their master branch and then you're forced to switch branch in each repository independently.

francesco-romano commented 10 years ago

I had the same problem. My solution was to either:

I don't know if this is an issue of ycm or it is related to our project. cc @drdanz

drdanz commented 10 years ago

Changing TAG is a known issue and not easily solved, see http://robotology.github.io/ycm/gh-pages/master/manual/ycm-superbuild.7.html#changing-tag-git-repository-only (hem... just a placeholder :) ) For the walkman project, they have a script that changes all the branchs, you might want to have a look at that

traversaro commented 6 years ago

This is still a major pain point in using the superbuild. The vcstool solved it in case all the subprojects has the same branch in https://github.com/vcstools/wstool/pull/55 . Closing the issue here, but it may be worth to open a corresponding issue in ycm to track it as it is a classical user complaint about the superbuild.