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

[develop2] Discuss special chars +-. in package names #11857

Closed
memsharded opened this issue Aug 12, 2022 · 2 comments
Closed

[develop2] Discuss special chars +-. in package names #11857

memsharded opened this issue Aug 12, 2022 · 2 comments
Assignees
Milestone

Comments

@memsharded
Copy link
Member

I think that as a workaround it might be ok, but the general policy should be to avoid special symbols completely. Because there is a failure mode, if one package is called hello+, and another is hello-, they will conflict and overwrite each other.

Question to discuss with the team, should we further restrict the Conan 2.0 current validation_pattern = re.compile(r"^[a-z0-9_][a-z0-9_+.-]{1,100}$") validation pattern for the package names?

Originally posted by @memsharded in #11826 (review)

@memsharded memsharded added this to the 2.0.0-beta3 milestone Aug 12, 2022
@memsharded
Copy link
Member Author

Lets add a warning at export time, that warns when .-+ is used in other fields rather than version field.

@memsharded
Copy link
Member Author

Closed by #12053, will be in beta.3

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

No branches or pull requests

1 participant