hansonrobotics / hrtool

Hanson Robotics Software Management Tool
4 stars 3 forks source link

Unable to update #8

Open henrikldev opened 6 years ago

henrikldev commented 6 years ago

Not sure why github token isn't working. Unable to enter credentials manually - password is interpreted as a username

$ hr update head
[INFO] Updating HEAD source code
Username for 'https://github.com': [INFO] Fetching [hansonrobotics/chatbot]
[INFO] Fetching [hansonrobotics/blender_api]
[INFO] Fetching [hansonrobotics/basic_head_api]
[INFO] Fetching [hansonrobotics/blender_api_msgs]
[INFO] Fetching [hansonrobotics/motors_safety]
[INFO] Fetching [hansonrobotics/pau2motors]
[INFO] Fetching [hansonrobotics/pi_vision]
[INFO] Fetching [hansonrobotics/ros_tts]
[INFO] Fetching [hansonrobotics/ros_pololu]
[INFO] Fetching [hansonrobotics/webui]
[INFO] Fetching [hansonrobotics/perception]
[INFO] Fetching [hansonrobotics/performances]
Username for 'https://github.com': [INFO] Fetching [hansonrobotics/ttsserver]
[INFO] Fetching [hansonrobotics/hr_reflexes]
[INFO] Fetching [hansonrobotics/ros_face_recognition]
[INFO] Fetching [hansonrobotics/hr_msgs]
[INFO] Fetching [hansonrobotics/r2_perception]
[INFO] Fetching [hansonrobotics/launchpad]
Username for 'https://github.com': Username for 'https://github.com': Username for 'https://github.com': Username for 'https://github.com': [INFO] Fetching [hansonrobotics/ros_misc]
Username for 'https://github.com': Username for 'https://github.com': username
Password for 'https://username@github.com': Password for 'https://password@github.com': 
wenwei-dev commented 6 years ago

Yeah, this is an unknown issue with https. It's because we are running the fetch in parallel.

If you have setup ssh key on github, you can try command to switch the protocol to ssh. hr cmd use_git_ssh.

On Wed, Oct 18, 2017 at 10:25 AM, Henrikas Elsbergas < notifications@github.com> wrote:

I think we need to update repository origins to use ssh instead of ssh.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hansonrobotics/hrtool/issues/8#issuecomment-337441632, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhJ90C7LwBDLK-bA7gIuy-suhOdCQ-Eks5stWF9gaJpZM4P9Bo9 .

wenwei-dev commented 6 years ago

2dfd3af3862ffbe9e5f0c06acc7f1c0c1aef13cf and c2c93d538a8fa72859616c374c68ee34582c7e8b Should fix it

henrik0hr commented 6 years ago

The issue still remains. Would it be possible to get rid of using https and developer keys completely? It seems to be a security vulnerability at the moment.