-
-
Notifications
You must be signed in to change notification settings - Fork 47
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 Info screen on terminal when updating any installed package #1106
Comments
that would be very hard to implement because all the scripts do is parse github to get the latest version and then update. We would need to figure out of the size of the package before updating, and not to mention this will be different for other sites. |
This is an interesting issue. I also find it annoying to have to go and see the download status in the app folder directly, to be honest. I've been wanting to do something APT or PacMan-style for a long time, regarding updates... but that would require some additional scripting tool that I don't know about. Currently, it is possible to simply "unsilence" the scripts during the download process... but since the updates happen "in parallel", the information would end up crossing each other, creating confusion. I need to find a way to create a "fixed" screen where each process continues to run, before continuing the entire update process. I would like to see the list of updateable programs, and all the progress bars that are going on, and only at the end of all the updates, continue the general update process. Like APT and Pacman do. Is there a solution that does this? |
@Premjit-Developer is this what you are looking for? simplescreenrecorder-2024-11-13_00.46.46.mkv.mp4It's completely doable, but I'd like to provide a better interface... if I find one. |
What about using |
Well, fancy progress bars in pure |
Yes, And also If a user cancels the update, the partially updated program remains in the temp folder. To ensure consistency, the temp folder should be cleared when rechecking for updates. |
this is already covered by this function
this runs also when
this function is also a part of |
In this example I removed the three This is what is happened, with parallel updates simplescreenrecorder-2024-11-17_02.52.09.mkv.mp4 |
in brief, what you are asking for can be already done... but without the parallel updates |
The two functions involved for the previous video were these
changed like this
|
the command to run the AM-updater script is |
and this is the function responfile of running the above function in parallel for all apps installed
|
Today I installed simplescreenrecorder-2024-11-17_20.42.51.mkv.mp4 |
NOTE, I am posting videos of the tests and the BASH functions involved to get the opinion of people more experienced than me. I honestly have no idea how to start this rework. |
Just noticed that appimageupdatetool rejects connections via Torsocks @probonopd
where ... is a number |
I'm working on this issue and this is what I'm able to do for now simplescreenrecorder-2024-11-19_21.08.33.mkv.mp4any idea on how to have a linear output instead of the one of If you have not seen well in the video, I used
instead of the one you all have now
any suggestion is wellcome |
in my previous attempt I have tried to use I need a best way to detect only percentages (also for updates via |
If you want to know what is the output by removing simplescreenrecorder-2024-11-19_21.24.40.mkv.mp4 |
the behaviour changes because for I supose that it would be beter if I add a "flag", like in |
...new flag "--debug" to see the output of the AM-updater scripts when running fix #1106 (comment)
I added the ability to use the If you want to help me speed up the release, go into developer mode and update AM
after that, do some test updates, you can also use the To exit developer mode, run this command
IMPORTANT, if you have |
This is the behaviour simplescreenrecorder-2024-11-20_07.28.34.mkv.mp4 |
Just done a quick test with Topgrade, no issues here |
@Premjit-Developer let me know if this will fix your issue. |
* Add flags support for the "-u" or "update" option... ...new flag "--debug" to see the output of the AM-updater scripts when running fix #1106 (comment) * Update README.md * More clean update process
Thank you for your effort in implementing this update feature. However, as I mentioned earlier, when using the update feature on a program for the second time, it does not clear the temporary data of that program. Additionally, why not display the info screen directly without requiring the update.check.mp4 |
You may not like the answer, but it's purely for aesthetics. I like having a clean and non-invasive output. Unfortunately, from what I know about BASH, putting together aesthetics and parallel updates is difficult. When I had applications that updated one at a time, everything was more pleasant to look at, but since I introduced parallel updates, I couldn't make them coexist with aesthetics, and the messages end up overlapping, as you may have seen in one of the first videos of this issue.
Just found the fix for this |
...fix re-updating where an update is broken does not creates the tmp directory fix #1106 (comment)
this whas happening because of this
but I not noticed that the function uses
run And let me know if this works now. |
You should update to Appman 9.1.2-1 this is what I changed 1f24813 @Premjit-Developer let me know |
It is working correctly. |
Thanks for reporting this bug, it was a valuable feedback. |
Is your feature request related to a problem? Please describe.
When updating any installed package it's really difficult to understand how much data is required to update the package or how much data left to update that package.
Describe the solution you'd like
Write here
Describe alternatives you've considered
Write here
The text was updated successfully, but these errors were encountered: