Expand description
“Pack and Go”: an assembly with everything it consists of as one ZIP file.
The multi-level BOM of a revision is resolved with a revision rule
(default as released); the ZIP holds the current version of every file
of every resolved revision in a folder <item>_<revision>/, plus
bom.csv– the indented BOM (the same as the BOM CSV export),manifest.json– root, rule, every revision with its files and SHA-256 and the change order that released it with its approvers (released_by), and the BOM lines the rule could not resolve.
The archive is written to a temporary file in the vault (so it can be
larger than memory) and streamed; the file is unlinked right after it is
opened. ZIP writing: the zip crate (MIT), Deflate only.
Structs§
- Package
- A finished archive: an open, already unlinked temporary file.
Functions§
- build
- Builds the package of a revision.