Skip to content

matz/spin-index

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

spin-index

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.

Format

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`
  • version follows x.y.z; constraints in spin.toml are "~> x.y", ">= x.y.z", exact, or "*".
  • Selection is MVS: spin picks the lowest release satisfying every constraint, and gem.lock pins the outcome.
  • Same name as a rubygems.org gem means "the same library, possibly a subset-compatible port"; diverging forks must rename (foo-spinel).

Adding a package

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.

About

The spinelgems index: a git-hosted name -> (repo, releases) map for spin (no server)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors