-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Adding an option for not adding the default Conan remotes #148
Comments
The current default works for most of the users. We can add an option that skips the addition of the remotes. |
Something I forgot to mention is that bincrafters recipes seem to be slowing down quite a bit. This could mean that, once Conan V2 is released, many recipes can stop working all together. As the officially mantained ones are from the Conan Center Index, I would add that remote by default (maybe add an option, but most users use this remote) and just not add the bincrafters at all. |
To me the problem is really that it uses a different name that the conan default, so basically it renames project_options/src/Conan.cmake Lines 23 to 29 in 53eb453
This is the conan default: CONAN_CENTER_REMOTE_NAME = "conancenter" |
Fixed in #185 |
Currently, the conan section forces the addition of both the conan-center-index and bincrafters remotes by default. Even though the comments state that we can remove remotes, I can't figure out how to do it without calling conan through
add_custom_command
or something like that.The thing with adding bincrafters by default is that it sometimes complains about some env variables not defined. For that reason, and the fact that not everybody is going to use dependencies from the bincrafters remote, I propose to remove its addition and let the users decide whether they want to add it or not. Maybe a wrapper around
conan_add_remote
could be added to ease the job for users.Upvote & Fund
@aminya is using Polar.sh so you can upvote and help fund this issue. The funding is received once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog!
The text was updated successfully, but these errors were encountered: