pub struct ProfileFlags {
pub technology: Vec<String>,
pub forge: Option<String>,
pub repo: Option<String>,
pub release_mode: Option<String>,
pub release_driver: Option<String>,
pub release_style: Option<String>,
pub trunk: Option<String>,
pub checkout_mode: Option<String>,
pub integration: Option<String>,
pub required_check: Option<String>,
pub required_workflow: Option<String>,
}Expand description
The profile and Git workflow answers an invocation states.
Fields§
§technology: Vec<String>A technology present in the project; repeat it for several. A supplied list replaces the configured one whole. Defaults to detection from the version files.
forge: Option<String>The forge hosting the project: github or gitlab. Defaults to detection from the target’s git remote; a project with no forge resolves to none.
repo: Option<String>The project path on the forge, substituted into the rendered files and recorded as the landing parameter. Defaults to detection from the target’s git remote.
release_mode: Option<String>The release intent: automatic, where release-kit drives the release; external, where the project releases through a process release-kit does not drive; or none. Defaults to the observation’s proposal: automatic with the one release-bearing technology, none where there is none.
release_driver: Option<String>The technology that states the version and takes the bot, for an automatic release. Required where more than one release-bearing technology is present.
release_style: Option<String>The release style of an automatic release: trunk (the bot’s request carries auto-merge from creation) or lines (every request waits for a human’s merge).
trunk: Option<String>The one permanent branch. Defaults to the configuration, the record, and then master.
checkout_mode: Option<String>Where a topic branch opens: linked-worktree (every code-changing branch in its own linked worktree, the main checkout commits nothing) or main-worktree (the original working tree switches to it). Recorded as a Git workflow parameter and rendered into the landed blocks.
integration: Option<String>Which authority moves an implementation onto the trunk: local
(the checkout squashes and records it, through rk integrate) or
forge (a pull request or merge request does, behind its required
check). Recorded as a Git workflow parameter and rendered into the
landed blocks. Defaults to local.
required_check: Option<String>The check the release gate believes: the context the trunk ruleset requires under forge integration, and the context the rendered release gate judges under local integration. GitHub only.
required_workflow: Option<String>The workflow whose completion wakes the release gate under local
integration, named by its name: key rather than its filename.
GitHub only.
Implementations§
Source§impl ProfileFlags
impl ProfileFlags
Trait Implementations§
Source§impl Args for ProfileFlags
impl Args for ProfileFlags
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for ProfileFlags
impl Clone for ProfileFlags
Source§fn clone(&self) -> ProfileFlags
fn clone(&self) -> ProfileFlags
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ProfileFlags
impl Debug for ProfileFlags
Source§impl Default for ProfileFlags
impl Default for ProfileFlags
Source§fn default() -> ProfileFlags
fn default() -> ProfileFlags
Source§impl FromArgMatches for ProfileFlags
impl FromArgMatches for ProfileFlags
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.