Skip to main content

Module discover

Module discover 

Source
Expand description

The one network call the devshell verb makes: which release is the latest.

The answer is the redirect of the forge’s releases/latest page. It costs no API quota and no token, and it excludes prereleases, which the tag list does not. The fetch goes through curl, resolved like every other soft tool with RK_CURL_BIN as the override, so a test substitutes the network and the binary needs no HTTP stack.

Enums§

Discovery
What discovery found.

Functions§

latest_tag
The latest release’s tag, through one curl call that follows the redirect and prints the effective URL alone.
latest_url
The page whose redirect names the latest release, derived from the pin grammar so the project path has one owner.
version_order
Semantic version order over two tags, with or without the leading v.