Artifact c624a3b2913a8804c72f6c1cc4b64ed3f2b83e998348f3a1168cbbfa2c9d6a7a:
- File
src/e2e.zig
-
2026-08-24 00:31:18
— part of check-in
[baa15c3362]
on branch ncard-rule
— N card: follow fossil's per-type write rule (#136)
landing hardcoded N text/plain with no way to say otherwise, overriding the text/x-fossil-wiki default of artifact-format 4.7.12 on every record it wrote. It now takes --mimetype and, minting a forum artifact, follows forum's rule.
The wider bug was in what landing copied. Verified against fossil's source: wiki (wiki.c:2084) and forum (forum.c:1784) write N only when the mimetype is present, non-empty and NOT the default; technote (event.c:284) writes it whenever non-empty, with no suppression. zit wrote it unconditionally for all three, so an explicit --mimetype text/x-fossil-wiki minted different bytes, and a different artifact id, than fossil produces from the same input.
The draft states the READ default, not when the card is written. Only the source shows the suppression, and only the source shows that the three types disagree -- so tests pin the divergence rather than tidying it away. (user: dmestas, size: 1272476) [annotate] [blame] [check-ins using]
- 2026-08-24 00:41:34 — part of check-in [7f9f9f8927] on branch trunk — merge ncard-rule: fossil's per-type N card write rule (#136) (user: dmestas, size: 1272476) [annotate] [blame] [check-ins using]
-
2026-08-24 00:31:18
— part of check-in
[baa15c3362]
on branch ncard-rule
— N card: follow fossil's per-type write rule (#136)