Skip to main content

Module profile

Module profile 

Source
Expand description

The resolved target configuration.

The project profile, the Git workflow, and the capability requests, resolved by one precedence from an invocation’s flags, the committed configuration, a compatible record, the target’s observation, and the compiled defaults.

Three representations live here and stay apart. The declared configuration is crate::config::Config, exactly as authored. The resolved configuration is Resolved: every effective value beside the runtime Source that answered it, which rk profile reports and nothing serializes. The wire form is Params: the same values with no source, which the projection consumes, the configuration writes back, and the record carries as ProfileSnapshot, GitWorkflow, and CapabilityRequests.

SATISFIES project-profile:every-field-resolves-by-one-precedence SATISFIES project-profile:a-record-is-source-free

Modules§

catalog
The capability catalog: which complete release-kit product each embedded source belongs to, which dimensions select it, and whether it is available at the dimensions a target resolved to.

Structs§

CapabilityRequests
The optional products the target requested.
GitWorkflow
The Git workflow parameters.
Inputs
Explicit invocation answers; absence falls through to configuration.
Params
The complete resolved input to a projection, on the wire.
ProfileSnapshot
What the project is, on the wire: values alone.
ReleaseIntent
The release intent: the mode and, for an automatic release, its driver, style, and line prefix.
Resolved
The resolved target configuration, with the source of every value.

Enums§

Proposal
What the observation proposes for the release, where nothing else answered it.
Purpose
Compatibility policy for a landing candidate.
ReleaseMode
The release intent’s mode.
Source
Where a resolved value came from.

Functions§

canonical_category
The canonical form of a category name, or why it is refused.
canonical_list
A list of category names canonicalized, refused on a duplicate, and sorted.
gate_defaults
The canonical release gate answers, for the one shape that renders a gate reading them, or None for every other shape.
resolve
Resolve every domain value by one precedence, keeping the source of each.