Skip to content

Plugin manifests does not enforce semver for plugin versions, and the plugins command relies on valid semver. #170

Description

@mikkelhegn

While working on spinframework/spin#3656 I noticed two manifests which do not use valid semver:

and .

A few possible things we could do:

  1. Implement valid semver check in the plugin manifest schema check, by adding a regex pattern from semver.org here:
  2. To deal with those existing manifest plugins, submit a PR to fix them, and have them pass the new requirement (above)
  3. Enforce only parsing true semver in the plugins command for installation (today you can install a non semver compatible version of a plugin if it's "latest", but the CLI flag for selecting an explicit version is strict semver).

Guidance on this is appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions