From 580701c6f8aa20071e93e2bc084787f39dcb00ae Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Thu, 10 Sep 2015 11:17:34 -0400 Subject: [PATCH 1/2] version: more explicit version for comparison For deterministic comparison and still providing a Version string for representation and reuse. Signed-off-by: Vincent Batts --- version.go | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/version.go b/version.go index f6cb6a925..3e722a538 100644 --- a/version.go +++ b/version.go @@ -1,4 +1,15 @@ package specs +import "fmt" + +const ( + // VersionMajor is for an API incompatible changes + VersionMajor = 0 + // VersionMinor is for functionality in a backwards-compatible manner + VersionMinor = 1 + // VersionPatch is for backwards-compatible bug fixes + VersionPatch = 0 +) + // Version is the specification version that the package types support. -const Version = "pre-draft" +var Version = fmt.Sprintf("%d.%d.%d", VersionMajor, VersionMinor, VersionPatch) From d335ecd6df9882976ec131efc1ede83175d02263 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Thu, 10 Sep 2015 16:13:37 -0400 Subject: [PATCH 2/2] README: releases section As we ready for a draft release, verbiage is needed on what this pre-release means. Signed-off-by: Vincent Batts --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5eb434d78..01623ed47 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@ This project is where the [Open Container Initiative](http://www.opencontainers.org/) Specifications are written. This is a work in progress. -We should have a first draft by end of July 2015. Table of Contents @@ -20,6 +19,11 @@ To provide context for users the following section gives example use cases for e - A user can create a root filesystem and configuration, with low-level OS and host specific details, and launch it as a container under an Open Container runtime. +## Releases + +There is a loose [Road Map](https://github.com/opencontainers/specs/wiki/RoadMap:) on the wiki. +During the `0.x` series of OCI releases we make no backwards compatibility guarantees and intend to break the schema during this series. + # The 5 principles of Standard Containers Define a unit of software delivery called a Standard Container.