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

wasmer login does not respect the registry.url config #3959

Closed
ayys opened this issue Jun 6, 2023 · 0 comments · Fixed by #4013
Closed

wasmer login does not respect the registry.url config #3959

ayys opened this issue Jun 6, 2023 · 0 comments · Fixed by #4013
Labels
priority-medium Medium priority issue

Comments

@ayys
Copy link
Member

ayys commented Jun 6, 2023

Describe the bug

When running wasmer login, I always get the wapm.io settings page URL, even when I have changed the registry.

$ wasmer -vV; rustc -vV

wasmer 4.0.0-beta.1 (b45f9a5 2023-06-01)
binary: wasmer-cli
commit-hash: b45f9a51845ed3ea55b61ef8774f7410ac4904f9
commit-date: 2023-06-01
host: aarch64-apple-darwin
compiler: singlepass,cranelift
rustc 1.70.0 (90c541806 2023-05-31)
binary: rustc
commit-hash: 90c541806f23a127002de5b4038be731ba1458ca
commit-date: 2023-05-31
host: aarch64-apple-darwin
release: 1.70.0
LLVM version: 16.0.2

Steps to reproduce

$ wasmer config get registry.url
https://registry.wasmer.wtf/graphql

$ wasmer login
Please paste the login token from https://wapm.io/settings/access-tokens:

Expected behavior

I expect the URL in wasmer-login to be https://wasmer.wtf/settings/access-tokens

Actual behavior

I get the URL to wapm.io.

I think https://github.com/wasmerio/wasmer/blob/master/lib/cli/src/commands/login.rs#LL10C1-L10C45 this could be the reason for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-medium Medium priority issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants