-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
calhash, deeper, maintenance, onyx: use array for allowed macOS releases #154556
calhash, deeper, maintenance, onyx: use array for allowed macOS releases #154556
Conversation
8a20014
to
90cc30a
Compare
Casks/c/calhash.rb
Outdated
end | ||
|
||
url "https://www.titanium-software.fr/download/#{MacOS.version.to_s.delete(".")}/CalHash.dmg" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@EricFromCanada Is MacOS.version
now available when using SimulateSystem?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MacOS.version
always returns the actual OS version and ignores SimulateSystem
completely right now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was my understanding that we shouldn't be using MacOS.version
anymore because it cannot be simulated where necessary now or in future. Which based on it still ignoring SimulateSystem
we should probably keep the versions hard-coded in theon_{system}
blocks for now.
90cc30a
to
d18655d
Compare
d18655d
to
3331856
Compare
An improved take on the issue addressed in #154503, relying on brew changes made in Homebrew/brew#15977. Applies the same changes to all apps from the same vendor, using syntax that wasn't originally available to define an exact list of allowed macOS releases. Each retains the Ventura block's
:or_newer
to avoid issues with CI once macOS Sonoma testing starts, or oncebrew audit
is updated to fully support SimulateSystem.