Skip to content

GLRD Release Lifecycle ​

This page explains the lifecycle model used by the Garden Linux Release Database (GLRD): why lifecycle phases are structured the way they are, how dates are calculated by default, and how the versioning scheme works.

Lifecycle phases ​

Every release in GLRD has a lifecycle object. The phases present depend on the release type:

PhasePresent for typesMeaning
releasedallThe date the release was published.
extendedmajor, nextThe date extended maintenance begins (after standard maintenance).
eolmajor, next, minorThe date support ends entirely.

nightly and dev releases do not have extended or eol phases because they are not supported beyond their immediate build date.

Default major dates ​

When you create a major release without explicitly setting extended or eol dates, GLRD calculates defaults based on the Garden Linux Release Plan. The rules changed with major version 1877, so the defaults depend on the version.major of the release.

Current behavior (major ≥ 1877) ​

  • extended = released date + 9 months (representing the standard maintenance phase)
  • eol = released date + 15 months, always adjusted to end at the end of a month (representing standard maintenance + 6 months of extended maintenance)

An exception is made for LTS (Long-Term Support) releases, where the eol date defaults to 5 years from the released date, also adjusted to end at the end of the month. You can flag a major release as LTS by passing the --lts option during creation, which sets the "lts" attribute to true.

Example — Standard major-2150:

PhaseDateDescription
released2026-02-23Publication date
extended2026-11-23 (+ 9 months)Extended maintenance begins
eol2027-05-31 (+ 15 months)EOL (ends at end of month)

Example — LTS major-1877 (created with --lts):

PhaseDateDescription
released2025-05-26Publication date
extended2026-02-26 (+ 9 months)Extended maintenance begins
eol2030-05-31 (+ 5 years)EOL (ends at end of month)

You can always override the calculated defaults by passing --lifecycle-extended-isodatetime and --lifecycle-eol-isodatetime to glrd-manage --create.

Legacy behavior (major < 1877) ​

Major releases before 1877 were created under an earlier lifecycle model with a shorter maintenance window and no end-of-month rounding:

  • extended = released date + 6 months
  • eol = released date + 9 months (not rounded to the end of the month)

Lifecycle compliance check

The lifecycle compliance check (glrd --check-lifecycle) hard excludes releases with version.major < 1877. These releases are neither validated nor reported, because they do not follow the current lifecycle rules. The threshold is defined as LIFECYCLE_CHECK_MIN_MAJOR = 1877 in the GLRD codebase (glrd/query.py).

Note that some early major releases carry manually maintained dates that deviate from the +6/+9 default described above.

Major and minor release dependencies ​

There is a dependency between the lifecycle.eol fields of major and minor releases within the same major version:

  • Intermediate minor releases: The eol of each minor release is set to the released date of the next minor release in the same major series. This means support for a given minor ends when the next patch is available.
  • Latest minor release: The eol of the most recent minor release always matches the eol of the parent major release. This ensures the final patch remains supported until the major version reaches end-of-life.
  • Major release eol: Marks the end of support for the entire major version, including all its minor releases.

When you create a new minor release with glrd-manage --create minor, the previous minor release's eol is automatically updated to the new minor release's released date.

Note on the extended phase

The extended lifecycle field applies to major releases only. It has no direct technical effect on minor releases and is an administrative date that tracks when extended maintenance begins for the parent major version.

Example — major-1312 series:

ReleasereleasedeolReason
major-13122023-11-162024-08-03Major EOL
minor-1312.12023-11-232024-01-15Next minor release date
minor-1312.22024-01-152024-02-14Next minor release date
minor-1312.72024-07-032024-08-03Inherits major EOL (last minor)

Nightly and development release dates ​

nightly and dev releases only carry a released date. They have no extended or eol phase because:

  • Nightly builds are ephemeral: each nightly is superseded by the next nightly run.
  • Development releases are manual snapshots for testing; they are not formally supported.

Versioning scheme ​

Garden Linux introduced semantic versioning starting at major version 2017. GLRD stores both pre- and post-threshold releases and selects the correct schema automatically:

SchemeApplies toVersion formatExample
v1major < 2017major.minor1592.6, 27.0
v2major ≥ 2017major.minor.patch2017.0.0, 2222.1.5

The threshold is defined as V2_SCHEMA_THRESHOLD = 2017 in the GLRD codebase (glrd/util.py). Any release with a version.major value of 2017 or higher uses the v2 schema and requires the patch field in version objects for minor, nightly, and dev releases.

For major and next releases, the version only ever stores major; the distinction between v1 and v2 does not affect their schema shape.

Schema v2.1 (current default) ​

Schema v2.1 is a backward-compatible evolution of v2 and the default for new releases (SCHEMA_VERSION = "2.1" in glrd/util.py). It adds an optional attributes.lts flag to major and next releases to mark Long-Term Support releases. Because the field is optional, all existing v2 data stays valid without changes.

The major.minor.patch threshold is unchanged (still 2017); the lts flag is an orthogonal addition. LTS applies from major 1877 onwards — this is enforced by the lifecycle/management logic (see Default major dates), not by the schema, which only describes the optional field.