Repository navigation
v0.15.1 — doctor sources-only suppression and add --source files→sources migration
·
13 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Fixed
doctorno longer warns "directory is empty" on sources-only stores. A
sources-only store (the v0.14 fan-in consumer shape) has an intentionally
empty store dir — every file it links lives elsewhere in the repo, declared
viasources. Theempty-storecheck keyed off directory geometry, so it
fired a false-positive warning whose hint ("add files or remove the store")
pointed at the wrong remediation. It now suppresses when the store (or any
named target) declaressources, and the hint for a genuinely empty store
mentionssourcesas a third option.add --sourcenow migrates an existingfilesentry in one atomic write.
Adding asourcesentry for a target name that was previously afiles
entry used to error with "sources key is also listed in files; remove one" —
the only path was hand-editingstate.tomlor aremove+add --source
round-trip that briefly unlinks the live target link.add --sourcenow
drops the matchingfilesentry and inserts thesourcesentry in a single
state.tomlwrite (the files→sources fan-in conversion the v0.14 plan
envisioned), prints a "migrated fromfilesentry" notice, and reports
migrated_from_files: truein JSON. The filesystem link is untouched; the
nextapplyrepoints it.