wstool path checks not username-independent

asked 2017-11-06 11:32:27 -0600

ivaughn gravatar image

We're using wstool to manage multiple packages / repositories for a ROS project with many users. Git seems to be adding usernames to package URLs, which breaks wstool's comparison between the path specified in the .rosinstall file and the path of the repository.

For example, suppose we have a .rosinstall file that specifies a git repository at https://bitbucket.org/projectname/pac... . Everything will check out just fine, but eventually the remote name (check with git remote -v) becomes: https://myusername@bitbucket.org/proj...

Theoretically one could include the username in the .rosinstall file, but that defeats the purpose of having a standardized install file any user can use.

Does anyone have any thoughts on a solution? Thanks!

edit retag flag offensive close merge delete

Comments

but eventually the remote name [..] becomes

That is not something that wstool does afaik.

Does anyone have any thoughts on a solution?

Not including the myusername@ part? Any reason you include that?

gvdhoorn gravatar image gvdhoorn  ( 2017-11-06 14:36:55 -0600 )edit