Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to charmcraft close not supported base. #1997

Open
taurus-forever opened this issue Nov 18, 2024 · 3 comments
Open

Add ability to charmcraft close not supported base. #1997

taurus-forever opened this issue Nov 18, 2024 · 3 comments
Labels
Enhancement New feature or request

Comments

@taurus-forever
Copy link

What needs to get done

Hi,

At the moment users can close [track/]risk[/branch] only.

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.

@lengau
Copy link
Collaborator

lengau commented Nov 18, 2024

For question 1, I've made a store request that would be dependent on this: https://bugs.launchpad.net/snapstore-server/+bug/2088469

For #2, I don't know, but I'll ask someone on the store team to weigh in here.

@milos-lukic
Copy link

To answer #2 - 20.04 shouldn't re-appear in that case. After closing only the newly released revisions should be present.

@taurus-forever
Copy link
Author

re #2 - confirmed. After the close/re-release the 20.04 has gone:

image

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants