Skip to content
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

Convert 7 Casks to depends_on :macos #7760

Merged

Conversation

rolandwalker
Copy link
Contributor

It is OK to use this feature, even though it is very new, because forward-compatibility code has been in release for some time.

@rolandwalker
Copy link
Contributor Author

@vitorgalvao I left these lower down near the caveats being replaced, but still haven't thought about what's ideal. I think @ndr-qef will be around more next week.

@@ -23,11 +23,11 @@

app 'Deeper.app'

caveats do
os_version_only('10.4', '10.5', '10.6', '10.7', '10.8', '10.9', '10.10')
depends_on :macos => %w{10.4 10.5 10.6 10.7 10.8 10.9 10.10}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not '>= 10.4' instead? Same for maintenance. Are we preferring numbers over names? It’s the same to me, but I was going to start using the version symbols.

@rolandwalker
Copy link
Contributor Author

I'll switch them to the symbols.

For those two Casks, every release is tailored to a single OS X release, as they do some very system-specific fiddling. So, nobody should install the 10.10 version on 10.11. I was going to revise the else on all three of these (there is also onyx.rb) in a separate PR but didn't want to cloud the issue.

from caveats `os_version_only`.
:lion
:mountain_lion
:mavericks
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this not also include :yosemite? Same for maintenance.rb

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

from caveats `os_version_only`.

Also tweak unrelated version-specific caveat.
from caveats `os_version_only`.

Also tweak unrelated version-specific caveat.
from caveats `os_version_only`.
from caveats `os_version_only`.
from caveats `os_version_only`.
from caveats `os_version_only`.
@rolandwalker rolandwalker force-pushed the mass_convert_depends_on_macos branch from f3ef189 to c4122c0 Compare December 4, 2014 01:20
rolandwalker added a commit that referenced this pull request Dec 4, 2014
@rolandwalker rolandwalker merged commit 8084077 into Homebrew:master Dec 4, 2014
@rolandwalker rolandwalker deleted the mass_convert_depends_on_macos branch December 4, 2014 19:42
@Homebrew Homebrew locked and limited conversation to collaborators May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants