← Back to issue list

feat: backport rock upload to charmcraft 2.x

View original Github issue

Metadata

Project
charmcraft
Number
#1708
Type
pull request
State
merged
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Merged a backport enabling Charmcraft 2.7+ to use skopeo URLs directly for OCI image resource uploads. Approved by two reviewers, passed CI, and merged with 414 additions and 34 deletions across 14 files.

Suggested action:

No scores available.

Issue body

Allows Charmcraft 2.7+ to use skopeo urls directly when uploading an oci-image resource. Example: ``` $ charmcraft upload-resource lengau-test-charm example-image --image docker://ghcr.io/canonical/charmed-mysql:8.0.36-22.04_edge Image not found locally. Passing path directly to skopeo. Revision 6 created of resource 'example-image' for charm 'lengau-test-charm'. $ ```

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged a backport enabling Charmcraft 2.7+ to use skopeo URLs directly for OCI image resource uploads. Approved by two reviewers, passed CI, and merged with 414 additions and 34 deletions across 14 files.
qwen3.6-35b-a3b-mtp-q6 Merged by maintainer lengau, this change backports rock upload to Charmcraft 2.x. It enables Charmcraft 2.7+ to directly use skopeo URLs for uploading OCI-image resources without requiring local image storage.
qwen3.6-35b-a3b-mtp-q6 Merged backport enabling Charmcraft 2.7+ to upload OCI-image resources directly via skopeo URLs. The change allows passing docker:// URLs to the upload-resource command, streamlining rock uploads without local caching.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1696 feat: upload OCI image resources with skopeo charmcraft merged Merged implementation of OCI image resource uploads using skopeo. Resolves #1684 and partially addresses #1685. Approved by two reviewers, modifying 21 files with 815 additions and 82 deletions.
71%
#1684 Allow Charmcraft to upload a rock directly from the file or directly between registries charmcraft closed Closed and superseded by PR #1685. The feature enabling direct rock file and cross-registry uploads in charmcraft was addressed through the referenced pull request instead of the proposed skopeo-based workflow.
70%