pkg-facet-wrapped/holger-facett-pip.ron
// holger — serve the facett wheels as a real PEP 503 / PEP 691 pip index.
//
// This is NOT a second index. holger-ds IS the suite's Python index (see
// `holger/.nornir/holger-ds-guide.md`); this config just points a `pip` repository
// at an archive holding facett's own wheels, so `pip install --index-url
// http://127.0.0.1:8455/pip/simple/ facett-demo` (and `facett`) resolves them the way uv/pip
// resolve anything else — HTML links carrying `#sha256=`, which the client verifies
// against the downloaded bytes.
//
// The archive is built by `xtask/holger_pip.sh` (znippy-cli, `--format python`,
// laid out as `packages/{normalized-name}/{filename}` — the layout PipRepoZnippy
// serves). Read-only by design: a wheel is published by rebuilding the archive, so
// what the index serves is always exactly what was packed.
(
exposed_endpoints: [
( ron_name: "facett", ron_url: "127.0.0.1:8454", ron_http_url: Some("127.0.0.1:8455") ),
],
storage_endpoints: [
( ron_name: "pip-store", ron_storage_type: "znippy", ron_path: "${FACETT_CHECKOUT}/dist/holger-pip/" ),
],
repositories: [
(
ron_name: "pip",
ron_repo_type: "pip",
ron_archive_path: Some("${FACETT_CHECKOUT}/dist/holger-pip/facett-pip.znippy"),
ron_base_url: Some("http://127.0.0.1:8455"),
ron_upstreams: [],
ron_in: None,
ron_out: Some(( ron_storage_endpoint: "pip-store", ron_exposed_endpoint: "facett" )),
),
],
)