We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
brew deps
brew info
brew install wget
For casks the basic informational commands do not provide any information about dependencies.
❯ brew cat unity | grep depends depends_on cask: "unity-hub" ❯ brew deps unity ❯ brew info unity ==> unity: 2023.2.20f1,0e25a174756c https://unity.com/ Not installed From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/u/unity.rb ==> Name Unity Editor ==> Description Platform for 3D content ==> Artifacts Unity-2023.2.20f1.pkg (Pkg) ==> Analytics install: 84 (30 days), 438 (90 days), 1,506 (365 days)
Homebrew should give basic information about dependencies in deps and info commands. For example it might look like this instead:
deps
info
❯ brew deps unity unity-hub ❯ brew info unity ==> unity: 2023.2.20f1,0e25a174756c https://unity.com/ Not installed From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/u/unity.rb ==> Name Unity Editor ==> Description Platform for 3D content ==> Dependencies unity-hub ==> Artifacts Unity-2023.2.20f1.pkg (Pkg) ==> Analytics install: 84 (30 days), 438 (90 days), 1,506 (365 days)
For formulae it is easy to get information about dependencies.
❯ brew cat git | grep depends_on depends_on "gettext" depends_on "pcre2" depends_on "linux-headers@5.15" => :build depends_on "openssl@3" # Uses CommonCrypto on macOS ❯ brew deps git gettext pcre2 ❯ brew info git ==> git: stable 2.45.2 (bottled), HEAD Distributed revision control system https://git-scm.com Not installed From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/g/git.rb License: GPL-2.0-only ==> Dependencies Required: gettext ✔, pcre2 ✔ ==> Options --HEAD Install HEAD version ==> Caveats The Tcl/Tk GUIs (e.g. gitk, git-gui) are now in the `git-gui` formula. Subversion interoperability (git-svn) is now in the `git-svn` formula. ==> Analytics install: 155,171 (30 days), 435,482 (90 days), 1,522,816 (365 days) install-on-request: 152,412 (30 days), 427,717 (90 days), 1,500,820 (365 days) build-error: 25 (30 days)
It will be helpful to users to know what dependencies will be installed with a cask.
N/A
The text was updated successfully, but these errors were encountered:
Agreed, this would be a good addition.
Sorry, something went wrong.
@wickles @MikeMcQuaid I attempted an implementation here: #17940
Please take a look when you have some time 🤗
Successfully merging a pull request may close this issue.
Verification
brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.Provide a detailed description of the proposed feature
For casks the basic informational commands do not provide any information about dependencies.
Homebrew should give basic information about dependencies in
deps
andinfo
commands. For example it might look like this instead:What is the motivation for the feature?
For formulae it is easy to get information about dependencies.
How will the feature be relevant to at least 90% of Homebrew users?
It will be helpful to users to know what dependencies will be installed with a cask.
What alternatives to the feature have been considered?
N/A
The text was updated successfully, but these errors were encountered: