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
How does a consumer know which versioning scheme is being used? #18
Comments
An alternative choice would be to have different keywords for different version schemes. |
Possible example discussed in the meeting: label-scheme "semver"? import "foo-module" { revision "2019-04-01" { revision "2019-01-01" { |
IMHO module tags are for categorizing YANG modules, not for describing what internal statements are used, so it would be a misuse. Also making implementation of module-tags mandatory for supporting the versioning scheme is not nice. IMHO
|
Agree that making module-tags mandatory isn't great. I think another option which was proposed is along the lines of: |
IMHO it is better to include it in a single statement. The 2 bits belong together. And using a single statement, if someone, god forbid, wants to include more then one versioning scheme, it would be possible. |
How does a consumer know which revision date is being used? I feel the question is similar to the question you raised. |
Agreed in DT meeting on 19/9. For revision labels that conform to the YANG Semver format this can automatically be inferred by the format of the label. For all other styles of revision-labels, I think that this is out of scope. |
Upon further discussion with the NETMOD WG, it has been decided to add another statement (extension) to declare what versioning scheme is being used. See issue #48. |
Could use module tags, or a separate statement with an IANA registry.
The text was updated successfully, but these errors were encountered: