-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Remove version check in runc #521
Remove version check in runc #521
Conversation
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
please please please! :-) |
I know I'm probably in the minority on this one but IMO we shouldn't even need a version field in the json at all. If the semantics, or syntax, of a field changes (ignoring bug fixes) then we should define a new field and deprecate the old one. If you do that there's no need for a version field at all. Changing existing fields on people just causes more pain than its worth. |
@duglin the version field is more for just v1 spec, v2 spec, large changes like that. we should be stable after we get the 1.0 out and stick to it |
LGTM |
@crosbymichael my assertion still holds. Large changes should use new field name to avoid confusion. It also allows you to add new fields w/o bumping up (meaningless) version numbers. |
On Thu, Jan 28, 2016 at 11:03:54AM -0800, Doug Davis wrote:
How fast does that deprecation kick in? If we'd been doing that with If we wait until 1.0 when the spec will hopefully settle down, then a |
This is not the place to discuss versioning policies for the spec |
pleaseeeeeee i need dis |
Plus one on either removing it now or changing it to a warning and removing it in May. |
TBH, I don't really agree. Not having versioning means that we have to create new field names every time we decide old functionality was badly conceived. This happens a non-zero number of times, so why make it hard for ourselves? Not to mention that deprecating old functionality is slower than continental shift, while versioning ensures that we stay self-consistent in a single version of the spec. |
@cyphar why? Mainly because of the pain caused by its presence - which is exactly why (I think) this PR was created. While there are examples where people include a version string, there are also lots of examples where they do not w/o any problems. For example, Makefiles and source code. I think the lack of a version string in source code is really interesting because progaming languages change all the time and yet they manage w/o it. W/o it, it forces them to be backwards compatible, have a well defined deprecation policy and have good growth/extension points. All good traits. There are times when I think people use version strings as a "get out of jail free" card to pretty much make any changes they want (including breaking backwards compat) because they can just tell the user to use an old version string if they don't like the new stuff. That's not good for our users. |
This is not the place to discuss versioning of the spec and backwards compat. Please take it to the mailing list if you want to rehash an already discussed issue on how we are going to version. |
LGTM |
…cess Add governance and release process docs
Signed-off-by: Michael Crosby crosbymichael@gmail.com