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

Are version downrefs allowed? #136

Open
rgwilton opened this issue Feb 22, 2022 · 1 comment
Open

Are version downrefs allowed? #136

rgwilton opened this issue Feb 22, 2022 · 1 comment
Labels
packages YANG packages related issue

Comments

@rgwilton
Copy link
Collaborator

When a package imports a package or another module, or if an implementation package implements an API package, then do we constrain what version can be used to override the version in a package?

E.g., an implementation "implement" an IETF BGP package that says that it uses BGP module @ 2.1.0, but the implementation package "overrides" the BGP module to 2.0.0?

E.g., do we say that the version MUST/SHOULD be the same or later?

If we differentiate between API packages and implementation packages then do the same rules apply in all cases?

@rgwilton rgwilton added the packages YANG packages related issue label Feb 22, 2022
@rgwilton
Copy link
Collaborator Author

In the discussion today, their seemed to be consensus that down rev's should not be allowed.

There seemed to be support for allowing at least minor version uprevs of modules/packages, but it is unclear if there is consensus as to whether major version up revs of modules/packages should be allowed.

In spirit, I think that there was agreement that it isn't appropriate to replace part of an API with something significantly different, but the issue is that we are using Semver and that can flag major version changes even for small bugfixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packages YANG packages related issue
Projects
None yet
Development

No branches or pull requests

1 participant