Add option to `upload-resource` to upload an OCI image directly from a file.
Metadata
Current evaluation
Closed by lengau as a duplicate of #1684. The feature (upload-resource accepting an OCI file/rock directly) landed in merged PR #1696, commit fb8680ec "feat: upload OCI image resources with skopeo", backported to 2.x in #1708.
Resolution: closed superseded
Reason: The maintainer closed the issue with the comment "Duplicate of #1684", where the broader work (direct rock-file and cross-registry uploads) was implemented using skopeo in PR #1696 (commit fb8680ec), with backport PR #1708 for Charmcraft 2.x. store.py now resolves --image values that are existing files to oci-archive: paths and copies them via the ImageService.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed superseded | Closed by lengau as a duplicate of #1684. The feature (upload-resource accepting an OCI file/rock directly) landed in merged PR #1696, commit fb8680ec "feat: upload OCI image resources with skopeo", backported to 2.x in #1708. | |
| stealth/space-bunny-alpha | — | closed superseded | Closed as a duplicate of #1684 by maintainer lengau. The requested direct-from-file OCI upload to `upload-resource` was implemented in merged PR #1696 (commit fb8680ec) using skopeo, then backported to Charmcraft 2.x in #1708. | |
| stealth/space-bunny-alpha | — | closed superseded | Closed as duplicate of #1684; direct OCI file uploads landed in #1696 (fb8680ec) and were backported to Charmcraft 2.x by #1708. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed as a duplicate of issue #1684. The feature request to upload OCI images directly from files via upload-resource was superseded by the referenced issue, with no separate implementation pursued. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed as a duplicate of issue #1684. The request to upload OCI images directly from a file via upload-resource was superseded by the referenced issue. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed as a duplicate of issue #1684. The requested feature to upload OCI images directly from a file was superseded by the referenced issue. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed as a duplicate of issue #1684. The request to enable direct OCI image file uploads via upload-resource was abandoned in favor of the referenced issue, with no direct implementation added. |
Update history
No update history recorded yet.
Related work
-
Duplicate Of:
canonical/charmcraft#1684
(confidence 99%)
Maintainer comment on #1693: "Duplicate of #1684"; that issue tracked the same file/registry upload feature.
-
Superseded By:
canonical/charmcraft#1696
(confidence 95%)
PR merged as commit fb8680ec 'feat: upload OCI image resources with skopeo', implementing direct OCI-file uploads.
-
Likely Fixed By:
canonical/charmcraft#1708
(confidence 70%)
Backport of the skopeo-based upload support to Charmcraft 2.x.
-
Related To:
canonical/charmcraft#1685
(confidence 60%)
Referenced in the issue body as a bug this new option would work around.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1696 feat: upload OCI image resources with skopeo | charmcraft | merged | Merged as fb8680ec, adding skopeo-based OCI/rock uploads, including direct file and cross-registry copies; fixed #1684 and partially addressed #1685. | |
| #1708 feat: backport rock upload to charmcraft 2.x | charmcraft | merged | Merged PR #1708 (commit 7b86722c) backporting skopeo-based direct OCI-image resource uploads to Charmcraft 2.7+, letting `upload-resource` pass `docker://` URLs straight to skopeo. |