Expand description
bynk publish and bynk yank (packaging slice 4c, #2287, decisions B and
F): the client side of the publish API.
publish checks the package, packs it, uploads it to the registry its
organisation routes to, and then reads the new line back through the
ordinary verifying client — so a server that signed anything other than
what was sent is caught at once.
Structs§
- Published
- What
publishdid.
Functions§
- publish
- Publish the package at
project(which must already passbynk check). Withexpect_checksum, refuse — before anything is uploaded — unless the tree packs to exactly that checksum (#2472, decision C): what an editor showed in a plan is what gets published, or nothing is. - yank
- Yank (or, with
undo, un-yank)packageversionthrough its registry’s API, and confirm it by reading the index back.