You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 277fb3e
Browse filesBrowse the repository at this point in the historyBrowse files
Automate NixOS plugin pin updates and restructure docs
Add scripts/update-nixos-plugin-pins.mjs, which pins the NixOS deployment
doc to a GitHub release: it reads themeVersion from the release tag,
derives spiVersion from the SPI jar file names, converts the sha256
digests the GitHub API reports per asset into SRI format (falling back to
downloading and hashing when a digest is missing), and rewrites the pin
block in docs/deployment-nixos.md. Each replacement is anchored to its
jar file name and must match exactly once, so hashes can never be
assigned to the wrong plugin and shape drift fails loudly. Exposed as
`npm run update-nix-pins` with --tag, --check and --release-json flags.
Wire it into CI: after create_github_release, the new
update_nixos_plugin_pins job re-pins the doc against the freshly
published tag and commits the result to main, so the checked-in Nix
snippet always matches the latest release.
Restructure docs/deployment-nixos.md around that motion: document the
two version numbers (theme vs SPI), replace the placeholder-hash example
with a real, verified pin block for v0.6.0 (release = ver: file: sha:),
and rewrite the updating section as the end-to-end release flow. Fold
the sha256-by-hand instructions into a fallback note.
Restructure README.md: add a table of contents, group development and
deployment sections, fix the duplicated section numbering, and document
the release + pinning motion.
Bump the version to 0.6.1 so merging this cuts a release that exercises
the new pipeline end-to-end.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MkN8eGu18MoULRF4XLb5Y4
- Team realm login: http://localhost:8080/realms/team/protocol/openid-connect/auth?client_id=account-console&redirect_uri=http://localhost:8080/realms/team/account/&response_type=code&scope=openid
0 commit comments