Skip to content
zit Artifact [9429ae999e]
Login

Artifact [9429ae999e]

Artifact 9429ae999e5ae87dedc443c7a89ce4f062342965e6f2191408789ccab1b628d4:


zit 0.14.12

zit 0.14.12 gives each new repository a random project code, as Fossil does, so two repositories made at the same place are never taken for one.

This release is from trunk. Stores, caches and the wire are unchanged from 0.14.11; nothing is rebuilt on upgrade, and no existing repository's project code changes.

A random project code for each new repository

zit init, zit import-git and zit import-fossil set a new repository's project code from the path of its store. Two repositories made at the same path, one deleted and the other created in its place, or the same path on two machines, therefore had the same code. The project code is how a peer tells repositories apart, so:

These commands now draw 20 random bytes for the code, as Fossil does, and fail before writing anything if the system has no source of randomness. A clone takes its origin's code, as before; if an origin sends none, the clone gets a random one, where Fossil leaves it without.

Existing repositories keep their codes. A code cannot change without breaking every clone of the repository, so nothing rewrites one.

import-fossil --submanifest records the old-to-new map in a technote whose text is the same on every run; its artifact hash now differs on every run, because it includes the new project code.

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.