Skip to main content

Module upgrade

Module upgrade 

Source
Expand description

rk upgrade: a landed target takes this binary’s projection.

A front over the direct writer: the receipt is required, the target’s evidence is gathered once, this binary’s projection is computed from its embedded sources, and every destination is decided by its recorded kind alone. A recorded generated file whose bytes the record vouches for is replaced from the candidate; one someone edited is a conflict, replaced only where --replace names it, after its bytes are saved; a recorded seeded or state file is preserved with its current digest entering the receipt; a recorded marked region is replaced alone; a recorded destination the projection no longer produces is released to the target. A whole-file destination present on disk and absent from the receipt is a conflict too. Every conflict not named refuses before any write, collected in one pass. --stage takes every answer from a stage’s receipt. Preview by default; --apply lands under one target lock with the receipt last.

SATISFIES landing:ownership-is-elementary SATISFIES landing:a-dropped-file-stays SATISFIES landing:a-target-is-never-downgraded

Functions§

run
Upgrade the landed target to this binary’s projection.