open-simulation-platform/libcosimc

Invalid conan scm URL?

msteinsto opened this issue · 1 comments

The scm url field in conanfile.py is set to: "url": "git@github.com:open-simulation-platform/libcosimc.git". Conan files relying on the scm url to fetch the package will give the error ERROR: Couldn't checkout SCM: Command 'git -c http.sslVerify=true clone "git@github.com:open-simulation-platform/libcosimc.git". This field is set to "auto" for most other repos. This can be reproduced by using the conan command specified in the cosim-demo-app with --build=missing.

I reproduced it as well. I suspect this will happen if you lack write access to the repo when Conan tries to checkout with the SSH URL. Suggested fix: use the HTTPS url instead, or auto if that works. SSH should not be required for checkout.