Skip to content

feat(manifest): a manifest can say its files are held elsewhere - #22

Merged
adammharris merged 1 commit into
mainfrom
manifest-held
Oct 28, 2026
Merged

adammharris merged 1 commit into
mainfrom
manifest-held

Conversation

@adammharris

Copy link
Copy Markdown
Member

held: {by, at} names the machine that keeps a manifest's files, and where
to ask it for one. Where the covered directory is present nothing changes.
Where it is not, the rows are held elsewhere rather than missing: check
reports nothing, manifest says who holds them, --verify verifies nothing
and exits non-zero, and --update and --add refuse rather than empty the
record from a directory this device does not have. Without held, an absent
root is a broken link as before.

Workspace::set_manifest_held and manifest --held-by/--held-at/--not-held
set it, rewriting the manifest and re-pinning the node in one change set.
ManifestStatus gains held and elsewhere.

For a photo archive on a NAS whose workspace travels to devices that will
never carry 1.66 TB. Also puts manifests.md section 3's closing paragraphs
back above 3.1, where they belong.

held: {by, at} names the machine that keeps a manifest's files, and where
to ask it for one. Where the covered directory is present nothing changes.
Where it is not, the rows are held elsewhere rather than missing: check
reports nothing, manifest says who holds them, --verify verifies nothing
and exits non-zero, and --update and --add refuse rather than empty the
record from a directory this device does not have. Without held, an absent
root is a broken link as before.

Workspace::set_manifest_held and manifest --held-by/--held-at/--not-held
set it, rewriting the manifest and re-pinning the node in one change set.
ManifestStatus gains held and elsewhere.

For a photo archive on a NAS whose workspace travels to devices that will
never carry 1.66 TB. Also puts manifests.md section 3's closing paragraphs
back above 3.1, where they belong.
@adammharris
adammharris merged commit efb3344 into main Oct 28, 2026
8 checks passed
@adammharris
adammharris deleted the manifest-held branch October 30, 2026 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant