substrates-gen

command
v0.35.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2026 License: MPL-2.0 Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command substrates-gen writes live/substrates.json, GitHub issue #1588's capability matrix: one row per provider family registered in internal/live/substrate.All, built by asking each family's Substrate value its own questions rather than typing per-provider facts into this generator's control flow. The two columns Substrate has no method for (the fence, and anything about the harness beyond its pin file) are hand-kept lookups in this package, held to a completeness guard against substrate.All rather than left to drift.

go run ./tools/substrates-gen

A second mode re-renders live/SUBSTRATES.md from the committed live/substrates.json:

go run ./tools/substrates-gen -render

It reads only committed artifacts (live/readiness.json, live/floci-image, live/kind-node-image) and the in-process substrate package - no provider, no network, no other generator's process. Run twice with nothing else changed, it writes byte-identical output.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL