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

Move Package Build/Publish Logic to wasmer-registry #3716

Merged
merged 5 commits into from
Mar 28, 2023

Conversation

theduke
Copy link
Contributor

@theduke theduke commented Mar 28, 2023

Moves the code for building and publishing packages from wasmer.toml manifests
from the CLI to the wasmer-registry crate to make the logic reusable.

  • refactor: Move package build + publish logic to registry
  • docs(cli): Fix doc comment on publish command

Copy link
Member

@syrusakbary syrusakbary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me once tests pass. I think we should get also a review from @Michael-F-Bryan prior to merging

theduke added 3 commits March 29, 2023 00:26
Moves the logic for converting a wasmer.toml package file into a tar.gz
and publishing it to the backend into the wasmer_registry crate.
Modify the Wasmer package build logic to allow packages without a
module.

These packages are perfectly valid and useful (pure fs package, module
comes from dependencies, ...)
@theduke theduke requested a review from Michael-F-Bryan March 28, 2023 22:27
@theduke theduke force-pushed the move-publish-to-registry branch from bc65b66 to f39c150 Compare March 28, 2023 22:35
theduke added 2 commits March 29, 2023 00:36
Ignore some tests that are currently failing.

Fixing them is tracked in #3717
@theduke theduke enabled auto-merge (rebase) March 28, 2023 22:45
@syrusakbary syrusakbary disabled auto-merge March 28, 2023 22:49
@syrusakbary syrusakbary merged commit bb9e8b0 into master Mar 28, 2023
@syrusakbary syrusakbary deleted the move-publish-to-registry branch March 28, 2023 22:50
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.

2 participants