Skip to content

Read extraction zips in place by default, with a staged mode and source relinking - #21

Merged
abrignoni merged 1 commit into
mainfrom
feat/archive-reference-mode
Sep 3, 2026
Merged

abrignoni merged 1 commit into
mainfrom
feat/archive-reference-mode

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Extraction zips are read in place by default. A source registers its members without copying them out, and their bytes come from the zip when processing or viewing needs them. --stage, "stage": true in a job file, or the launcher checkbox copies the media into the case instead.

  • Source record: zip path, size, mtime, per-member CRC-32
  • Gallery banner when the zip is missing or changed, with a Relink button
  • gleapp source list | relink | stage | unstage

Relink accepts a new location only when every registered member matches by size and CRC, and unstage refuses unless the zip still holds everything. On one Android image both modes produced identical rows, hashes, thumbnails and errors: 55 MB against 524 MB.

🤖 Generated with Claude Code

…ce relinking

An archive source now defaults to reference mode: members are registered without
copying them out, and their bytes are pulled from the zip on demand, into tmp/ while
a file is processed and into a bounded cache/ for the viewer. --stage on the CLI,
"stage": true in a job file, or the launcher checkbox copies the media under the case
instead. The case records the zip's path, size, mtime and each member's CRC-32; the
gallery shows a banner when the zip is missing or changed, and relink accepts a new
location only when every registered member matches by size and CRC. New source
subcommand: list, relink, stage, unstage.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@abrignoni
abrignoni merged commit c02e28f into main Sep 3, 2026
8 checks passed
@abrignoni
abrignoni deleted the feat/archive-reference-mode branch September 3, 2026 19:35
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