Repository navigation
v0.12.2
Headline
Installed records are portable: no absolute checkout path, and a fresh clone (CI, another worktree, a teammate) can plan and apply.
Fixed
- Committed installed records work in any checkout of the app. A record stores its root as
.instead of the absolute path of the checkout that wrote it, so a clone, CI or another worktree no longer fails withUnknown, foreign or mismatched installed artifact., and no local path is committed. A record written before 0.12.2 is read anywhere and rewritten on the next update. The app id, lineage and artifact fingerprint still refuse a foreign record (#207). - The first update in a fresh clone no longer fails with
Maintenance data requires an unlinked regular file.When.mod-maintenance/holds only committed installed records, Mod creates the git-ignoredowner.jsonandlockitself. A linkedowner.jsonis still refused, and unknown content is still reported (#207).
Same fix as 0.11.3 on the 0.11 line. Fresh-install check from a real git clone: plan, apply, upgrade plan, apply; owner.json and lock created; root "." with no local path.
What's Changed
- Let any checkout of an app use its committed installed records by @jaspertey in #222
- Release 0.12.2 by @jaspertey in #224
Full Changelog: v0.12.1...v0.12.2