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

Restrict namespace and package names to lowercase words #338

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

lukewagner
Copy link
Member

@lukewagner lukewagner commented Apr 10, 2024

This PR implements the restriction discussed in #299. While (with #337) case-insensitive uniqueness does allow a registry of components or WIT packages to lowercase everything without collision, enforcing case-insensitive uniqueness (on publication) may end up requiring non-trivial extra work (e.g., maintaining a whole side index) if the registry is implemented on top of an existing infrastructure (say, an OCI registry). This also avoids some corner cases that will likely turn into incompatibilities in core infrastructure.

@lukewagner lukewagner force-pushed the restrict-ns-pkg-names branch from ef574dd to 5cdf885 Compare April 11, 2024 18:14
@lukewagner lukewagner merged commit 444b0f4 into main Apr 16, 2024
2 checks passed
@lukewagner lukewagner deleted the restrict-ns-pkg-names branch April 16, 2024 15:01
alexcrichton added a commit to alexcrichton/wasm-tools that referenced this pull request Apr 18, 2024
github-merge-queue bot pushed a commit to bytecodealliance/wasm-tools that referenced this pull request Apr 18, 2024
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

Successfully merging this pull request may close these issues.

2 participants