Skip to content

Commit b8bbd28

Browse files
committed
Merge pull request #173 from vbatts/versioning
version: more explicit version for comparison
2 parents cbda521 + d335ecd commit b8bbd28

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
This project is where the [Open Container Initiative](http://www.opencontainers.org/) Specifications are written.
44
This is a work in progress.
5-
We should have a first draft by end of July 2015.
65

76
Table of Contents
87

@@ -20,6 +19,11 @@ To provide context for users the following section gives example use cases for e
2019

2120
- 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.
2221

22+
## Releases
23+
24+
There is a loose [Road Map](https://github.com/opencontainers/specs/wiki/RoadMap:) on the wiki.
25+
During the `0.x` series of OCI releases we make no backwards compatibility guarantees and intend to break the schema during this series.
26+
2327
# The 5 principles of Standard Containers
2428

2529
Define a unit of software delivery called a Standard Container.

version.go

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
package specs
22

3+
import "fmt"
4+
5+
const (
6+
// VersionMajor is for an API incompatible changes
7+
VersionMajor = 0
8+
// VersionMinor is for functionality in a backwards-compatible manner
9+
VersionMinor = 1
10+
// VersionPatch is for backwards-compatible bug fixes
11+
VersionPatch = 0
12+
)
13+
314
// Version is the specification version that the package types support.
4-
const Version = "pre-draft"
15+
var Version = fmt.Sprintf("%d.%d.%d", VersionMajor, VersionMinor, VersionPatch)

0 commit comments

Comments
 (0)