TheHipbot / hermes

Code Repository Manager
Apache License 2.0
4 stars 1 forks source link

Support multiple cloning protocols #6

Closed TheHipbot closed 5 years ago

TheHipbot commented 6 years ago

Hermes assumes that the clone url is using https protocol, but should have support for ssh and probably even http. This protocol should be in the config and set at the remote level. Possibly something like this:

remotes: 
  github.com:
    protocol: ssh
TheHipbot commented 5 years ago

make sure that the urls to repos are ssh://git@ or it won't work. That is until src-d/go-git implements ssh config of git

TheHipbot commented 5 years ago

closed by #24