-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
Rework just update
to be a flex move
#781
Comments
I like the idea of having a tool that lets you trigger the automatic task, but in a way where you can observe (and optionally approve) each step. This is useful for debugging, and also useful whenever you want to confirm that the automated task that happens in the background is truly doing what you expected it to do. The best automation triggers a series of well-understood, previously-manual steps, but sometimes you do want to step through that automation step-by-step and get better debugging output on what it think it did. I can foresee some day where the automatic bluefin upgrade process silently fails due to some bug, and this sort of feature might help detect/debug that faster. |
Alright let's see how it feels, added the binary, we'll leave the |
Looks I'm late to the discussion, but I'm excited about the proposed change! When I run |
The close as automatic, let's reopen to get feedback. Command is |
After having looked over tograde, I think this is a fantastic idea. More verbosity during manual updates is a welcome change. Would also be nice to carry over to Bazzite as well |
Just moved to Bluefin and I'm actually impressed by the detail topgrade gives you :) |
This is weird, I don't use toolboxes so maybe it's conflicting with my distroboxes? |
The problem stems from toolbx recognizing distrobox containers as toolbx containers You can check this out with running |
I need to check how distrobox tags it's own containers to see if we can add to topgrade a check that compares if it's toolbx or actually a distrobox. This might be a welcome patch since I don't think it's unheard or to have both toolbox and distrobox installed. I also currently have some reservations about the upgrade being applied live and wonder if we can set a flag or option. |
Yeah apply live is an odd thing to have by default, maybe we can change their mind? |
I'm not seeing where apply-live is being set in topgrade. Here's the function for FedoraImmutable. https://github.com/topgrade-rs/topgrade/blob/78dc567226be38491dad23c4de42ed841bc46bef/src/steps/os/linux.rs#L237. I'll keep poking around the repo to see if we are pulling something else. For getting around the toolbox trying and failing to upgrade distrobox containers, there is already a builtin flag for disable individual components. Additionally, there is a flag to ask for user input if a component fails. But our command could look like: And if you are using toolbox instead this could have some sort of toggle. It also has a config file as well that we can specify. |
@gerblesh I think this would be a great way to modernize ublue-update. Basically turn it into a scheduler for topgrade and reduce the maintenance burden. @m2Giles My suggestion is we treat this like just and always call topgrade like: Here's a working example config:
|
@KyleGospo I 100% agree, it would also make
I think this is definitely the way to go though, and i'm sure most of these could probably be solved by making scripts to be executed by topgrade, and (if needed) having a script to do system checks before running topgrade |
#3 should be working today, though how topgrade is launched likely matters. |
I realized why I don't like the echoless
just update
with ublue-update. I'm either in 2 modes when I'm using my computer. Automatic, or stick shift. Sometimes I just have to do it the old fashioned way, but of course the automatic is better in every metric for everyday driving.I propose adding topgrade-rs to the base bluefin image and then changing
just update
to handle that. But in a way that lets us keep ublue-update because we need that for the transparent rebase to the signed image still.So when we want to remember what it was like to do all this stuff by hand we can use it as our nice fidget spinner. Plus it finds lots of stuff, I think it'd be an improvement and another neofetch-like thing people could show off.
The text was updated successfully, but these errors were encountered: