Liking cljdoc? Tell your friends :D

hive-addon.mount.maturity

How finished a MountSpec is, and what a host does about it. Pure.

Sibling of hive-addon.mount.entitlement: entitlement answers MAY this mount, maturity answers HOW FINISHED is it. They are separate axes (a proprietary addon can be :stable and a FOSS one :experimental), so neither reads the other's field.

The field is :addon/maturity, NOT :addon/status. hive-store already owns :addon/status for a different claim, whether a customer's token resolves the coordinate today, and a preview coordinate of stable code is a real combination. One keyword answering two questions is the drift this module exists to remove.

This namespace is the ONE place the absent-key default lives. A consumer that spells (:addon/maturity spec :experimental) itself has forked the default, and the fork is invisible until the two disagree.

How finished a MountSpec is, and what a host does about it. Pure.

Sibling of hive-addon.mount.entitlement: entitlement answers MAY this mount,
maturity answers HOW FINISHED is it. They are separate axes (a proprietary
addon can be :stable and a FOSS one :experimental), so neither reads the
other's field.

The field is `:addon/maturity`, NOT `:addon/status`. hive-store already owns
`:addon/status` for a different claim, whether a customer's token resolves
the coordinate today, and a preview coordinate of stable code is a real
combination. One keyword answering two questions is the drift this module
exists to remove.

This namespace is the ONE place the absent-key default lives. A consumer
that spells `(:addon/maturity spec :experimental)` itself has forked the
default, and the fork is invisible until the two disagree.
raw docstring

at-least?clj/s

(at-least? floor spec)

True when spec is at least as mature as floor.

The predicate a host policy is written in terms of: a production host asks for :beta and up, a curated catalog for :stable, and neither has to enumerate what that excludes.

True when `spec` is at least as mature as `floor`.

The predicate a host policy is written in terms of: a production host asks
for :beta and up, a curated catalog for :stable, and neither has to
enumerate what that excludes.
sourceraw docstring

coerceclj/s

(coerce kw)

A bare maturity keyword as an AddonMaturity ADT value, or nil when the keyword is not a variant. The seam for anything that must round-trip a maturity through the type rather than trust a raw keyword.

A bare maturity keyword as an AddonMaturity ADT value, or nil when the
keyword is not a variant. The seam for anything that must round-trip a
maturity through the type rather than trust a raw keyword.
sourceraw docstring

declared?clj/s

(declared? spec)

True when the manifest states its maturity rather than inheriting the default.

The fleet gate is written against this, not against maturity: every value including the default reads the same through maturity, so only this can tell a deliberate :experimental from an unanswered one.

True when the manifest states its maturity rather than inheriting the
default.

The fleet gate is written against this, not against `maturity`: every value
including the default reads the same through `maturity`, so only this can
tell a deliberate :experimental from an unanswered one.
sourceraw docstring

default-maturityclj/s

What an undeclared :addon/maturity means.

:experimental, never :stable. A manifest that never made a maturity claim must not be read as having made the strongest one. It is the same trap the :foss default of :addon/trust-class sprang, where an absent key silently granted the permissive reading to every addon in the fleet.

What an undeclared :addon/maturity means.

:experimental, never :stable. A manifest that never made a maturity claim
must not be read as having made the strongest one. It is the same trap the
:foss default of :addon/trust-class sprang, where an absent key silently
granted the permissive reading to every addon in the fleet.
sourceraw docstring

dormant?clj/s

(dormant? spec)

True when this spec is declared out of development.

True when this spec is declared out of development.
sourceraw docstring

levelsclj/s

Every legal maturity, WEAKEST FIRST. The rendering order for any surface that groups addons by maturity, and the source of the ordering itself.

The order is information the ADT does not carry: a sum type states the variant set, not that :beta outranks :experimental. So the vector is declared here and reconciled against the type below.

Every legal maturity, WEAKEST FIRST. The rendering order for any surface
that groups addons by maturity, and the source of the ordering itself.

The order is information the ADT does not carry: a sum type states the
variant set, not that :beta outranks :experimental. So the vector is
declared here and reconciled against the type below.
sourceraw docstring

maturityclj/s

(maturity spec)

This spec's maturity claim, defaulted.

This spec's maturity claim, defaulted.
sourceraw docstring

Maturityclj/s

Re-exported so a caller can validate a maturity without reaching into the schema layer.

Re-exported so a caller can validate a maturity without reaching into the
schema layer.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close