Stream: warg

Topic: Namespacing


view this post on Zulip Lann Martin (May 17 2023 at 19:02):

My proposal from ~3 months ago: https://hackmd.io/zHSVve8XQhyoZe8bpTqS8w

or

view this post on Zulip Michael Ball (May 18 2023 at 14:05):

Name squatting is definitely something I'd like to see addressed. I like the idea of some sort of user name spacing as a default... perhaps including the where the repo is located say github.com/userxyz123example. I was also thinking that to be promoted to a top level name, the package reaches some threshold of community usage/dependence.

view this post on Zulip Kristopher Wuollett (May 18 2023 at 17:34):

Something like how Go's packages work?

view this post on Zulip Lann Martin (May 18 2023 at 18:01):

Yeah, the proposal above addresses that in the last section: https://hackmd.io/zHSVve8XQhyoZe8bpTqS8w#Domain-names

or

view this post on Zulip Lann Martin (May 18 2023 at 18:01):

We would also reserve at least the wasi namespace on a BCA-operated registry

view this post on Zulip Lann Martin (May 18 2023 at 18:05):

Hmm... with the changes in https://github.com/WebAssembly/component-model/pull/198 we would have to do something like github-com-userxyz123example

This is an update to WIT.md and a minor update to Binary.md to reflect the changes discussed in #193. Lots more discussion is in the issue, and a summary of the changes is: WIT use statements are ...

view this post on Zulip Lann Martin (May 18 2023 at 18:09):

or just github-userxyz123example since code forges need integration work anyway

view this post on Zulip Lann Martin (May 18 2023 at 18:10):

that would still leave a gap for domain-based namespaces; example-com is fine but you'd have to be careful to prevent collisions with e.g. github.xyz -> github-xyz vs github.com/xyz -> github-xyz


Last updated: Dec 23 2024 at 13:07 UTC