Repository navigation
feat(macutil): add Updates tab that lists and does not install - #15
Merged
Merged
Conversation
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.
Why
This Sequoia host is offered macOS Tahoe as a major upgrade. Winutil-style parity needs an Updates tab that shows Apple's list and Homebrew outdated packages. A major OS upgrade must stay unchecked. The app must not run Apple's install flag.
Scope
UpdateServiceparsessoftwareupdate --listintoAppleUpdateKind.MajororRecommended. A label or title that contains macOS Tahoe is Major.unixListonly adds--list.brew outdatedis a separate list. Update Homebrew upgrades selected packages only. Empty selection writes nothing.The Updates tab keeps Tweaks, Install, Maintenance, Standard, and Minimal. The window stays opaque
#1C1C1E. The menu name stays MacUtil.Program.fsstays last.UpdateService.fssits before leftover compile items.Help text and Copy command point at System Settings, General, Software Update.
Tradeoffs
Apple install is absent on purpose. v1 is list plus help. Brew upgrade is opt-in and explicit so the tab can still act on Homebrew without mixing that path with Apple.
Blast Radius
GUI only. Tweaks, Install, and Maintenance keep their commands. No sudo. No
/var/log. User-domain defaults still never run as root.Verification
dotnet test --filter ParseMajorUpgradepassed. Tahoe is Major, stays unchecked, 100 parses under 200 ms.dotnet test --filter NoSilentInstallpassed. Repo scan finds no Apple install flag. Brew upgrade never receives Apple labels.dotnet test MacUtilGUI.Tests --configuration Releasepassed. 29 tests.rg "softwareupdate --install"is empty./Users/test/.grok/docs/macutil-plan-media/mac-11-review.png.Do not merge this PR.