remote-nvim.nvim icon indicating copy to clipboard operation
remote-nvim.nvim copied to clipboard

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

Open 0xjairo opened this issue 1 year ago • 1 comments

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"
    }
  }
}

0xjairo avatar Aug 26 '24 22:08 0xjairo

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!

amitds1997 avatar Sep 24 '24 05:09 amitds1997