ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
3

wstool user and password

asked 2015-07-09 11:07:49 -0600

I want to use wstool on private git repos. But for some reasons (shared computer), I have to clone over HTTPS. It is quite annoying to type my username and password everytime I do wstool up. Is there anyway I can type it only once evertyime I want to update repos?

Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
4

answered 2015-07-09 15:58:35 -0600

William gravatar image

You can use the ssh version of the git url in your rosinstall file, for example https://github.com/wjwwood/serial.git would become git@github.com:wjwwood/serial.git. This will use your ssh keys. If you're on a shared computer and can't put your ssh keys on it (which is what you've described) then you can use git-credential cache to "save" your user name and password for a short time:

http://git-scm.com/docs/git-credentia...

wstool does not store your password or ask for it on principal to avoid any security concerns. You can also setup a .netrc file, but that's not generally a good idea, especially on a shared computer, since it stores your password in plain text.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-07-09 11:07:49 -0600

Seen: 1,435 times

Last updated: Jul 09 '15