Skip to content

Latest commit

 

History

History
78 lines (53 loc) · 4.5 KB

RELEASE-MANAGEMENT.md

File metadata and controls

78 lines (53 loc) · 4.5 KB

Release Management

This document describes ORAS project release management, which includes release versioning, supported releases, and supported upgrades. This document is applicable to all ORAS sub-projects.

Glossary of Terms

  • X.Y.Z refers to the version (based on git tag) of ORAS sub-project that is released.
  • Breaking changes refer to schema changes, flag changes, and behavior changes of ORAS sub-projects that may require existing content to be upgraded and may also introduce changes that could break backward compatibility.
  • Milestone GitHub milestones are used by maintainers to manage each release. PRs and Issues for each release should be created as part of a corresponding milestone.
  • Patch releases refer to applicable fixes, including security fixes, may be backported to support releases, depending on severity and feasibility.

Release Versioning

ORAS follows the Semantic Versioning 2.0.0 to define the release versioning. All releases will be of the form vX.Y.Z where X is the major version, Y is the minor version and Z is the patch version. This project strictly follows semantic versioning.

The rest of the doc will cover the release process for the following kinds of releases:

Major Releases

MAJOR version should be considered when there are incompatible API changes or breaking changes.

The ORAS CLI and ORAS-go project reached a stable version. Other sub-projects in Major version zero (0.y.z) is in initial development.

Minor Releases

  • ALPHA: X.Y.0-alpha.W, W >= 0 (Branch : main)
    • Alpha release, cut from main branch
    • Unstable release which should only be used for early development purposes
    • Released as needed before we cut a beta X.Y release
    • Not supported
  • BETA: X.Y.0-beta.W, W >= 0 (Branch : main)
    • More stable than the alpha release to be used for testing purposes only
    • Beta release, cut from main branch
    • Released as needed before we cut a stable X.Y release
    • Not supported
  • RC: X.Y.0-rc.W, W >= 0 (Branch : main)
    • Released as needed before we cut a stable X.Y release
    • soak for ~ 2 weeks before cutting a stable release
    • Bugfixes on new features only as reported through usage
    • Release candidate release, cut from main branch
    • Not supported
  • STABLE: X.Y.0 (Branch: main)
    • Stable release, cut from main when X.Y milestone is complete
    • X.Y release branch cut for subsequent patch releases
    • Supported as per the supported releases process defined below

Patch Releases

  • Patch Releases X.Y.Z, Z > 0 (Branch: release-X.Y, only cut when a patch is needed)
    • No breaking changes
    • Applicable fixes, including security fixes, may be cherry-picked from main into the latest supported minor release-X.Y branches.
    • Patch release, cut from a release-X.Y branch

Supported Releases

We expect to "support" n (current) and n-1 major.minor releases. "Support" means we expect users to be running that version in production. For example, when v1.3.0 comes out, v1.1.x will no longer be supported for patches and we encourage users to upgrade to a supported version as soon as possible. Support will be provided best effort by the maintainers via GitHub issues and pull requests.

We expect users to stay up-to-date with the versions of ORAS sub-projects they use in production, but understand that it may take time to upgrade. We expect users to be running approximately the latest patch release of a given minor release and encourage users to upgrade as soon as possible.

Applicable fixes, including security fixes, may be cherry-picked into the release branch, depending on severity and feasibility. Patch releases are cut from that branch as needed.

Release process

Before cutting a release for a project, ORAS project maintainers need to open a Pull Request to update version. The release request PR could be merged after a majority of approval from the sub-project maintainers.

The detailed release process of the ORAS CLI project is listed in the Release checklist.

Governance

This ORAS project governance model is described here

Attribution

This document builds on the ideas and implementations of release processes from Notary Project, Kubernetes, Helm, and Gatekeeper.