← Back to issue list

Add ability to `charmcraft close` not supported base.

View original Github issue

Metadata

Project
charmcraft
Number
#1997
Type
issue
State
open
Author
taurus-forever
Labels
Created
2024-11-18 11:58:47+00:00
Updated
2025-08-15 15:17:39+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### What needs to get done Hi, At the moment users can close [track/]risk[/branch] [only](https://canonical-charmcraft.readthedocs-hosted.com/en/stable/reference/commands/close/). However one channel/track usually has several bases, some might be deprecated or just garbage. It is a feature request to close the specific base only. Example, see the charm https://charmhub.io/data-platform-libs : ``` > charmcraft status data-platform-libs Track Base Channel Version Revision latest ubuntu 20.04 (amd64) stable 2 2 candidate ↑ ↑ beta ↑ ↑ edge 9 9 ubuntu 22.04 (amd64) stable 54 54 candidate 81 81 beta ↑ ↑ edge 81 81 ``` The base 20.04 is not updated for many years and was the earlier experiments, garbage at the moment. We should like to hide/remove/close it to avoid users confusing. Unfortunately, it is not currently possible, we can close the whole track/risk[/branch] only. Q2: BTW, can I close the whole track `latest` and then push base 22.04 only (to reopen `latest`). Will 20.04 re-appear in this case? Tnx! ### Why it needs to get done See the example above: to clean early experimental bases in the actively supported track.

Evaluation history

No evaluation history available.