Artifacts Associated With Ticket e77c25ca019758ded8d836a2cf1d12a9e6d24ce6
Ticket change [6515cc35f7] (rid 826) by dmestas on 2026-08-18 17:05:12:
- comment initialized to:
Considered whether zit#90 (unversioned files: fossil's answer to large assets that sync but carry no history) should be implemented in quarry instead of zit, on the reasoning that quarry is the back office and handles what fossil uses SQLite for. It should not. Four reasons, in the order they decide it. 1. RFC 0001's disposability test forbids it. 'Delete quarry's data directory, re-ingest every store, and the rendered output must be identical.' Unversioned file content is durable user data that is NOT derivable from a store, so it fails that test. Neither escape hatch applies: it is deliberately not in the zit DAG (that is the entire point of the tier), and routing it to S3 would make repository content depend on infrastructure a plain 'zit clone' does not have. 2. Sync fronting deliberately does not interpret payload. RFC 0001 section 7: quarry is a buffering reverse proxy to a per-repo 'zit serve' child that 'decodes the request section 4.1 zlib container and inspects only the login/push cards; pull traffic and payload semantics pass through untouched.' The uvfile/uvigot/uvgimme cards ARE payload semantics. Holding uv here would force quarry to start interpreting exactly what it was designed to pass through. 3. It would break killability. RFC 0001: 'the anti-lock-in guarantee is only credible if the forge is killable.' If uv lived in quarry, killing quarry would lose repository content, and a stock fossil 2.28 client syncing directly with zit serve would never see those files -- which is zit#90's own acceptance criterion. 4. This RFC already decided it. Future possibilities records 'A quarry uv bridge once zit#58 resolves: release artifacts uploaded via the UI, stored per #58's decision, served from the download page.' That is the relationship stated outright: quarry consumes zit's unversioned files and presents them. The dependency runs one way. The split that follows: storage and sync of uv content is zit; upload and presentation is quarry. The release-artifact use case is the bridge already scoped above, and it is unblocked by zit#90 rather than replaced by it. One correction for whoever picks up that bridge: the Future possibilities note points at zit#58, which chose tolerate-and-report and is settled. The live issue is zit#90.
- status initialized to: "open"
- title initialized to: "unversioned files belong in zit, not quarry"
- type initialized to: "design"
- comment initialized to:
Ticket change [108d0c9b2d] (rid 827) by dmestas on 2026-08-18 17:07:42:
- comment changed to:
Won't do. Unversioned file storage stays in zit (zit#90); quarry's role is the upload/presentation bridge described in RFC 0001 future possibilities, which zit#90 unblocks rather than replaces.
- resolution changed to: "rejected"
- status changed to: "closed"
- comment changed to:
Ticket change [06c1e09517] (rid 828) by dmestas on 2026-08-18 17:26:15:
- comment changed to:
Moved from zit#90 on the GitHub mirror, closed there in favour of this tracker. ## Why now The recurring worry is repository bloat that can never be undone: a large binary — a build artifact, a vendored asset, a dependency tree — enters the versioned DAG and every revision of it is kept forever, in every clone, recoverable only by shunning (#87). Git's answer is LFS, which zit cannot copy without breaking compatibility: a pointer file means a stock fossil client checks out the pointer instead of the content. **Fossil already has the right answer, and it is in the protocol zit speaks.** Unversioned files sync between repositories but carry no history — latest-wins by mtime, one copy, no accumulation. That is exactly the tier a 200 MB asset belongs in, and building on it keeps full compatibility because fossil understands it natively. ## Current state #58 examined this and chose **tolerate-and-report** (option b), deliberately, and that decision still stands as the right one for its moment: the sync layer fully parses and validates all three card families — `uvfile` (six-slot grammar, hash validation, deletion rules, content verified against the hash), `uvigot`, `uvgimme` — then counts them into `Client.uv_skipped` and reports "N unversioned file(s) not transferred (unsupported)" rather than failing. Nothing is silent, nothing aborts. So zit already pays the **entire wire-grammar maintenance cost** and gets none of the capability. There is no storage tier, no `zit uv` verb, and no way to create, list, fetch, or delete one. This issue is completing a path that is already half-built and already validated, not opening a new one. ## Shape - A storage tier **outside** the artifact DAG: content-addressed for dedup if convenient, but explicitly *not* history — one current copy per name, superseded in place. That non-accumulation is the whole point and is what distinguishes this from "just commit it". - `zit uv add | list | cat | rm`, matching `fossil uv`'s surface where it exists rather than inventing a second spelling — the same principle that settled the `zit tag` surface in #80. - The sync exchange: honour `uvgimme`/`uvigot`/`uvfile` for real instead of counting and skipping, gated on the pragma conforming fossil already uses (which, per #58's investigation, is the reason zit's non-support never aborted a session). ## What this does NOT solve An unversioned file is not a versioned one: no history, no diff across time, no annotate. It is the right home for assets, not for source. Worth stating in the help, because "put it in uv to keep the repo small" is a foot-gun if someone reaches for it with source. It also does not retroactively fix a repository that already committed the cruft — that is #87. ## Acceptance - `zit uv add` stores a file, `list` shows it with size and mtime, `cat` returns the bytes, `rm` removes it — none of it appearing in `timeline`, `log`, or any check-in's F cards. - Replacing an unversioned file supersedes it: the store does **not** grow by a second full copy, which is the property that makes this worth building. - A stock fossil 2.28 client syncs unversioned files with zit in both directions, byte-for-byte, pinned in `smoke` — nothing in the Zig suite can assert what a real fossil accepts. - The `uv_skipped` counting path and its report retire only when the real path replaces them, so there is never a window where files are silently dropped.
- resolution changed to: ""
- status changed to: "open"
- title changed to:
unversioned files: fossil's own answer to large assets that must sync but must not accumulate history
- type changed to: "feature"
- comment changed to:
Ticket change [69c7963cab] (rid 847) by dmestas on 2026-08-18 18:39:55:
- comment changed to:
Release binaries are forge-hosted, not repository content. Today zit's releases are served as fossil unversioned files from fossil.craftdesign.group (`/zit/uv/releases/0.1.3/...`), so release hosting still depends on a stock fossil server — the thing quarry exists to replace. Shape: upload through the UI, store the bytes the way attachments are already stored and served by hash (web.go:1622, 3221), and serve them from a per-release download page. release-manifest.json already carries per-artifact sha256 and target, so the page can show checksums rather than inventing a second record. This supersedes the framing this ticket carried when it was moved over from zit#90. That described implementing fossil's unversioned-file tier — `zit uv add|list|cat|rm` plus honouring uvfile/uvigot/uvgimme on the wire — which is zit verb and protocol work quarry cannot do, and which is not wanted: large assets do not enter the repository at all. Because these are never repository content, RFC 0001 §11 is not engaged — nothing here has to survive a re-ingest, and deleting quarry's data directory costs uploaded artifacts, which is the expected property of forge-hosted files rather than a violation. Matches Future Possibilities line 637, minus its precondition: with assets never entering the DAG there is no uv bridge and no zit-side dependency, so it does not wait on zit#58 or its successor.
- title changed to:
host release artifacts: upload and serve them from quarry
- comment changed to:
Ticket change [b92225bf20] (rid 848) by dmestas on 2026-08-18 18:39:58:
- Untracked field cmimetype: "text/x-markdown"
Ticket change [9761d23130] (rid 1084) by dmestas on 2026-08-19 11:04:39:
- priority changed to: "Low"
- severity changed to: "Minor"
- type changed to: "Feature_Request"
Ticket change [3cbad7af1b] (rid 1134) by dmestas on 2026-08-19 12:10:55:
- subsystem changed to: "web"
Ticket change [1f68719a25] (rid 12454) by zeitgeist on 2026-09-24 00:52:48:
- Untracked field number: "19"
Ticket change [3e61c2a18e] (rid 14560) by zeitgeist on 2026-10-01 03:11:59:
- icomment:
RFC 0020 (docs/rfcs/0020-unversioned-and-releases.md, landings !774 and !778) supersedes this ticket's direction, decided by the owner. Release files become fossil unversioned files rather than forge-only attachments, so they sync with fossil's own protocol, but the bytes still live where this ticket wanted them: in the repository admin's bucket (RFC 0016's binding), served by presigned download, never in the DAG. What this ticket got right stands: checksums from release-manifest.json and SHA256SUMS, a per-release page, an upload form for whoever holds the letter (y). quarry's rungs (catalog, sync front, web, releases page, mirror import) wait on nothing upstream; the zit client half is danmestas/zit#225 and #226. This ticket stays open until the releases page ships.
- mimetype: "text/x-markdown"
- icomment:
Ticket change [800ffdf29b] (rid 17890) by zeitgeist on 2026-10-06 03:03:17:
- icomment:
Done another way, as RFC 0020 decided: releases are fossil unversioned files under releases/<version>/ in the repository's own bucket, published by a version-* tag's CI run and shown on the Releases page (!774, !813). quarry 0.2.0 was published this way, so release hosting no longer depends on a stock fossil server. Checked on trunk 5fcf6f49e58a.
- mimetype: "text/x-markdown"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- icomment: