feat(registry): add a binary-variant listing endpoint
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 4s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 24s

This commit is contained in:
faumaray committed 2026-12-03 23:18:41 +03:00
1 parent 349ec257f5
commit 8f68ec56e9
7 files changed
+77 -38

No files matched your search

+14
View File
@@ -716,6 +716,20 @@ dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
- Full CTest: **8 / 8 passed** in 239.95 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Registry Binary-Variant Listing Endpoint (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_registry_tests --no-color
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
```
- Build: exit 0. Registry suite: **7 / 7 passed** in 12.63 s; the binary-variant test asserts
`GET /api/v1/packages/demo-bin/1.0.0/binaries` returns the published variant with
`"yanked":false`, and the client listing/download tests still pass against the new endpoint.
- Full CTest: **8 / 8 passed** in 221.10 s.
- `clang-format --dry-run --Werror` passes on the changed C++ files.
## Limits and Unrun Checks
1. **HTTPS git fetch**: the host shell is proxy-restricted, but the Docker container could clone `https://git.faumaray.com/Void/VoidLibrary.git`; the pinned commit `3e254055e081a104f08df68dde39711bc7813518` was fetched directly for the verification above. A separate configure against the local `/home/faumaray/Projects/Library` checkout via `VBS_VOID_SOURCE_DIR` also succeeded (development-only override, checkout unmodified).