oci: add oci image manipulation support (CRAFT-579)
Metadata
Current evaluation
Merged after reviewer approval and rebase on main. Introduces OCI image manipulation to retrieve, extract, and repack Docker registry images into craft-parts overlay bases, generating new OCI archive layers.
Suggested action: —
No scores available.
Issue body
Retrieve a base image from a docker registry, extract it to use as a
craft-parts overlay base image, repack the parts prime content as
a new layer and create an OCI archive file.
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged after reviewer approval and rebase on main. Introduces OCI image manipulation to retrieve, extract, and repack Docker registry images into craft-parts overlay bases, generating new OCI archive layers. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged after rebasing on main. Implements OCI image manipulation to retrieve, extract, and repack Docker registry images into OCI archives for craft-parts overlays. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged after rebasing onto main. Adds OCI image manipulation support to retrieve base images from Docker registries, extract them as craft-parts overlay bases, repack prime content as new layers, and generate OCI archive files. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #366 More OCIRegistry functionality: check if blob already uploaded, and upload manifests (CRAFT-232) | charmcraft | merged | Added OCIRegistry functionality to verify existing blobs and upload manifests (CRAFT-232). Merged after approval by two reviewers. Changes include 64 additions and 3 deletions across two files. | |
| #7 oci: pass filename to oci archive creation method (CRAFT-585) | rockcraft | merged | Merged updates to the OCI module API enabling callers to specify the output filename when exporting an OCI image to an archive. Approved by one reviewer, passed CI, and modified three files. | |
| #576 store: get oci image blobs by posting, not getting | charmcraft | merged | Merged to resolve a craft-store regression by switching OCI image blob retrieval from GET to POST requests. Approved by one reviewer, passed CI, and implemented with a minimal two-line change across two files. | |
| #370 Added the blob upload functionality to OCIRegistry (CRAFT-234) | charmcraft | merged | Blob upload functionality added to OCIRegistry, resolving CRAFT-234. Merged after approval from two reviewers, modifying two files with a +376/-3 line change. | |
| #296 Support uploading oci-image resources. | charmcraft | merged | Merged after approval by two reviewers, adding support for uploading oci-image resources. The implementation modifies three files with 232 additions and 22 deletions. |