The package index for Spinel: a git-hosted map
from package names to their repositories and releases. There is no registry
server; spin clones this repo into its cache and resolves
[dependencies] name = "constraint" entries against it.
One TOML file per package, packages/<name>.toml:
name = "ansi"
repo = "https://github.com/you/spinel-ansi"
[[release]]
version = "1.0.0"
ref = "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3" # full commit SHA in `repo`versionfollowsx.y.z; constraints in spin.toml are"~> x.y",">= x.y.z", exact, or"*".- Selection is MVS:
spinpicks the lowest release satisfying every constraint, andgem.lockpins the outcome. - Same name as a rubygems.org gem means "the same library, possibly a
subset-compatible port"; diverging forks must rename (
foo-spinel).
Open a pull request adding or updating packages/<name>.toml. Each release's
ref must be a full commit SHA reachable in repo whose tree contains a
spin.toml with the matching version.