Skip to content
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

Offline mode - send .tar.gz of pre-built binary #167

Open
0xjairo opened this issue Aug 26, 2024 · 1 comment
Open

Offline mode - send .tar.gz of pre-built binary #167

0xjairo opened this issue Aug 26, 2024 · 1 comment

Comments

@0xjairo
Copy link

0xjairo commented Aug 26, 2024

Is your feature request related to a problem? Please describe.
I have access to multiple machines running Ubuntu 20.04 on arm64, and Neovim is not provided as a pre-built binary for this OS/CPU architecture. I have a built neovim binary on one of these machines (via the install process in remote-nvim) but I would like to re-use this binary when I launch remote-nvim in other machines.

Currently, when I start a new session on a new machine it downloads sources and builds nvim, which takes multiple minutes to complete.

Describe the solution you'd like
It would be nice if I could specify a machine OS/CPU-arc and the version to use e.g.

{
  binary_urls = {
    "linux-arm64" = {
      binary_source = "~/.cache/nvim/remote-nvim.vim/nvim-10.1-aarch64.tar.gz"
    },
    "linux-amd64" = {
      binary_source = "github"
    }
  }
}
@amitds1997
Copy link
Owner

That seems fair. There are a couple more issues that are about similar instances. I'll club them and let you all know when I think of a silver bullet to solve this (probably incorporating some or most of all suggestions here and in other issues) unless I could whip up something better.

I have been out for past couple months so it would take me some time to get through all this. So, it would be sometime before this gets fixed. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@0xjairo @amitds1997 and others