Skip to content

Restrict namespace and package names to lowercase words#338

Merged
lukewagner merged 1 commit intomainfrom
restrict-ns-pkg-names
Apr 16, 2024
Merged

Restrict namespace and package names to lowercase words#338
lukewagner merged 1 commit intomainfrom
restrict-ns-pkg-names

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.

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