Comments (18)
It still needs some work to be considered stable but I’d be glad to import it when it’ll be. We’ll need a way to automatically update the file database (by the bot?) instead of the manual brew which-update
I use right now.
I need to clean up the tapped formulae (outside of homebrew/*
taps) and to fix #2.
from homebrew-command-not-found.
Both issues have been fixed now.
from homebrew-command-not-found.
Yeh, the main thing is that file and where we keep it. I'm wondering if Git is the best place. Then again, it's text and unlikely to change.
from homebrew-command-not-found.
Yes, it doesn’t need to be versioned and we could upload it on some host (e.g. Bintray) but when should it be updated on the client side? Having it in a tap means it’s updated when people run brew update
, but it needs to be versioned for that 😕
from homebrew-command-not-found.
Yeh, hmm.
from homebrew-command-not-found.
Note we now have Zsh support thanks to @xu-cheng 😄
from homebrew-command-not-found.
@bfontaine May I ask how do you update the data? A bot or manually?
from homebrew-command-not-found.
@xu-cheng Manually with a script. When I run brew update
I check if they are new formulae, if so I install them, run brew which-update executables.txt
, commit and push. I’m considering a bot but don’t have the time to work on it right now.
from homebrew-command-not-found.
OK. When you consider a bot, I'm more than happy to add a webhook in Homebrew repo for it. I recently wrote a Homebrew twitter bot which you can use it as a reference if you want.
from homebrew-command-not-found.
Great, thanks!
from homebrew-command-not-found.
Or get it into brew-test-bot
from homebrew-command-not-found.
It should be a combination of brew test-bot
and a separate bot. brew test-bot
is responsible to record the executable files and store them in temporary place, while a separate bot is used to update the database when PR is merged.
from homebrew-command-not-found.
At the very least we could pull this into the Homebrew organisation for more visibility.
from homebrew-command-not-found.
Done.
from homebrew-command-not-found.
Thanks!
from homebrew-command-not-found.
wait, if this is done, why is it still open? or is it done? or is it open? i'm confused. clarification is needed, as sorin-ionescu/prezto#847 depends on this being resolved, up here (upstream).
from homebrew-command-not-found.
@mralexgray I moved the repo under the Homebrew organization; but having this feature into Homebrew itself requires significant work so it won’t happen in the near future.
from homebrew-command-not-found.
Closing this issue out as it's a longer-term plan but not happening imminently.
from homebrew-command-not-found.
Related Issues (20)
- Takes 1-2 seconds before it shows the message HOT 10
- Commands starting with '-' can appear to be options and need quoting HOT 1
- Using brew gives warnings HOT 18
- Command brew which-update fails HOT 2
- Consider supporting fish. HOT 1
- (eval):1: no matches found: “# HOT 11
- Incorrectly refer to .bashrc as opposed to .bash_profile? HOT 3
- not working and I've installed and edited my bash_profile HOT 6
- I followed the installation instructions but it doesn't work HOT 2
- Error: undefined method `install_tap' for Homebrew:Module HOT 3
- could this be extended to support searching libraries? (not just binaries) HOT 2
- `brew which-formula lldb` empty for formulas requiring options (eg lldb) HOT 2
- duplicate 'zsh: command not found: ' HOT 1
- Error with brew which-update: undefined method `split' for nil:NilClass HOT 2
- Redundancy in installation instructions around `brew command-not-found-init` HOT 5
- command-not-found causes VERY long zsh startup times HOT 10
- `brew which-formula` doesn't work HOT 2
- homebrew-command-not-found started displaying error on loading on macOS HOT 4
- Path given in README does not work for `/opt/homebrew` installations on M1 Macs
- prompt if not in PATH? HOT 4
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 homebrew-command-not-found.