Comments (13)
@Ciel-MC Pretty late (I worked on this when you opened the issue but the solution originally was too complex) but the request is fulfilled.
from bob.
Don't think I am following what you are trying to do, bob deals with 2 types of neovim files, binaries (nightly, stable and older versions) and source code so you can choose a specific commit paste it with bob install <commit hash>
and it will build it for you.
from bob.
Yeah, and I was hoping there can be a "version name"(like stable or nightly) for the latest commit, like even faster than nightly, because now if I manually set the latest commit to my version, it doesn't update with bob update because it is pinned.
from bob.
So you want an alias for the last commit when running bob install
?
from bob.
So you want an alias for the last commit when running
bob install
?
I guess you can say an alias? But also when you do bob update
, it installs the latest commit(like latest
and nightly
)
from bob.
What would you call this alias?
from bob.
I figured git
would be a good name, similar to how AUR repos call it
from bob.
Imo there is no need for this feature. Just wait for maximum 24 hours and then do bob install nightly
. If you really want a feature just use the commit hash to install that specific commit.
KISS
from bob.
I had this debate with myself as well, but the thing for me is that it's often not just this one time I want to do it(so I install the latest manually, uninstall tomorrow and update nightly), I would prefer if I could stay on the latest commit easily as you can with stable and nightly, at least personally, found it to be barely make past the -100 pts, plus it's not a particularly difficult feature either, and maybe it will come in helpful in the future.
Sorry, long sentences from me are very coherent, my point is, I think this is not complicated enough and is quite helpful when you need/want it, even if it's not often.
P.S. KISS is usually for designing systems, features typically use the -100pt rule
from bob.
even if "the official" KISS rule doesn't apply here
I'm always against adding features that bring no big advantage to the user but cause more complicated code (here new logic needs to be added to get the latest commit) and also would make the whole application more complicated (e.g. bigger help etc).
and if you waited for weeks for a pr to be merged you can easily wait a few more hours imo.
from bob.
🤔
from bob.
I will work on this, but it won't be a priority because it is slightly more complicated than expected
from bob.
Something like this works if you have a get-github-token
command or equivalent.
AUTH="Authorization: token $(get-github-token)"
SHA="$(curl -s -H "$AUTH" -H "Accept: application/vnd.github.VERSION.sha" https://api.github.com/repos/neovim/neovim/commits/master)"
bob install "$SHA"
Using a script like this could be a middle ground if nightly's are to slow and bob doesn't have a latest commit alias
from bob.
Related Issues (20)
- error trying to install any version of nvim via bob HOT 5
- Creation of target directories does not honor $HOME variable HOT 2
- Cannot install nightly HOT 29
- Can't install nvim using Powershell 7 HOT 2
- Can't start nvim nightly on macos m2 HOT 11
- [Feature] Add notification system for breaking changes
- Can install, but cannot use neovim HOT 5
- `bob use` breaks in 2.9.0 HOT 4
- [feature]list remote nvim versions available to install HOT 4
- Linked binary opening slower than original HOT 12
- [Feature] add ability installing to system HOT 2
- Compiles Debug build on Windows, but RelWithDebugInfo on Linux HOT 3
- [Feature] Add version list from the command line
- [FIX] Store full commit hash in version sync file instead of short HOT 7
- bug: terminates on usr1 signal HOT 9
- [Feature] bob erase - do not delete non empty installation_location directory
- Install based on nvim --version HOT 1
- [Feature] calling bob update without parameters should update the currently used version
- certificate error installing nvim latest using bob in ubuntu wsl
- Error: File exists (os error 17)
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 bob.