mod source_probe

module source_probe

Per-architecture source reachability probing.

A software-layer plan can parse and close correctly while still failing on one architecture because the archive or wheel URL exists only for another. This module resolves source_urls / sources per target architecture and probes each concrete URL with HEAD and a ranged GET fallback.

Variables

const DEFAULT_TARGET_ARCHES: [&str; 3]

Architectures probed by default for EESSI software-layer plans.

Functions

fn probe_easyconfig_sources(easyconfig_paths: &[std::path::PathBuf], arches: &[String], options: &ProbeOptions) -> Result<Vec<SourceProbeFinding>, String>

Probe every source artifact of every easyconfig for every architecture.

Structs and Unions

struct ProbeOptions

Probe timing and retry policy.

retries: u32

Extra attempts after the first one.

timeout: Duration

Timeout applied to one HTTP request.

Traits implemented

impl Default for ProbeOptions
struct SourceProbeFinding

One source-probe finding.

easyconfig: String

Easyconfig file name.

source: String

Source file name from sources.

arch: String

Architecture the probe ran with.

kind: String

unreachable or arch-missing.

detail: String

Probe outcome detail.

Implementations

impl SourceProbeFinding

Functions

fn message(&self) -> String

One line for command output and fatal errors.