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

WNS Migration #120

Open
richburdon opened this issue Dec 20, 2020 · 1 comment
Open

WNS Migration #120

richburdon opened this issue Dec 20, 2020 · 1 comment
Assignees

Comments

@richburdon
Copy link
Member

richburdon commented Dec 20, 2020

TODO(burdon): Link to Ashwin's issue.

Rename

  • @wirelineio/registry-client => @dxos/registry-client
  • @dxos/cli-wns => @dxos/cli-registry
  • WNS => registry
  • wrn => dxn (variable)
  • xxxWrn => xxx (avoid suffix?)
  • wrnXxx => xxx (avoid prefix?)
  • WIRE_ => DX_ (variables, env)
  • ~/.wire => ~/.dx (config)
  • wire => dx (CLI)
  • services.wns => services.registry (config)

Resource Names

  • wrn://auth/path/sub => dxn://auth:path/usb (const) (e.g., dxn:dxos.org:app/console@alpha:/service-worker.js)
    • NOTE: last slash is required for relative paths to work.
  • Util class to validate (e.g., create, parse, restrict characters).

Misc text

Misc clean-ups

Registry

  • id vs name (with valid character check, global util)
  • record types (e.g., wrn:app)
  • WRN names should not include wrn:// prefix in registry (this is implicit)
  • namespace vs domain vs authority?
  • remove tags (legacy for namespace?) [see CLI]

CLI

  • Normalize deploy/publish/register commands (CLI)
  • Normalize config files
  • Normalize logging (errors, help, verbose, json, "ok", etc.)
  • Consistent use of namespace/tag
@egorgripasov
Copy link
Contributor

From https://github.com/wirelineio/testnet/issues/43

Suggestions:

WIRE => DXOS (pron. "deus")
WUSE => DNOTE (pron. "denote")

WNS => DXR

multicodec?: dx (https://github.com/multiformats/multicodec/blob/master/table.csv)
wrn:// => dx:// 
~/.wire => ~/.dx
> wire => dx

@telackey @ashwinphatak @richburdon @rzadp @alexwykoff
we need to have an answer on names, e.g. if we generally use WIRE -> DXOS or WIRE -> DX

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

No branches or pull requests

5 participants