-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Add latest commit alias #195
Conversation
…cters of the latest commit
…test_commit instead of version
Hi @MordechaiHadad, I saw this on reddit and tested it out. Using When I attempt to use nvim in the ~/.local/share/bob/nvim-bin
mike@local $ ./nvim --version
thread 'main' panicked at 'Failed to spawn child process: Os { code: 2, kind: NotFound, message: "No such file or directory" }', /Users/mike/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bob-nvim-2.5.0/src/main.rs:84:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace It works fine if I use nvim in the ~/.local/share/bob/57adf8c/nvim-macos-arm64/bin
mike@local $ ./nvim --version
NVIM v0.10.0-dev-57adf8c
Build type: RelWithDebInfo
LuaJIT 2.1.1710088188
Run "nvim -V1 -v" for more info One thing to note is that I build nvim nightly myself and I also have multiple versions of nvim installed with bob. Before running the bob list
┌───────────┬─────────────┐
│ Version │ Status │
├───────────┼─────────────┤
│ v0.7.0 │ Installed │
│ v0.9.1 │ Installed │
│ v0.9.0 │ Installed │
│ nightly │ Installed │
│ v0.8.3 │ Installed │
│ v0.9.5 │ Installed │
│ v0.9.2 │ Installed │
│ v0.9.4 │ Installed │
│ v0.8.0 │ Installed │
│ 57adf8c │ Used │
└───────────┴─────────────┘
Hope this helps. Let me know if you need any other info! |
Hi! Thank you for commenting. Could you show me the content of the 57adf8c folder? Oh nvm you mentioned the content is nvim-arm-64, which is interesting it works for some but not for you. I am planning on pushing another PR with approximate binary locator instead of hard coded (slightly slower but faster than a ms) Could you copy your bob binary and copy it to Just for testing really. |
I copied it over to After that, I switched back to After running, |
Hmmm confusing... At first it worked after u recreated the nvim proxy, and then when you rebuild |
Sorry, I forgot to mention that I copied back the original nvim binary. I named it bob-issue.mp4 |
Ah so u returned back to the original binary, makes sense. |
Newest PR gonna fix all of the nvim proxy related issues now. |
@mikesmithgh can you do one last test (dont copy the old outdated neovim proxy) and see if works? |
Hey @MordechaiHadad, I completely removed bob and removed Then ran:
It looks like it is working now 👍. I'm curious how it picked up changes since this branch doesn't appear to have any additional changes? |
The proxy was outdated so it recreated it for you now, which is why it works now. I guess its time to merge this. |
🎉 awesome! |
This PR will add
head
andgit
as alias for fetching the latest commit for neovim.fixes #163