Skip to content

Include local packages in versions.json - #198

Merged
prusnak merged 1 commit into
masterfrom
versions-local
Nov 2, 2026
Merged

prusnak merged 1 commit into
masterfrom
versions-local

Conversation

@prusnak

@prusnak prusnak commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Generate local package versions from the flake exports and document how to refresh the manifest without updating inputs.

Assisted-by: OpenAI Codex (GPT-6)

@github-actions github-actions Bot added area: ci .github/, test/, dev/ area: docs docs/, README, examples/, SECURITY.md, book.toml, assets area: packages pkgs/ and flake pins labels Nov 2, 2026
Generate local package versions from the flake exports and document
how to refresh the manifest without updating inputs.

Assisted-by: OpenAI Codex (GPT-6)
@prusnak
prusnak merged commit b8db0b3 into master Nov 2, 2026
15 checks passed
@prusnak
prusnak deleted the versions-local branch November 2, 2026 16:05
@seberm

seberm commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

@prusnak
Are there further plans for versions.json? I may be missing something, but it seems nothing reads it yet. Is it meant for release notes / the CVE scan / or something else? Thanks!

@prusnak

prusnak commented Nov 2, 2026

Copy link
Copy Markdown
Contributor Author

but it seems nothing reads it yet.

correct,

currently just to make nix flake update PR reviews easier, but later anything of this is possible:

release notes / the CVE scan / or something else

prusnak added a commit that referenced this pull request Nov 6, 2026
Small follow-up for #198:

- Set the book title to `bitcoinix vX.Y.Z` when the docs workflow builds
the release docs, so the published docs say which release they describe.
Builds of master keep the plain title.
- Add a "Software versions" section to the introduction: a table
generated from `versions.json` by `helper/gen-docs-versions.sh`,
included via mdBook's `{{#include}}`. Each version links to the
project's release notes, tag or source directory.
- `helper/update-flake.sh` regenerates the table;
`test/ci/check-versions.sh` fails when it is out of date, and the
generator fails for a package without a link.

Checked locally: generated table matches, shellcheck clean, `mdbook
build` with `MDBOOK_BOOK__TITLE` sets the menu bar and page titles, all
generated links resolve. The release step of the docs workflow itself
has not run; it takes effect with the next verified tag push or a manual
run.
@seberm seberm added this to the v0.1.5 milestone Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci .github/, test/, dev/ area: docs docs/, README, examples/, SECURITY.md, book.toml, assets area: packages pkgs/ and flake pins

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants