v1 repository tools: remove misleading commands and guard receives #49

Closed
forge wants to merge 0 commits from v1-repo-cli-20260923 into v1-integration-20260923
First-time contributor

pkg6repo previously accepted URI/TLS and filter options it ignored, let several no-op or destructive commands report success, and exposed a purge of historical obsoleted entries. This change rejects unsupported usage before mutation, removes the purge/archive overloads, preserves genuine pkg5 pkg.obsolete catalog behavior, and documents the surviving local commands in an illumos-style pkg6repo(1) page. pkg6recv now preflights requested packages, fails on empty or ambiguous selections, and says clearly when recursive receive can leave partial data. The legacy export uses atomic no-clobber output.

Validation: pkg6repo 28/28, pkg6recv 9/9 and focused libips export tests passed, fmt clean. Independent Opus review found no code blocker; it identified package manpage staging and release test-inventory updates, which will land on the integration branch before the RC tag. This draft targets the v1 integration line.

`pkg6repo` previously accepted URI/TLS and filter options it ignored, let several no-op or destructive commands report success, and exposed a purge of historical obsoleted entries. This change rejects unsupported usage before mutation, removes the purge/archive overloads, preserves genuine pkg5 `pkg.obsolete` catalog behavior, and documents the surviving local commands in an illumos-style `pkg6repo(1)` page. `pkg6recv` now preflights requested packages, fails on empty or ambiguous selections, and says clearly when recursive receive can leave partial data. The legacy export uses atomic no-clobber output. Validation: `pkg6repo` 28/28, `pkg6recv` 9/9 and focused libips export tests passed, fmt clean. Independent Opus review found no code blocker; it identified package manpage staging and release test-inventory updates, which will land on the integration branch before the RC tag. This draft targets the v1 integration line.
cli: make repository and receive commands fail explicitly
All checks were successful
CI / Linux (fmt / clippy / nextest / e2e / docs) (pull_request) Successful in 6m6s
CI / illumos (OpenIndiana) build + nextest (pull_request) Successful in 7m44s
f0ec530ead
Owner

Superseded by #54, which brings the whole RC13 line (feat/historical-import, a strict superset of v1-integration-20260923) to main in one pull request, as decided in ADR-015 item 6. Nothing from this branch is lost; closing to keep one integration path.

Superseded by #54, which brings the whole RC13 line (`feat/historical-import`, a strict superset of `v1-integration-20260923`) to `main` in one pull request, as decided in ADR-015 item 6. Nothing from this branch is lost; closing to keep one integration path.
toasterson closed this pull request 2026-09-27 13:13:06 +00:00
All checks were successful
CI / Linux (fmt / clippy / nextest / e2e / docs) (pull_request) Successful in 6m6s
CI / illumos (OpenIndiana) build + nextest (pull_request) Successful in 7m44s

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
OpenIndiana/ips!49
No description provided.