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

support dependencies across multiple namespaces in wit and cargo component #275

Closed
wants to merge 4 commits into from

Conversation

macovedj
Copy link
Collaborator

This leverages new changes from warg-client enabling cargo-component and wit to have dependencies across multiple registries/namespaces. The CLIs now take advantage of the namespace mappings that the warg client provides in its local storage.

Worth noting... if a user attempts to depend on a package that doesn't exist in the registry they're using, but does exist in another registry that their registry is aware of, it can provide a hint indicating that the user can update their namespace mappings to enable communication with the proper registry. This use case also required the addition of logic to retry many of the CLI commands after updating local namespace storage with the proper hint, preserving the same user experience that the warg CLI has.

@macovedj
Copy link
Collaborator Author

macovedj commented May 7, 2024

Closing in favor of Calvin's PR including warg changes that should simplify quite a bit

@macovedj macovedj closed this May 7, 2024
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.

1 participant