Orchestrates the fetch path.
Given build inputs and a list of artifact_sites, plans against the
registered resolvers and downloads the first one to succeed. The download
lands at NBPR.Artifact.download_path/1. Extraction is NBPR.Artifact.Cache's
job and happens after a successful fetch.
Resolvers are statically defined for production but may be overridden via
the :resolvers opt — primarily a testing affordance.
Summary
Functions
Downloads the artefact tarball to its canonical download path. Returns the path on success; raises on total failure with an aggregated error message per resolver attempted.
Functions
@spec fetch!(NBPR.Artifact.build_inputs(), [NBPR.Package.artifact_site()], keyword()) :: Path.t()
Downloads the artefact tarball to its canonical download path. Returns the path on success; raises on total failure with an aggregated error message per resolver attempted.