Skip to content

Breaking Change: Remove Polywrap Meta Manifest#1432

Merged
dOrgJelli merged 3 commits into
origin-devfrom
remove-polywrap-meta-manifest
Dec 3, 2022
Merged

Breaking Change: Remove Polywrap Meta Manifest#1432
dOrgJelli merged 3 commits into
origin-devfrom
remove-polywrap-meta-manifest

Conversation

@dOrgJelli
Copy link
Copy Markdown
Contributor

@dOrgJelli dOrgJelli commented Nov 21, 2022

Since we do not use the contents of the meta manifest currently in any applications, and we've just added support for arbitrary wrapper resources (see #1430), I think it's best to "trip the fat" and remove this feature that is not being used actively.

Currently wrappers.io uses the name field in the wrap.info manifest, as well as it looks for a README.md file in the artifacts, which is then displays on the website.

TODO:

  • Add CHANGELOG entry
  • Add resources: ./resources to each wasm wrapper template project, and add a ./resources/README.md file within it.

pileks
pileks previously approved these changes Nov 22, 2022
Copy link
Copy Markdown
Contributor

@pileks pileks left a comment

Choose a reason for hiding this comment

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

Fix grammar and 🚢 👍

export function migrate(migrate: OldManifest, logger?: ILogger): NewManifest {
if (migrate.extensions?.meta) {
logger?.warn(
`The Polywarp Meta Manifests has been deprecated for plugin projects.`
Copy link
Copy Markdown
Contributor

@pileks pileks Nov 22, 2022

Choose a reason for hiding this comment

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

See the Grammar comment 👇

export function migrate(migrate: OldManifest, logger?: ILogger): NewManifest {
if (migrate.extensions?.meta) {
logger?.warn(
`The Polywarp Meta Manifests has been deprecated for app projects.`
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The Polywarp Meta Manifest has been deprecated for plugin projects.

Grammar 😁

export function migrate(migrate: OldManifest, logger?: ILogger): NewManifest {
if (migrate.extensions?.meta) {
logger?.warn(
`The Polywarp Meta Manifests has been deprecated, please use the new "resources" field in the Polywrap Manifest.`
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

See Grammar...

@dOrgJelli dOrgJelli merged commit 2aea14e into origin-dev Dec 3, 2022
@dOrgJelli dOrgJelli deleted the remove-polywrap-meta-manifest branch April 10, 2023 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants