pub struct AurConfig {Show 29 fields
pub name: Option<String>,
pub ids: Option<Vec<String>>,
pub commit_author: Option<CommitAuthorConfig>,
pub commit_msg_template: Option<String>,
pub description: Option<String>,
pub homepage: Option<String>,
pub license: Option<String>,
pub skip_upload: Option<StringOrBool>,
pub url_template: Option<String>,
pub maintainers: Option<Vec<String>>,
pub contributors: Option<Vec<String>>,
pub provides: Option<Vec<String>>,
pub conflicts: Option<Vec<String>>,
pub depends: Option<Vec<String>>,
pub optdepends: Option<Vec<String>>,
pub backup: Option<Vec<String>>,
pub rel: Option<String>,
pub package: Option<String>,
pub git_url: Option<String>,
pub git_ssh_command: Option<String>,
pub private_key: Option<String>,
pub directory: Option<String>,
pub skip: Option<StringOrBool>,
pub install: Option<String>,
pub replaces: Option<Vec<String>>,
pub amd64_variant: Option<Amd64Variant>,
pub required: Option<bool>,
pub if_condition: Option<String>,
pub retain_on_rollback: Option<bool>,
}Fields§
§name: Option<String>Override the package name (default: crate name + “-bin”).
ids: Option<Vec<String>>Build IDs filter: only include artifacts whose id is in this list.
Commit author with optional signing.
commit_msg_template: Option<String>Custom commit message template. Default: “Update to {{ version }}”.
description: Option<String>Short description of the package for PKGBUILD.
homepage: Option<String>Project homepage URL.
license: Option<String>SPDX license identifier (e.g., “MIT”, “Apache-2.0”).
skip_upload: Option<StringOrBool>Skip publishing. "true" always skips; "auto" skips for prereleases.
Accepts bool or template string.
url_template: Option<String>Custom URL template for download URLs (overrides release URL).
maintainers: Option<Vec<String>>PKGBUILD maintainer entries (e.g., “Name email@example.com”).
contributors: Option<Vec<String>>Contributors listed in PKGBUILD comments.
provides: Option<Vec<String>>Packages this PKGBUILD provides (virtual package names).
conflicts: Option<Vec<String>>Packages this PKGBUILD conflicts with.
depends: Option<Vec<String>>Runtime dependencies required by this package.
optdepends: Option<Vec<String>>Optional dependencies with descriptions (e.g., “fzf: fuzzy finder support”).
backup: Option<Vec<String>>List of config files to preserve on upgrade (relative to /).
rel: Option<String>Package release number (default: “1”).
package: Option<String>Custom PKGBUILD package() function body.
git_url: Option<String>AUR SSH git URL override. Defaults to
ssh://aur@aur.archlinux.org/<package>.git, derived from the resolved
package name; set this only for a non-standard endpoint.
git_ssh_command: Option<String>Custom SSH command for git operations.
private_key: Option<String>Path to SSH private key file.
directory: Option<String>Subdirectory in the git repo for committed files.
skip: Option<StringOrBool>Skip this AUR config. Accepts bool or template string
(e.g. "{{ if .IsSnapshot }}true{{ endif }}" for conditional skip).
Accepts the legacy disable: spelling via serde alias for back-compat.
install: Option<String>Content for a .install file (post-install/pre-remove scripts).
replaces: Option<Vec<String>>Packages this PKGBUILD replaces (for upgrade paths from old package names).
amd64_variant: Option<Amd64Variant>amd64 microarchitecture variant filter (v1 / v2 / v3 / v4).
Only artifacts matching this variant are included. Default: v1.
Typed as Amd64Variant, so any value outside v1..v4 is
rejected when the config is parsed.
required: Option<bool>Override whether this publisher failing should fail the overall release.
Default: false — a failure here is logged but does not abort the release.
Set to true to fail the release on any error.
if_condition: Option<String>Template-conditional gate: when the rendered result is falsy
("false" / "0" / "no" / empty), the AUR publisher is skipped.
Render failure hard-errors. The aurs[].if: conditional gate.
retain_on_rollback: Option<bool>When true, a triggered rollback leaves this publisher’s work in
place rather than attempting to undo it. Default false.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AurConfig
impl<'de> Deserialize<'de> for AurConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for AurConfig
impl JsonSchema for AurConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PublisherGateOverrides for AurConfig
impl PublisherGateOverrides for AurConfig
Source§fn required_override(&self) -> Option<bool>
fn required_override(&self) -> Option<bool>
required: override. None keeps the publisher’s
built-in default; Some(true) anywhere escalates the release gate.Source§fn retain_on_rollback_override(&self) -> Option<bool>
fn retain_on_rollback_override(&self) -> Option<bool>
retain_on_rollback: override. Some(true) anywhere
opts the publisher’s successful work out of rollback.