Repository navigation
Mark Boost as updating itself - #1
Merged
Merged
Conversation
Boost 1.5.0 updates itself through Sparkle. Without auto_updates, brew upgrade would also replace the app, and the two would race each other. The zap list gains the cache and HTTP storage folders Sparkle writes under the bundle id.
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.
Boost 1.5.0 updates itself through Sparkle (Kernel-Hunter/boost#4). This adds
auto_updates true, sobrew upgradeleaves Boost alone unless you pass--greedy, and the app and Homebrew don't both replace it. The zap list also gets~/Library/Caches/boost.local.appand~/Library/HTTPStorages/boost.local.app, which Sparkle writes.Please don't merge this yet. Merge it after the cask has been bumped to 1.5.0. Until then, people on 1.4.1 can't update themselves, and
brew upgradeis how they reach 1.5.0. A plainbrew upgradeskips auto_updates casks. Naming the cask (brew upgrade --cask boost) still upgrades it.brew stylereports two offenses (the desc mentions macOS, andpostflightinstead ofpostflight_steps). Both were there before this change. The cask comment explains whypostflightstays.