holger-znippy-package-repository — crate card
Reverse-engineered (from source — verify, don't trust the name)
- One-line pitch: znippy-archive-backed repository that serves znippy packages themselves — the one format that is znippy all the way down.
- Does:
ZnippyRepoZnippyimplementsRepositoryBackendTrait. Unlike every other backend (which use a znippy archive as a backing store for a foreign ecosystem), this serves znippy's own native.znippypackages (merged/signed, produced by the znippy CLI) as the artifact, over a small Holger-native HTTP surface:GET /{repo}/(newline list of packages),GET /{repo}/{name}/{version}({name}-{version}.znippy),GET /{repo}/{path}(path-passthrough). Optional provenance: with thesignfeature,with_archive_verifiedverifies the backing archive's detached-CMS signatures against trusted roots and recordsverified_signer(Some(common_name)); off by default (matches znippy's opt-insignphilosophy). - Key deps:
traits,znippy-common(ZnippyArchive/ZnippyReader;signfeature enablesznippy-common/sign),anyhow. - Shape: lib, single
lib.rs. Features:sign(provenance verification, off by default so the default dep graph doesn't requireznippy-common/sign— matters for transitive consumers resolving znippy from crates.io),testmatrix. - Observed role in the workspace: Registered in server-lib as
repository-znippy-package; server-lib's ownsignfeature forwards to this crate'ssign, which the server-cli enables soron_trusted_roots-configured repos verify provenance before serving.
Fill in (one line each — only the human knows these)
- Primary consumer(s):
- Why it exists (vs the obvious alternative):
- Hard constraint (airgap / no-C-deps / no-FFI / pure-Rust / etc.):
- Release cadence & independence (rides a parent? own repo someday?):
- Status (production / prototype / experimental / stubbed):
- Must-NOT-change invariant:
- Biggest known gap or TODO:
- Anything a newcomer would get wrong about it: