-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make formula upgrades more liberal based on bottle
When we're installing a formula from a bottle, we currently always upgrade all dependencies in the dependency tree to be safe. However, if we're installing a bottle and the `runtime_dependencies` within that bottle's tab all have older or equal versions to those already installed: we do not need to upgrade these dependencies. This should help a lot of upgrading a lot of the time, at least for users using bottles (which is the huge majority). The only downside or other noticeable change is that this requires us to download or attempt to download the bottle tab before we compute the dependencies at installation time. Co-authored-by: Kevin <[email protected]>
- Loading branch information
1 parent
fc72dfc
commit 9fcdaa2
Showing
2 changed files
with
40 additions
and
10 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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