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

be explicit: no fallthrough for apps from titantium.free.fr #7799

Merged
merged 3 commits into from
Dec 5, 2014

Conversation

rolandwalker
Copy link
Contributor

Each version is specific to an OS X release.

This is already more or less in effect due to depends_on :macos, but the else clause contradicted that meaning. This syncs the conditional and the depends_on.

@rolandwalker rolandwalker changed the title be explicit: no fallthrough for apps from titantium.fr be explicit: no fallthrough for apps from titantium.free.fr Dec 4, 2014
@vitorgalvao
Copy link
Member

Sounds reasonable. All for it.

@jawshooah
Copy link
Contributor

Wouldn't it be prudent to notify the user that no installation is available? Some kind of error message?

@rolandwalker
Copy link
Contributor Author

@jawshooah yes, that is guaranteed two ways: depends_on :macos is defined for all three. Even if we didn't have depends_on, the Cask would fail under OS X 10.11, because the required url stanza would never get defined.

The depends_on error message is of course more informative.

I will revise the comment to say "define nothing" instead of "do nothing" to make that a little more clear.

@jawshooah
Copy link
Contributor

Right, forgot about the depends_on clause. Thanks!

each version is specific to an OS X release
each version is specific to an OS X release
each version is specific to an OS X release
@rolandwalker
Copy link
Contributor Author

I sincerely appreciate the review, especially as I am making lots of errors today. Updated the comment.

rolandwalker added a commit that referenced this pull request Dec 5, 2014
be explicit: no fallthrough for apps from titantium.free.fr
@rolandwalker rolandwalker merged commit 7e834a8 into Homebrew:master Dec 5, 2014
@rolandwalker rolandwalker deleted the titanium_casks branch December 5, 2014 11:17
@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