conan icon indicating copy to clipboard operation
conan copied to clipboard

[develop2][feature] Do not allow component names with special characters

Open memsharded opened this issue 3 years ago • 1 comments

Because they will be translated to file names, variable names, etc in build system scripts created by generators, and many of those will fail, or will need to do unexpected replacements to avoid failing.

memsharded avatar Sep 09 '22 10:09 memsharded

I am checking in conan-center there are tons of components with -, +, and a mixture of lowercase and uppercase. Probably too much to require at this stage, and we just need to make sure robust replacements in generators.

memsharded avatar Sep 09 '22 10:09 memsharded

Lets rely on the generators, if anything we want to restrict gradually in 2.X the components names, for simplicity.

memsharded avatar Oct 07 '22 10:10 memsharded