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

Make a version toggle #251

Open
castrojo opened this issue Apr 13, 2024 · 7 comments
Open

Make a version toggle #251

castrojo opened this issue Apr 13, 2024 · 7 comments
Labels
help wanted Extra attention is needed

Comments

@castrojo
Copy link
Member

Similarly to ujust devmode and ujust toggle-nvk, let's make one that shows the branches for whatever image you're on and let's the user select:

ujust toggle-release
Current release: bluefin-dx:latest
Options to rebase to:
`latest` - Currently F39
`gts` - Currently F38
`39` - Lock device to F39
`38` - Lock device to F38

And then use the same charm selector.

@castrojo castrojo added the help wanted Extra attention is needed label Apr 13, 2024
@castrojo
Copy link
Member Author

Probably should be a new issue but it would also be cool if you just had the last 5 days of images by date in there too so you could just quickly rewind on the spot if you need to.

@bsherman
Copy link
Contributor

I'm a bit confused by this idea.

Haven't we rejected similar "switch version" concepts in the past?

Also, "branches" ... are you referring to image tags or git branches?
I'm thinking image tags... so some github GHCR API queries?

@castrojo
Copy link
Member Author

Image tags is what we should do so we don't have to keep track of the versions in here, so probably "skopeoing" the right version and tags?

@bsherman
Copy link
Contributor

Image tags is what we should do so we don't have to keep track of the versions in here, so probably "skopeoing" the right version and tags?

hmm... skopeo inspects image metadata once you already have a URL for one but doesn't let you query the registry. I think that's required to get a dynamic list.

@m2Giles
Copy link
Member

m2Giles commented Apr 13, 2024

If we do something like this, it should be a move forward. You can move from gts -> latest. Or latest -> beta. Or move from the same image version to the convenience tag.

Going backwards has possibilities of breaking and isn't a supported feature upstream.

@Malix-Labs
Copy link
Contributor

If i'm not mistaken, this has been implemented

@m2Giles
Copy link
Member

m2Giles commented Aug 10, 2024

Only in bluefin/Aurora/Bazzite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants