Skip to main content

Module publish

Module publish 

Source
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 publish did.

Functions§

publish
Publish the package at project (which must already pass bynk check). With expect_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) package version through its registry’s API, and confirm it by reading the index back.