WIP: Import pkg5 archives through atomic repository generations #45

Closed
forge wants to merge 2 commits from v1-atomic-import-20260923 into main
First-time contributor

Implements the atomic importer foundation for #38 and pkg5 compatibility in #42. One multi-publisher p5p is validated and published by a single generation-pointer rename, with durable receipts, exact retry as no-op, conflicting FMRI rejection, stable catalog paths, read availability and recovery. Genuine pkg.obsolete manifests remain in pkg5 catalogs; the overloaded obsolete-package HTTP/CLI behavior is removed.

Validation: 30 atomic importer tests pass; 163 non-e2e focused tests passed across libips/pkg6repo/pkg6depotd; a real pkg5-produced p5p was imported, listed, and retried without change. CI and live pkg5-client round trips remain pending. The current importer is a foundation for the separate retirement/snapshot work; this PR remains WIP until integrated candidate verification.

Implements the atomic importer foundation for #38 and pkg5 compatibility in #42. One multi-publisher p5p is validated and published by a single generation-pointer rename, with durable receipts, exact retry as no-op, conflicting FMRI rejection, stable catalog paths, read availability and recovery. Genuine pkg.obsolete manifests remain in pkg5 catalogs; the overloaded obsolete-package HTTP/CLI behavior is removed. Validation: 30 atomic importer tests pass; 163 non-e2e focused tests passed across libips/pkg6repo/pkg6depotd; a real pkg5-produced p5p was imported, listed, and retried without change. CI and live pkg5-client round trips remain pending. The current importer is a foundation for the separate retirement/snapshot work; this PR remains WIP until integrated candidate verification.
Import pkg5 archives through atomic repository generations
Some checks failed
CI / illumos (OpenIndiana) build + nextest (pull_request) Failing after 8m59s
CI / Linux (fmt / clippy / nextest / e2e / docs) (pull_request) Failing after 32m33s
ffbb578475
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:12:46 +00:00
Some checks failed
CI / illumos (OpenIndiana) build + nextest (pull_request) Failing after 8m59s
CI / Linux (fmt / clippy / nextest / e2e / docs) (pull_request) Failing after 32m33s

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!45
No description provided.