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.
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
feat: allow linux binaries in casks #19121
base: master
Are you sure you want to change the base?
feat: allow linux binaries in casks #19121
Changes from all commits
272ae4b
dee907d
29e28d1
3ed9d48
536ea60
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Does this imply linux x86_64? Given linux arm will be coming in the near future: what do you invisage doing there?
linux_intel
or something may make more senseThere 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.
I considered this, but it feels weird:
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.
feel like having some Linux-specific makes more sense until the majority of casks support Linux
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.
Would be nice to use a
linux: nil
state here to infer "this cask does not support Linux", at least in certain cases, rather than needing thousands ofdepends_on :macos
CC @p-linnane for thoughtsThere 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.
The problem is that if you use an
on_linux
block this assumption breaksThere 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.
@SMillerDev could be if neither of those are used.
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.
I think I'll need @Rylan12 to help me with that one. Will probably be somewhere during FOSDEM.
Check warning on line 366 in Library/Homebrew/cask/dsl.rb
Codecov / codecov/patch
Library/Homebrew/cask/dsl.rb#L366
Check warning on line 369 in Library/Homebrew/cask/dsl.rb
Codecov / codecov/patch
Library/Homebrew/cask/dsl.rb#L368-L369
Check warning on line 371 in Library/Homebrew/cask/dsl.rb
Codecov / codecov/patch
Library/Homebrew/cask/dsl.rb#L371
Check warning on line 15 in Library/Homebrew/extend/os/linux/cask/artifact/abstract_uninstall.rb
Codecov / codecov/patch
Library/Homebrew/extend/os/linux/cask/artifact/abstract_uninstall.rb#L15
Check warning on line 15 in Library/Homebrew/extend/os/linux/cask/artifact/symlinked.rb
Codecov / codecov/patch
Library/Homebrew/extend/os/linux/cask/artifact/symlinked.rb#L15
Check warning on line 18 in Library/Homebrew/extend/os/linux/cask/artifact/symlinked.rb
Codecov / codecov/patch
Library/Homebrew/extend/os/linux/cask/artifact/symlinked.rb#L17-L18