Repository navigation
v0.16.0
·
536 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Changed
- Forced reinstalls are now stage-then-replace. The sync
stale-rebuild path and other internal reinstall callers no
longer wipe the live canonical store directory before
rebuilding. The new install is staged into a sibling
.build-<rand>/dir (already filtered out of the
generation walker and store enumeration), then atomically
renamed into place once the build succeeds. A failed
reinstall now leaves the previously-installed package
intact instead of breaking the active generation. .binaries.tomlindexes with a bare-versionversion
field no longer merge into recipes with revision ≥ 2.
Previously a recipe at revision 2 that shipped an old
index readingversion = "1.8.1"would silently inherit
the rev-1 binaries. Revisioned recipes now require the
canonical<version>-<revision>form (e.g."1.8.1-2");
bare-version indexes are accepted only for revision 1
(the legacy default). Recipes that have been bumped past
revision 1 must regenerate their.binaries.tomlor
installs will fall through to source builds.
Added
gale lintwarns when a recipe at revision ≥ 2 has a
sibling<name>.binaries.tomlwhoseversionfield is
the bare<version>form. The warning names the file and
suggests the canonical replacement string so the
fall-through-to-source surprise is caught before install.gale repo update [name]refreshes one named tap (or
all configured taps when omitted).gale updateand
gale outdatednow auto-refresh tap caches before
resolving, so a stale~/.gale/repos/<name>/clone no
longer masks an upstream version bump. Pass
--no-refreshor setGALE_OFFLINE=1to skip the
refresh. Per-tap fetch errors warn and continue — the
resolver falls through to the (now-stale) cache and the
command still runs.gale.tomlnow supports per-machine package lists via
[hosts.<name>.packages]and[hosts.<name>.pinned]
sections. Top-level[packages]and[pinned]apply on
every machine; host sections add or override entries
when the local hostname matches. Hostname comes from
hostname(1)and can be overridden with theGALE_HOST
environment variable.gale add,remove,pin, and
unpinaccept a new--host <name>flag (or
--host currentfor the local machine) to target a
host section instead of the shared one.
Removed
gale remote sync|export|diffcommands. They were thin
wrappers aroundsshandscpthat are easily composed
in a shell. With per-host sections ingale.toml, a
single chezmoi-tracked config reaches every machine and
ssh host gale syncreplacesgale remote sync.