zit 0.14.14 fixes a push into zit serve that could report success with
the server missing artifacts, makes clones, large checkouts and commits on
large stores cheaper, and adds ls --depth.
This release is from trunk. Stores, caches and the wire format are unchanged from 0.14.13; nothing is rebuilt on upgrade.
Push into zit serve lands everything
A push from a store that holds clusters could finish with exit 0 while the server held fewer artifacts than were sent. Pushing the quarry repository (21,503 artifacts) into an empty server left it holding 15,444, and a second push or a pull said the two were in sync.
The server dropped a delta whose basis it did not hold yet and asked only for the basis, expecting the pusher to announce the delta again. A pusher that holds clusters never does. Now:
- The server asks again for each delta it dropped, after its basis, and asks an accepted push for anything its own clusters name and it lacks.
- The pusher sends each basis before the deltas built on it, and sends a delta again when its basis is asked for later.
- A check that refuses pushes built on a stale branch seed no longer refuses while the server's history still has gaps.
The same push now lands all 21,503 artifacts in 28 rounds. A stock Fossil push lands them all too, though in many more rounds.
Stores filled by an earlier push may be short. zit verify passes on
such a store, because every artifact it holds is sound. Compare the artifact
count from zit stat on both ends. To repair a short server, upgrade both
ends and push again.
Pull was not affected.
Faster clones, checkouts and commits
- Several checks that re-hash data or walk a whole set now run only in Debug and ReleaseSafe builds and in tests. A quarry clone takes about a quarter less client CPU, and checking out NetBSD's pkgsrc (68,570 files) takes 2.6 s of CPU instead of 31 s.
- Opening a store to write reads each frame header once, through a block cache, instead of with two reads. A one-file commit on a 675 MB store takes about 2 s instead of about 4 s.
ls --depth
zit ls --depth=N lists N levels below --under (or the root) and names
each deeper directory once, with a trailing /. Under --long or --size
it shows that directory's file count. Nothing below the depth is read.
Fossil 2.29
The interoperability checks now pass against Fossil 2.29 as well as 2.28.
2.29 turns forbid-delta-manifests on by default; zit still writes delta
manifests only in a repository that already holds them.
Qualification
The release manifest records native qualification against the exact tagged source archive on macOS ARM64, Linux x86-64 and Linux ARM64, using the pinned Zig 0.17.0 toolchain. Publication is gated on unit and end-to-end tests, Git differentials, deterministic simulation, seeded fuzzing, and Fossil interoperability checks on every distributed target.
For the basis of the conformance claim, see the 0.1.0 release notes.