nfdi4plants / arc-validate-package-registry

A repository of validation packages for ARCs
https://avpr.nfdi4plants.org
MIT License
1 stars 2 forks source link

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

Closed kMutagene closed 3 weeks ago

kMutagene commented 2 months ago

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 commented 3 weeks ago

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.