feat(cli): add vbs binaries list and fetch
This commit is contained in:
1 parent
8245a209a5
commit
8fd8c34525
8 files changed
+158
-1
No files matched your search
@@ -136,6 +136,10 @@ Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B
|
||||
- Added `Package::publish_binary_variant` (reads the artifact, computes SHA-256, optionally signs the canonical binary message with `--signing-key`, sends `X-Binary-Signature`/`X-Binary-Public-Key`) and `Package::fetch_binary_variants` (parses a release's binary list from the registry detail JSON) in `RegistryClient`.
|
||||
- Wired `vbs publish-binary --registry --name --version --variant --file [--signing-key] [--token-env]` into `src/Main.cpp`; the registry binary-variant test now publishes/lists through the client API in addition to the loopback endpoint checks.
|
||||
|
||||
- **Wave 30 (Binaries CLI)**:
|
||||
- Added `vbs binaries list|fetch` backed by `Package::fetch_binary_variants`: `list` prints one line per variant (`id sha256 size signed|unsigned`), and `fetch` resolves the variant, builds the registry download URL, and downloads the artifact with SHA-256 verification via `download_binary_artifact`.
|
||||
- `vbs_cli_contract` covers the help/error contracts; the live registry CLI E2E now publishes a binary variant with `vbs publish-binary`, lists it, and fetches it byte-for-byte.
|
||||
|
||||
## Remaining future scope
|
||||
|
||||
- **Post-v1 Expansion Roadmap ([21-expansion-roadmap.md](../roadmap/21-expansion-roadmap.md) & [20-future-translation-platforms.md](../roadmap/20-future-translation-platforms.md))**: Live `conan` CLI verification (Track B3), Track C (macOS/Windows ports + dual-profile cross-compilation), Track D3 signing (SBOM, Ed25519 primitives, trusted-key enforcement and distribution, binary-variant signing and distribution materialization, the #52 built-in-backend capability probe, and the VoidLibrary pin bump to `0002e74` done), Track E3 (daemon core, bounded `describe`, build-serving, dependency materialization, daemon-backed IDE metadata, compdb export, IDE config generation, editor watch poll and bounded long-poll done; dedicated external editor plugins remain), and Track E4 (`Void::Net`/`Void::Sqlite` alignment) remain planned scope.
|
||||
|
||||
Reference in new issue
Block a user