Out of date: further discussion in https://github.com/bytecodealliance/registry/discussions
This would be the policy for any BCA-operated registry and a suggestion for any other public-good registry.
Exactly one colon (:
) must appear in package names. The part of the package name before the colon is the package's owner namespace.
This form of namespacing is only meaningful for registry policy enforcement; it has no meaning in the Warg protocol. There may be additional outer namespacing by the "owning" registry itself to facilitate federation.
The registry will maintain a table of each namespace's owners, identified by e.g. OIDC subject / issuer. There will be UI for owners to update this list.
If the ownership of a particular namespace is disputed on e.g. trademark grounds, there will need to be manual intervention by registry operators.
If a dispute is resolved by transferring a namespace to a new owner, any existing packages in the namespace would need to be renamed or deleted. We need to think about what kind of intervention should be required for consumers of those packages.
The wasi
namespace is reserved for packages published by the WASI subgroup.
What's in a name(space)?
Two alternatives:
Namespaces can take one of two forms:
example-com:package
)
_bytecodealliance-registry.example.com TXT <random challenge token>
Ex: a code forge namespace with the URL
https://gitfab.com/example
could have the registry namespacegitfab-com-example
.