-
Notifications
You must be signed in to change notification settings - Fork 365
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
[bug] WARN: Name containing special chars is discouraged 'hello-world' #3329
Comments
Thanks for your comment.
The reason that these names have not been completely banned was to not introduce yet another breaking change in Conan 2.0. But it is ok to discourage and warn against them, because they are quite problematic in many cases. |
Thank you for clarification. Can this explanation be written in docs some way? It's confusing right now. |
Moving this to the docs repo, thanks for the feedback! |
Can this warning be suppressed? |
At the moment it is not possible because this warning is not tagged, but there is a In any case, this warning I'd suggest not silencing it, it would just postpone the problems, it is much better recommended to rename it and get rid of the special char. I have seen a bunch of users being later affected by it later down the road, when other tool doesn't like the special chars in filenames |
We are finally removing this warning in conan-io/conan#15920 for 2.3, there are too many packages in ConanCenter with "-", this would be too much to migrate. |
Environment details
Steps to reproduce
Logs
Note that
hello-world
is valid name according to docsThe text was updated successfully, but these errors were encountered: