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

Does YANG Semver allow two versions with the same X.Y.Z and different metadata? #229

Open
jsterne opened this issue Apr 9, 2024 · 1 comment
Labels
yang-semver-soln Issues that apply to yang-semver (yang semver solution draft)

Comments

@jsterne
Copy link
Collaborator

jsterne commented Apr 9, 2024

We don't allow 3.0.1 and 3.0.1_compatible to both exist.
Should we allow 3.0.1+build11 and 3.0.1+build12 to both exist?

Do we want X.Y.Z to be a complete distinguisher for a module version?

As a corollary: what parts of the YANG Semver would go into the filename?
X.Y.Z?
X.Y.Z_COMPAT?
X.Y.Z_COMPAT+metadata? (could be very long)

@jsterne jsterne added the yang-semver-soln Issues that apply to yang-semver (yang semver solution draft) label Apr 9, 2024
@xorrkaz
Copy link
Collaborator

xorrkaz commented Apr 9, 2024

A proposal: we state that we ignore build metadata, but our compat identifier and pre-release metadata is used. While names could be long, what if we stick to those for purposes of naming. That is, build metadata is excluded, but compat identifier and pre-release metadata are required for filenaming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
yang-semver-soln Issues that apply to yang-semver (yang semver solution draft)
Projects
None yet
Development

No branches or pull requests

2 participants