fontlab_echopy.tooling.identities · declarations 001
Back to fontlab_echopy.tooling.identities
MANIFEST
module-attribute
MANIFEST
RETAINED
module-attribute
RETAINED
derive_identities
derive_identities(capture: Path | bytes, package: Path) -> dict[str, Any]
Derive the manifest; the capture must be the one the package was built from.
retain_scopes
retain_scopes(package: Path, tops: list[str]) -> dict[str, Any]
Extract retained modules' rows from the shipped, verified manifest.
The source capture of each retained module is the one recorded for it earlier (a previous retention) or else the package's capture identity, which the shipped manifest must match. Returns the provenance entry.
verify_identities
verify_identities(capture: Path, package: Path) -> dict[str, Any]
Re-derive from the raw capture; a missing capture fails instead of skipping.
write_identities
write_identities(capture: Path | bytes, package: Path) -> dict[str, Any]
Write only the manifest file into the merged package.