Merged
Conversation
Implement SnapUpdater class following FlatpakUpdater pattern: - check_available(): verify snap command exists - check_updates(): parse snap refresh --list output - run_update(): execute snap refresh with progress tracking - Filter system snaps (snapd, core*, gnome-*, gtk-common-themes) - Progress reporting: 0-10% checking, 10-100% installing Also adds comprehensive tests for SnapUpdater and test fixtures.
- Import SnapUpdater and instantiate in SysUpdateCLI.__init__ - Add snap availability check and concurrent execution in _run_updates() - Add _run_snap() method for running Snap updates with progress - Update _print_summary() to include snap packages with version table - Update tests to handle new snap_packages parameter
…nload - Parse snap name from progress lines to show current package instead of generic "downloading..." text, consistent with APT and Flatpak behavior - Add last_progress_report guard to prevent progress bar from moving backwards when multiple snaps download with interleaved percentages
- Update progress callback to display message field during CHECKING phase instead of always showing generic "checking..." text - Add progress report after snap store query completes showing count of available updates, so the UI doesn't appear stuck during slow queries
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.