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

Do not allow publishing extensions with invalid semver versions #1112

Open
sandy081 opened this issue Jan 10, 2025 · 0 comments
Open

Do not allow publishing extensions with invalid semver versions #1112

sandy081 opened this issue Jan 10, 2025 · 0 comments
Assignees

Comments

@sandy081
Copy link
Member

Recently we found out that Marketplace is allowing extensions with versions which are not SemVer compatible. Example - https://marketplace.visualstudio.com/items?itemName=perfsee.perfsee-vscode
This extension has version 2022.09.290700 which is invalid. According to SemVer any part of the version should not start with 0. vsce is validating the version before publishing, so I believe one should have uploaded this VSIX to marketplace instead of going via vsce. So, I suggest following changes

  1. Do not allow publishing extensions with invalid versions
  2. Come up with a strategy to fix existing extensions with invalid versions.
@sandy081 sandy081 added the bug Something isn't working label Jan 10, 2025
@sandy081 sandy081 removed the bug Something isn't working label Jan 10, 2025
@joaomoreno joaomoreno changed the title Do not allow publishing extensions with invalid versions Do not allow publishing extensions with invalid semver versions Jan 10, 2025
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

No branches or pull requests

2 participants