-
-
Notifications
You must be signed in to change notification settings - Fork 176
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
Progress indicator for just update #698
Comments
I don't think it is possible in the current setup. I agree it is not very good user experience. It is starting ublue-update, which normally runs in the background. Currently the However you can monitor the service to see what is happing if you run a
|
Maybe adding an echo with that snippet might be useful in the meantime? Just for backstory for the people who might have not been around when we did this: we had to move to a service base approach to ensure the installation could be rebased to a signed image since we can't install a signed image directly at the moment. We have a Thoughts on this? |
@bobslept & @castrojo Can echo messages be useful for now? The script (https://github.com/ublue-os/config/blob/main/build/ublue-os-just/10-update.just) seems to suggest that it just runs all three (rpm-ostree, flatpak and distrobox) updates in case ublue updater is not enabled. Or maybe a verbose version of just update without modifying the current update command as it seems to be tied to other things? |
We could do |
This is the script I have been using, does this make sense?
In case the just script is a shell script, I can try and add this to the just update script as the case for |
Alright, well if we go the route of
There is one situation, which would fail, and that is a fresh install from the bluefin iso. Because the service will correct the deployment path Adding an echo to the |
@bobslept I understand the use of I use this script personally in order to see what is being updated when I want to check if it is happening over slower connectioned when I am travelling or when I see a specific security update for the arch distrobox or flatpak. Given my usage, I tend to have auto updates turned off and hence this method. |
Sorry I think I don't understand it anymore. Recap
No need for scripts to reach that goal. If you already disable the ublue-update service, the For me it does behave like it:
Or did you want more verbose out in the case of a situation where you already did |
Apologies if I wasn't clear in my response, but this is what I was referring to.
|
Alright now I understand! Glad we sorted that part out 😄 So i did a little bit of fiddling with you script to incorporate it into the just file, so people can try it out. Defaults to full if no argument is given.
Outputs:
So this applies only to the |
This makes complete sense! Hope it gets included now :-) |
Well if you want and able to make a PR, feel free to do! Not sure how comfortable you are with git? fork the config repo, edit |
Tried my first PR on this repo: ublue-os/config#167, but it requires review I guess. Sorry, haven't ever used this before! |
Awesome! seems to have worked fine. I've added a comment there, let see what the others think of this! |
@bobslept Thank you for the encouragement :-) |
Your PR has been merged!! 🥳 It should be available for everyone when the next image rebuilds. Congrats @bmp, awesome job! |
@bobslept Thank you for all the help and encouragement :-) |
This is really nice, well done team! |
Describe the bug
Not really a bug, but couldn't find the appropriate category for this. When using
just
update`, currently, there is no progress indicator, it just asks for the sudo password and waits until everything is done.What did you expect to happen?
Can we get a a progress indicator for just update? It could just be in the form of running X, running Y rather than a percentage or a progress bar.
Output of
rpm-ostree status
Extra information or context
No response
The text was updated successfully, but these errors were encountered: