Expand description
Generic GitHub-release backend, addressed as github:owner/repo.
Downloads a release asset matching the host platform and installs it. Two
asset shapes are handled: archives (tar.*/zip → extracted) and bare binaries
(installed directly into bin/). Version specs map to release tags
(latest → the latest release). Mirrors: a CN GitHub proxy fallback.
Structs§
- Github
Backend - A github backend bound to a specific
owner/repo.
Functions§
- github_
install_ candidate_ is_ valid - Validate a scanned GitHub candidate without consulting the network. This is shared by lifecycle reuse and restart-time config/activation recovery.
- github_
install_ candidate_ is_ valid_ for_ dirs - Validate a persisted GitHub candidate when callers only have storage and platform state (for example lockfile serialization after installation).
- github_
install_ locator_ for - Derive the exact locator for a GitHub request whose locked artifact material is already present. This variant is used by lockfile serialization where only directory and platform state are available.