Comments (8)
If I read the code right, there is no way to silence just this warning without disabling the behavior. So that would be a feature request.
There is: set HOMEBREW_NO_ENV_HINTS
, as the message says.
Passing on this, sorry.
from brew.
Can you provide an example of the specific hints you're seeing that you don't want to?
from brew.
Hi @MikeMcQuaid
Sorry, but after checking it I have seen that in the brew.env file I misspelled the variable and after correcting it it is already hidden.
from brew.
I have HOMEBREW_AUTO_UPDATE_SECS
set explicitly to 86400 (in my ~/.zshrc).
❯ echo $HOMEBREW_AUTO_UPDATE_SECS
86400
I was hoping that this would hide the specific hint about auto updates, while still providing me with other env hints that I might find useful. However, I still get the hint: (EDIT: nope, user error, see below)
==> Auto-updating Homebrew...
Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with
HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
I also got this hint:
==> Running `brew cleanup coreutils`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
In this case, there seems to be no explicit configuration to set get the install cleanups, but that could be used to silence the hints.
❯ brew --version
Homebrew 4.2.15
from brew.
Hmm, but I do see now here that the HOMEBREW_AUTO_UPDATE_SECS
hint should be hidden if explicitly set... so this might be an user error on my side as well, not sure how but looking at it :)
from brew.
Oh yes, the env var was not exported 🤦 – sorry about that. But how about the HOMEBREW_NO_INSTALL_CLEANUP
case?
If I read the code right, there is no way to silence just this warning without disabling the behavior. So that would be a feature request.
from brew.
No, that also disables other hints? But I of course realize that this is a rather specific ask and I perfectly understand that you would pass on it. :)
from brew.
No, that also disables other hints?
Yes. We don't have hint-by-hint disabling, sorry.
from brew.
Related Issues (20)
- `env HOMEBREW_NO_AUTO_UPDATE=1 brew install imagemagick` fails on GitHub Actions macOS 13 runners due to attempted upgrades HOT 3
- Proper XDG_CONFIG_HOME usage HOT 6
- Last digit of formula version number can be omitted when upgrading HOT 4
- brew install mesa fails at link step on Fedora Silverblue (probably not a formula bug) HOT 7
- Error: undefined method `each_with_object' for nil:NilClass HOT 4
- Allow checksum on unversioned URL HOT 11
- Allow macos 11 to be used HOT 1
- Allow formulae to set an env for their completion generation HOT 4
- Show disk space in info command HOT 3
- Fine-grained PATs do not work when used as $HOMEBREW_GITHUB_API_TOKEN HOT 3
- `brew upgrade -g` sometime will install old version app HOT 3
- `brew upgrade -g` sometime will install old version app
- @PizzaShift @ligi Hello.
- Support GitHub App installation access tokens HOT 2
- Command "brew update" shows "/dev/stdin: No such file or directory - /tmp/sh-thd-2853475760 (deleted) (Errno::ENOENT)" HOT 8
- How should we store installed cask information? HOT 18
- Integrating attestation verification into `brew install` (and `brew verify`) HOT 21
- `brew bump --open-pr` fails to fetch repology data HOT 5
- Add a RuboCop rule for sorting EnvConfig keys
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brew.