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

ui: Updater: More verbose when running #388

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

devtekve
Copy link
Contributor

@devtekve devtekve commented Aug 3, 2024

This should help people to feel less frustrated when they tap on "check" and it just goes grey and it just seems like hanging in there...

Added multiple Params.put() calls throughout the updater process to provide detailed status updates. This includes stages like setting git options, copying update files, performing git cleanup, and checking current branches and commits. These changes improve transparency and tracking of the update process.
Updated several "UpdaterState" messages for consistency and clarity. Moved certain status updates closer to their respective operations to provide real-time feedback. This enhances readability and ensures users receive pertinent updates throughout the process.
Added parameter updates to provide user feedback during the update and check processes. This includes indicating that an update request or a check is being initiated, and specifying that the git cleanup might take a while.
Reorder cloudlog.info entry for SIGUSR1, ensuring parameter update messages are set before logging. Also, make minor capitalization adjustments to UpdaterState messages for consistency.
Changed param assignments in signal handlers to utilize the `self.params` instance variable. This ensures consistency and improves code readability by avoiding reliance on the global `params` object.
@sunnyhaibin sunnyhaibin changed the title Ui: Making the updater be a bit more verbose when running ui: Updater: More verbose when running Aug 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.

1 participant