Make explicit that image resources are not uploadable by tag
Metadata
Current evaluation
Closed as obsolete with Charmcraft 3, which removed the affected legacy bundle features in #2320; no tag-specific validation or documentation fix was cited.
Resolution: closed stale
Reason: The closing maintainer comment from @lengau on 2024-08-07 said it was no longer relevant with Charmcraft 3. PR #2320 (commit 2cb4db71) removed the affected legacy bundle features, so the request was abandoned rather than fixed.
Evaluated by: mr-cal-bot
No scores available.
Issue body
We only support uploading image resources using the image id or its digest, not its tag.
Currently, however, if you write `--image=myrepo:stable` charmcraft thinks that the passed string is a digest, and fails to find it. It should detect that it's a tag and fail with an error like "The --image option must refer to an image id or a digest, not a tag.", to simplify user correction.
Futrthermore, the documentation should explicit that tags are not supported.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed stale | Closed as obsolete with Charmcraft 3, which removed the affected legacy bundle features in #2320; no tag-specific validation or documentation fix was cited. | |
| stealth/space-bunny-alpha | — | closed superseded | Superseded by Charmcraft 3’s replacement of legacy image-resource handling; the maintainer closed it as no longer relevant. | |
| stealth/space-bunny-alpha | — | closed superseded | Superseded by Charmcraft 3's explicit --image-id and --image-digest options, replacing ambiguous legacy --image tag handling; no standalone fix was cited. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Superseded by charmcraft 3. The tool now uses explicit --image-id and --image-digest flags, eliminating the ambiguous --image tag handling and resolving the reported UX issue. | |
| qwen/qwen3.6-35b-a3b | — | — | Superseded by charmcraft 3, which resolved the image upload ambiguity. The proposed deprecation of --image in favor of explicit --image-id and --image-digest options became unnecessary with the new version. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Superseded by charmcraft 3, which resolved the CLI ambiguity. The proposed deprecation of --image in favor of explicit --image-id and --image-digest options was rendered unnecessary by the v3 release. |
Update history
No update history recorded yet.
Related work
-
Superseded By:
canonical/charmcraft#2320
(confidence 95%)
Charmcraft 3 removed legacy bundle features, making the old --image tag-handling request obsolete.
Related issues
No related issues found above the similarity threshold.