Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid conan scm URL? #32

Open
msteinsto opened this issue Feb 2, 2022 · 1 comment
Open

Invalid conan scm URL? #32

msteinsto opened this issue Feb 2, 2022 · 1 comment

Comments

@msteinsto
Copy link

msteinsto commented Feb 2, 2022

The scm url field in conanfile.py is set to: "url": "[email protected]: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 "[email protected]: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
Copy link
Member

restenb commented Feb 2, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants