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

Add support for semver suffixes (prerelease + build metadata) #37

Closed
kMutagene opened this issue Apr 29, 2024 · 1 comment
Closed

Add support for semver suffixes (prerelease + build metadata) #37

kMutagene opened this issue Apr 29, 2024 · 1 comment
Assignees

Comments

@kMutagene
Copy link
Member

see https://semver.org/#spec-item-9

Needed for adding distinctions especially for specification validation, where the package version should be equal to the specification version, but the specs themselves often have prerelease suffixes (e.g. 2.0.0-draft)

@kMutagene kMutagene self-assigned this Jun 5, 2024
@kMutagene kMutagene moved this to Backlog in ARCStack Jun 5, 2024
@kMutagene kMutagene moved this from Backlog to Ready in ARCStack Jun 5, 2024
@kMutagene kMutagene added this to the DataHUB public release milestone Jun 6, 2024
@kMutagene kMutagene moved this from Ready to In progress in ARCStack Jun 13, 2024
@kMutagene
Copy link
Member Author

Note that this needs a rework of the logic on how the "latest package" is determined. I'll go the route of nuget and only using "stable" package versions (without suffix) for that, only serving packages with a suffix on explicit requests.

@kMutagene kMutagene changed the title Add support for prerelease semver suffix Add support for semver suffixes (prerelease + build metadata) Jun 21, 2024
kMutagene added a commit that referenced this issue Jun 21, 2024
- SemVer has fields for PreRelease and BuildMetadata suffixes
- SemVer has parsing/writing functions
- add respective flat fields to ValidationPackageMetadata
- add respective static methods to ValidationPackageMetadata and ValidationPackageIndex
- added tests
@kMutagene kMutagene moved this from In progress to Done in ARCStack Jun 21, 2024
@kMutagene kMutagene closed this as completed by moving to Done in ARCStack Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant