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

feat: added ujust toggle-release command #253

Closed
wants to merge 6 commits into from
Closed

feat: added ujust toggle-release command #253

wants to merge 6 commits into from

Conversation

damiankorcz
Copy link

@damiankorcz damiankorcz commented Apr 13, 2024

Description

This implements the feature mentioned in #251. I've tested it locally on my bluefin-nvidia install.

Usage

  • Run ujust toggle-release to get a selection menu of available releases. Enter on the release you want and it should trigger an appropriate rpm-ostree rebase for your current image.
  • Run ujust toggle-release <option> to directly run the rebase; skipping the selection menu e.g. ujust toggle-release 39. Available options:
    • latest
    • gts
    • 40
    • 39
    • 38
  • Selecting the same release as currently installed will result in a message You are already on this release! and it will exit the script.
  • Run ujust toggle-release help to see the description on how to use this command.

@castrojo
Copy link
Member

Thanks for working on this! Ideally I think we'd want to poke at ghcr.io with skopeo to get the latest versions instead of putting the versions in the justfile, but this will do the job!

(I'll let the others chime in with reviews, thanks again!)

@damiankorcz
Copy link
Author

Note to self: Run the just --unstable --fmt -f command on the file before submitting 😅

@castrojo
Copy link
Member

Dang I totally forgot about this issue: ublue-os/bluefin#832

@damiankorcz damiankorcz closed this by deleting the head repository Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants