Expand description
Cross-search: when the package resolver can’t map a Linux package to a
Homebrew/Chocolatey equivalent, fire a lightweight “unfulfilled request” to
ZPackageIndex ({base}/linux/request). A server-side hourly scheduler
drains the queue and resolves the mapping (Repology), so a FUTURE native
sandbox/HCS build resolves the package without the VM fallback. The build
itself does zero apt/buildah work — this is one cheap HMAC POST.
There is exactly one HMAC signer in the workspace
(zlayer_toolchain::package_index::sign) and the endpoint base lives in
zlayer_types::package_index::PackageIndexConfig; this module reuses both
rather than re-deriving either.
Functions§
- report_
unfulfilled - Fire-and-forget: report a Linux package the resolver could not map, so the
index can backfill it.
manageris"apt"|"apk";distroe.g."debian-12". No-op when the HMAC secret isn’t baked in. Never blocks/fails the build.