Publishing a profile
Publishing makes a local profile discoverable through OOMPF while keeping the canonical YAML on GitHub.
oompf publish ./my-profile.yaml
What happens
- Local validation. The artifact is validated structurally and scanned for secrets before anything leaves your machine. A blocking secret finding stops the publish.
- Gist creation. The validated YAML is uploaded as a public GitHub Gist. GitHub assigns it an owner, an id, and a revision (git SHA).
- Registration. OOMPF fetches the canonical Gist, re-validates it, extracts
facts and any
oompfmetadata, and indexes the metadata only. It records the canonical source URL, the pinned revision, and a SHA-256 fingerprint.
The command prints the canonical profile URL, https://oompf.run/p/<id>.
Notes
- OOMPF does not invent an OMP runtime version. If your profile carries a config
marker such as
setupVersion, it stays a config marker and is not reported as the OMP version. - Re-publishing an unchanged source is idempotent: the same canonical URL always resolves to the same profile id.
- The canonical artifact always lives at its Gist. OOMPF stores no YAML bytes.