Implement `charmcraft close`
Metadata
Current evaluation
Implemented charmcraft close <name> <channel> in merged PR #530 (commit 9310ddaf), using Charmhub's release endpoint with a null revision to close channels.
Resolution: closed resolved
Reason: Merged PR canonical/charmcraft#530 at commit 9310ddaf added the close command. The implementation accepts a charm name and channel, passes revision=None to the release endpoint, and reports successful closure.
Evaluated by: mr-cal-bot
No scores available.
Issue body
There needs to be a way to close channels, bringing over syntax from snapcraft, the following syntax should be possible:
charmcraft close <name> <channel>...
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Implemented charmcraft close <name> <channel> in merged PR #530 (commit 9310ddaf), using Charmhub's release endpoint with a null revision to close channels. | |
| stealth/space-bunny-alpha | — | closed resolved | Implemented and merged charmcraft close, allowing Charmhub channels to be closed through the release endpoint. | |
| stealth/space-bunny-alpha | — | closed resolved | charmcraft close was implemented and merged in PR #530 via commit 9310ddaf, closing Charmhub channels through the release endpoint with a null revision. | |
| stealth/space-bunny-alpha | — | closed resolved | charmcraft close was implemented in merged PR #530 (commit 9310ddaf), enabling Charmhub channels to be closed through the release endpoint. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without implementation. The charmcraft close command was abandoned after API clarification confirmed the release endpoint handles channel closure by setting revision to null. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation. The charmcraft close command request was clarified: the Charmhub API requires setting revision to null on the release endpoint to close channels across all bases. No PR or fix was created, indicating the feature was deferred. | |
| qwen/qwen3.6-35b-a3b | — | — | The charmcraft close feature request was closed without implementation. A maintainer clarified the API requires setting revision to null on the release endpoint, but no code changes or pull requests were submitted. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | The charmcraft close command request was closed without implementation. A maintainer detailed the necessary API approach, but no code changes or pull requests followed, indicating the feature was abandoned. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/charmcraft#530
(confidence 100%)
PR #530 was merged as commit 9310ddaf and added the CloseCommand implementation.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #530 Implement the 'close' command to close channels in Charmhub (CRAFT-493). | charmcraft | merged | Merged PR #530 as commit 9310ddaf, adding charmcraft close to close Charmhub channels and fixing #232 (CRAFT-493). | |
| #357 How to "unrelease" a charm? | charmcraft | closed | Unreleasing a charm was resolved with `charmcraft close`, added to master/edge so an accidental Charmhub channel release can be removed. |