Artifact 8c72f95b27abbe76c40650c7f151a8bfcf83293f741e79a93fc58603ac2150d5:
- File
src/update_test.zig
-
2026-07-19 19:07:34
— part of check-in
[dc36496c3b]
on branch iss6
— open: add --manifest[=r,u,t] for the working-tree manifest files
Repositories that enable fossil's `manifest` setting — fossil, althttpd, pikchr — expect `manifest`, `manifest.uuid` and `manifest.tags` in the checkout; their builds read them to stamp a version. A zit checkout could not produce them, so such a build failed or, worse, succeeded with no version embedded.
`zit open --manifest` writes them; the bare flag means `ru`, a value picks any combination of `r` (the check-in artifact), `u` (its hash) and `t` (its branch and symbolic tags). The choice is recorded in the checkout record, so every later `update` refreshes the files. Absent flag writes nothing.
The selection is explicit rather than read from the cloned repository because the two places fossil keeps it disagree and only one syncs: althttpd's versioned setting says `on`, its local config `rtu`. A checkout reading the setting could diverge from a fossil checkout carrying a local override while appearing to promise fidelity.
Contents match fossil byte for byte, including the sterilizing comment it appends to `manifest`. A tracked file of one of those names is never replaced. (user: dmestas, size: 29155) [annotate] [blame] [check-ins using]
-
2026-07-19 20:50:21
— part of check-in
[b38b3be769]
on branch trunk
— Merge iss6: open --manifest writes the working-tree manifest files
Repositories that enable fossil's manifest setting expect manifest, manifest.uuid and manifest.tags in the checkout, and their builds read them to stamp a version. A zit checkout could not produce them, so such a build failed or, worse, succeeded with no version embedded. zit open --manifest writes them; the bare flag means ru, and a value picks any combination of r (the check-in artifact), u (its hash) and t (its branch and symbolic tags). The choice is recorded in the checkout record, so every later update refreshes the files; absent flag writes nothing. The selection is explicit rather than read from the cloned repository because the two places fossil keeps it can disagree and only one syncs, so a checkout reading the setting could diverge from a fossil checkout carrying a local override while claiming fidelity. Contents match fossil byte for byte, including the sterilizing comment it appends to manifest. (user: dmestas, size: 29155) [annotate] [blame] [check-ins using]
-
2026-07-19 19:07:34
— part of check-in
[dc36496c3b]
on branch iss6
— open: add --manifest[=r,u,t] for the working-tree manifest files