pub struct Parameters {
pub repo: String,
pub scopes: Vec<String>,
pub workflow: Workflow,
pub style: Option<Style>,
}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.
scopes: Vec<String>The Conventional Commit scopes the project accepts, rendered into
the title checks, the commit hook, and the routing block. Defaults
empty for a record from before the parameter existed; an upgrade of
such a record asks for --scopes once and records the answer.
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.