# zit 0.14.17
zit 0.14.17 makes pushes and landings say what reached the server, and
lets a credential tool supply logins for every checkout through git's
credential-helper protocol.
This release is from trunk. The store format is unchanged from 0.14.16;
nothing is rebuilt on upgrade. The wire gains one pragma that Fossil
ignores.
## Landings publish under autosync
`zit landing open` used to write the landing into the local store, print
its id and exit 0 without pushing, so the landing did not exist on the
server until a separate `zit push`. Looking it up there gave a 404.
Every landing verb that writes a record (open, comment, accept, reject,
retarget and update) now runs the same autosync push a commit does. When
autosync is off or `pullonly`, or the push fails, the verb still exits 0,
since the record is written, and says on stderr:
zit landing: landing recorded locally; run `zit push` to publish it
With no saved remote it stays silent, as commit does. Like commit, the
landing verbs take `--no-sync`.
## A push names the remote's tip
`zit push` used to end with the artifacts it sent and nothing about where
the remote's branch now points. A client that may push but not browse the
repository had no way to confirm its check-in landed.
After a push that moved a branch, zit now asks the server for that
branch's tip and prints one line per branch:
remote trunk is now 5700d87151 (your check-in)
When the remote's tip is another check-in, because someone pushed in
between or the server kept the check-in elsewhere, it prints a warning on
stderr naming both. A commit's autosync push prints the same line on
stderr.
The question rides a `pragma zit-tip` in one extra request after the
push. A stock Fossil server ignores the pragma and says nothing about
tips, so nothing is printed against one. `zit serve` answers whoever may
pull, which already shows the tips.
## A credential-command setting
zit took a remote's login from `--password`, `$ZIT_PASSWORD`, the login
saved in the checkout after a first good sync, or a prompt. A tool that
holds the person's credential could only set up one checkout at a time.
A new global setting names a program that supplies logins over git's
credential-helper protocol, so a git helper works unchanged:
zit settings --global credential-command "quarry auth credential"
zit runs it as `/bin/sh -c "CMD get"` only when a login is needed and
nothing else supplies one: a user is named with no password, the server
refuses an anonymous attempt, the server refuses the saved login, or the
server wants HTTP Basic and the saved login cannot answer it. It writes
`protocol=`, `host=`, `path=` and `username=` lines on the helper's stdin
and reads `username=` and `password=` back, then derives and saves the
sync secret as it does for a typed password, and retries once.
A login the server accepted is reported with `CMD store`, and one it
refused with `CMD erase`, so a changed token replaces the stale saved
login without any step in the checkout. An anonymous sync to a public
repository never starts the helper.
The password passes only through the helper's stdin and stdout. It never
appears in process arguments, in the environment, in a log or in zit's
output. A helper that fails, answers no password or runs past two minutes
changes nothing: zit prompts, or fails as before without a terminal. The
setting is global only (`--global`, or `$ZIT_CREDENTIAL_COMMAND`) and is
never versioned or synced.
The protocol is git's credential-helper API (Jeff King).
## 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](RELEASE-NOTES-0.1.0.md).