Charmcraft should allow resource revisions == 0 when specifying uploads
Metadata
Current evaluation
Resource revision 0 was accepted during `charmcraft release` uploads via merged PR canonical/charmcraft#682.
Resolution: closed resolved
Reason: PR canonical/charmcraft#682 was merged, resolving #679. Commit f17debfa implemented support and landed through merge commit 434361d0.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Example of what should be a valid command:
```
charmcraft release etcd --revision=670 --channel=latest/edge --resource=core:0
```
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Resource revision 0 was accepted during `charmcraft release` uploads via merged PR canonical/charmcraft#682. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #682, allowing resource revisions of 0 in charmcraft release commands and resolving #679. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without resolution or implementation. The request to allow resource revision 0 in charmcraft release commands received no discussion or linked pull requests. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution or comments. The request to allow resource revision 0 in charmcraft release commands was abandoned. No implementation details were recorded. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without resolution or comments, indicating the feature request was abandoned. No code changes or merge details were recorded. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/charmcraft#682
(confidence 100%)
Merged PR allowing resource revision 0 during release.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #682 Allow for resources with a rev of 0 during `charmcraft release` | charmcraft | merged | Merged PR #682 fixed charmcraft release rejecting resource revision 0, resolving #679. Implementation f17debfa landed via merge commit 434361d0. | |
| #253 Support for resource uploading | charmcraft | merged | Merged resource-uploading support in canonical/charmcraft#253 via commit f23482c8 and merge commit ed071757. | |
| #611 `charmcraft upload-resource` Uploading percentage with a wrong format | charmcraft | closed | Malformed upload-resource percentage output was replaced with progress bars in canonical/charmcraft#586, merged as e50353c8 (implementation commit ab0603b6). | |
| #457 Allow including resources when releasing charms directly in the upload command (CRAFT-381). | charmcraft | merged | Merged PR #457 (b5d735b4), adding --resource support to upload --release and fixing #456; the fix shipped in Charmcraft 1.1.2. | |
| #368 feature request: charmcraft release=last-revision | charmcraft | closed | No code change was needed: charmcraft upload <charm> --release=edge already uploads and releases the newly created revision. |