-
Notifications
You must be signed in to change notification settings - Fork 99
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
Improve the unattended installation scripts progress bars #865
Comments
Unfortunately, the times the script is stopped for some time, it is because something is being downloaded or installed, and it is not possible to track the progress of it from the script. A dynamic progress bar is not possible because of this, but a solution may be to display a moving spinner or symbol that at least shows the shell isn't frozen. I'm looking at the moment into ways of implementing it. |
I'm having some problems with erasing the screen to write again with tput. The goal is to make a progress bar that stays in the last line as the rest of the output is written above it using a buffer. |
Today I managed to get the progress bars working correctly. I'm going to solve issue #984, as it will make it a lot easier to implement the progress bars. |
I added the progressBar to all installers, but I run into a problem. When calling to wazuh-cert-tool and wazuh-passwords-tool the progress bar is compromised, as they have their own unbuffered outputs, I must find a way to put their outputs into the buffer. |
Merged into unified branch |
We decided to cancel the progress bar and replace it with a spinner. |
Closed with #1113 |
The unattended installation scripts may lead to confusion when installing since some steps may take a lot of time.
The scripts should show more dynamic and graphical progress bars to clarify to the users that the script is still running.
Regards,
David
The text was updated successfully, but these errors were encountered: