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

Don't unexpectedly read all casks/formulae #11292

Open
MikeMcQuaid opened this issue Apr 30, 2021 · 0 comments
Open

Don't unexpectedly read all casks/formulae #11292

MikeMcQuaid opened this issue Apr 30, 2021 · 0 comments

Comments

@MikeMcQuaid
Copy link
Member

@MikeMcQuaid MikeMcQuaid commented Apr 30, 2021

Provide a detailed description of the proposed feature

There's certain commands (e.g. brew update, brew doctor) that will read/evaluate all formulae and all casks from all tapped taps.

What is the motivation for the feature?

The current behaviour is unexpected and (I'd argue) undesirable. I consider it expected behaviour to read the formula/casks that are already installed with commands such as brew update/brew doctor but not every formula/cask in every tap.

HOMEBREW_UPDATE_REPORT_ONLY_INSTALLED already does some of this for brew update. I use it and it improves the output (and potentially speed).

How will the feature be relevant to at least 90% of Homebrew users?

Improved security and speed of those commands.

What alternatives to the feature have been considered?

  • The status quo
  • Sandboxing (with blocked network access?) all reads (only available on macOS) to improve security
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant