-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Deprecate Homebrew/homebrew-command-not-found #17380
Conversation
This doesn't seem to be used at all nowadays: https://formulae.brew.sh/analytics/brew-command-run/365d/ As an official tap, it has overhead on e.g. RuboCop upgrades and a presence in Homebrew/brew CI, manpage, etc. that no longer seems to be warranted.
I don't think this would show on the command-run analytics, because it's not invoked directly. In saying that, I've personally never used it. |
I guess my thinking is: none of the relevant commands show up in the analytics.
This is an added datapoint: from a show of hands at the last Homebrew AGM iirc no maintainers used this. |
I remember a few people raising their hands (including me...) |
@carlocab My bad, maybe it was homebrew-autoupdate people didn't use? Any idea why there's no results showing up in analytics here? Would you be happy to take on any improvements to e.g. not committing data to repo without PRs? |
Yes, that one I recall no one raising their hands for.
No 🥲
Yep, happy to take on improvements, but I'd like some assistance with continuing maintenance (even if it's just poking me on Slack to fix things). |
@carlocab Which commands do you manually run and when, just so I understand?
Yup, fair. Will leave this open for now in case anyone else feels strongly it shouldn't be part of Homebrew. |
I think we only collect analytics for the new Lines 88 to 91 in 92adf6a
|
Good catch, thanks @cho-m! |
I rarely run it manually these days. When I do, it's usually to run However, I do have it set up as a command-not-found handler, via https://github.com/ohmyzsh/ohmyzsh/tree/5e59d21e5465ec0694441f41ff0acf1ddf4de187/plugins/command-not-found. For example, if I try to run a command that's not available:
|
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 have used it briefly it in the past, but not in the last 2-ish years.
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 use this too, but only the which-formula
command (which I've aliased to brew which
) and not the shell handler part.
However, I don't use it frequently enough that I think it needs to be official. If we deprecate it here, I'll likely keep a personal fork of it around for my personal use
Would it be worth updating the command to the use the new DSL so we can collect stats before deprecating it? That would give us a better idea if people are actually using it. I don't use the command though so personally I'm fine with removing it. |
Yes, I think this is the best thing for now. Going to mark this as draft for now until we've done that. |
I'm also using this. And of course, since most of the software I use is already installed by my dotfiles, |
Have opened PRs to gather analytics: Homebrew/homebrew-command-not-found#156 (and others). Closing this until at least 30 days after merge so we can see what usage levels are like. |
This doesn't seem to be used at all nowadays:
https://formulae.brew.sh/analytics/brew-command-run/365d/
As an official tap, it has overhead on e.g. RuboCop upgrades and a presence in Homebrew/brew CI, manpage, etc. that no longer seems to be warranted.
If there's enough 👍🏻 to do this: I'll add various
odeprecated
orodisabled
calls to Homebrew/homebrew-command-not-found and archive the repository.