Merge pull request #173 from vbatts/versioning

version: more explicit version for comparison
This commit is contained in:
Michael Crosby 2015-09-11 12:14:03 -07:00
commit b8bbd289c6
2 changed files with 17 additions and 2 deletions

View File

@ -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.

View File

@ -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)