open-simulation-platform / libcosimc

OSP C co-simulation API
Mozilla Public License 2.0
12 stars 2 forks source link

Invalid conan scm URL? #32

Open msteinsto opened 2 years ago

msteinsto commented 2 years ago

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.

restenb commented 2 years ago

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 autoif that works. SSH should not be required for checkout.