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 partial manifest fields #4630

Merged
merged 4 commits into from
Apr 30, 2024
Merged

Conversation

xdoardo
Copy link
Contributor

@xdoardo xdoardo commented Apr 30, 2024

This PR makes the name, version and description fields of the Package type in wasmer_config optional and deals with the cascading changes. This PR tackles #4626 and opens the way for #4621 and #4612.

This commit makes some fields of the `wasmer_config::package::Package`
type non mandatory. In particular, `name`, `version` and `description`
aren't mandatory anymore. This introduces *two ways* to describe unnamed
packages - no `package` section in the manifest and `package` section
with no `name` field in it, and a third kind of package in the package
taxonomy, which I deliberately name, here _unversioned packages_, that
is packages with a `name` (and any other field) but no `version`.
@xdoardo xdoardo requested a review from syrusakbary as a code owner April 30, 2024 07:03
@xdoardo xdoardo merged commit 9d127f9 into main Apr 30, 2024
61 checks passed
@xdoardo xdoardo deleted the 4626-partial-package-in-manifest branch April 30, 2024 13:36
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