Skip to content

Commit

Permalink
Merge pull request #173 from vbatts/versioning
Browse files Browse the repository at this point in the history
version: more explicit version for comparison
  • Loading branch information
crosbymichael committed Sep 11, 2015
2 parents cbda521 + d335ecd commit b8bbd28
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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.
Expand Down
13 changes: 12 additions & 1 deletion version.go
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit b8bbd28

Please sign in to comment.