Expand description
What is published: the latest release, the green nightly, and ancestry.
Parsing is pure (release_candidate, nightly_candidate, ancestry_of);
only Net touches the network, so tests hand in a fake.
Structs§
- Http
- The real network: ureq with a hard timeout.
Constants§
- HAND_
SMOKE_ MARKER - The line a release manager writes into an
-rcprerelease’s notes once the hand-smoke passed. Until it is there the prerelease is not installable.
Traits§
- Net
- One HTTP GET.
Ok(None)is a 404; every other failure isErr.
Functions§
- ancestry
- Ancestry by the compare API; any failure is
None(unknown), which the decision treats conservatively. - ancestry_
of - The
statusfield of a GitHub compare response. - asset_
name - Fill
{bin},{tag},{version}and{target}in an asset template. - latest_
release - newest_
release_ candidate - The highest-versioned eligible release in a
/releaseslist that carries this target’s asset. Semver orders0.69.1 < 0.69.3-rc.1 < 0.69.3, so a hand-smoked rc supersedes the last release and the final tag supersedes it. - nightly
- nightly_
candidate - This target’s tool entry in an
aprender-nightly-manifest/v1(#4189), if the target is green and carries both digests. - release_
candidate - A release’s asset for this product and target, if it has one. A release
without this bin’s asset is no candidate: never announce a build that
updatecould not install.