pub struct Parameters {
pub repo: String,
pub workflow: Workflow,
pub style: Option<Style>,
pub nix: bool,
pub trunk: String,
pub line_prefix: String,
}Expand description
The landing parameters, recorded whole.
Fields§
§repo: StringThe project path on the forge, recorded whole because a GitLab project may nest below its group.
workflow: WorkflowThe working-copy mode the project chose: every code-changing branch
in a linked worktree (worktree), or branches worked in the main
checkout with worktrees optional beside them (branches). A record
predating the field reads as branches, so an upgrade never imposes
a guard the project did not choose.
style: Option<Style>The release style the project chose: the bot’s request armed to
merge itself (trunk), or every merge a human’s (lines). A
record predating the field carries none, and an upgrade refuses
until --style names one: neither value is a compatibility-safe
reading of a target nobody asked.
nix: boolWhether the landing carries the Nix capability: the seeded package expression, the flake pair where the target had none, and the workflow that proves the build. A record predating the field reads as opt-out, so an upgrade adds nothing unrequested; the projection stays reproducible from the record because this field is part of it.
trunk: StringThe one permanent branch, rendered into every landed artifact that
names it. A record predating the field reads as master, which is
what such a landing wrote, so the projection stays reproducible.
line_prefix: StringThe release-line branch prefix, rendered into the release triggers
and branch guards. A record predating the field reads as
release/, which is what such a landing wrote.