williamboman / nvim-lsp-installer

Further development has moved to https://github.com/williamboman/mason.nvim!
https://github.com/williamboman/mason.nvim
Apache License 2.0
2k stars 123 forks source link

zls release filename change #905

Open joshuarubin opened 2 years ago

joshuarubin commented 2 years ago

Problem description

zls now uses the tar.zst extension and not the tar.xz extension for releases, so the newest version fails to install. https://github.com/zigtools/zls/releases/tag/0.10.0

Neovim version (>= 0.7)

NVIM v0.8.0 Build type: Release LuaJIT 2.1.0-beta3

Operating system/version

Linux jrubin 5.15.0-1021-gcp #28-Ubuntu SMP Fri Oct 14 15:46:06 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

I've recently downloaded the latest plugin version of both nvim-lsp-installer and nvim-lspconfig

Affected language servers

Linux jrubin 5.15.0-1021-gcp #28-Ubuntu SMP Fri Oct 14 15:46:06 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Actual behavior

Installer fails for zls

Expected behavior

Installer succeeds for zls

LspInstallInfo output

nvim-lsp-installer 
                                                                              press ? for help
                                                 Project status https://github.com/williamboman/nvim-lsp-installer/issues/879      
                                         Introducing mason.nvim https://github.com/williamboman/nvim-lsp-installer/discussions/876 

  Installed servers (10) 
    ◍ bashls 
    ◍ clangd (c, c++)
    ◍ cmake 
    ◍ dockerls 
    ◍ gopls (go)
    ◍ pyright (python)
    ◍ rust_analyzer 
    ◍ sumneko_lua (lua)
    ◍ tsserver (typescript, javascript)
    ◍ vimls 

  Pending servers (1) 
    ◍ zls (failed)
        Downloading file "https://github.com/zigtools/zls/releases/download/0.10.0/x86_64-linux.tar.xz"...
        ...taller/lua/nvim-lsp-installer/core/managers/std/init.lua:61: Failed to download file "https://github.com/zigtools/zls/releases/download/0.10.0/x86_64-linux.tar.xz".
        spawn: curl failed with exit code 22. curl: (22) The requested URL returned error: 404

  Available servers (112) 
    ◍ terraformls 
    ◍ tflint (terraform)
    ◍ angularls 
    ◍ ansiblels 
    ◍ apex_ls 
    ◍ arduino_language_server 
    ◍ asm_lsp (assembly-gas, assembly-nasm, assembly-go)
    ◍ astro 
    ◍ awk_ls 
    ◍ beancount 
    ◍ bicep 
    ◍ bsl_ls (onescript)
    ◍ ccls (c, c++, objective-c)
    ◍ clarity_lsp 
    ◍ clojure_lsp 
    ◍ codeqlls 
    ◍ crystalline 
    ◍ csharp_ls (c#)
    ◍ cssls 
    ◍ cssmodules_ls 
    ◍ cucumber_language_server 
    ◍ dartls 
    ◍ denols 
    ◍ dhall_lsp_server 
    ◍ diagnosticls 
    ◍ dotls 
    ◍ efm 
    ◍ elixirls 
    ◍ elmls 
    ◍ ember 
    ◍ emmet_ls 
    ◍ erlangls 
    ◍ esbonio (sphinx)
    ◍ eslint (javascript, typescript)
    ◍ flux_lsp 
    ◍ foam_ls (OpenFOAM)
    ◍ fortls (fortran)
    ◍ fsautocomplete (f#)
    ◍ golangci_lint_ls (go)
    ◍ grammarly 
    ◍ graphql 
    ◍ groovyls 
    ◍ haxe_language_server 
    ◍ hls (haskell)
    ◍ hoon_ls 
    ◍ html 
    ◍ intelephense (php)
    ◍ jdtls (java)
    ◍ jedi_language_server (python)
    ◍ jsonls 
    ◍ jsonnet_ls 
    ◍ julials 
    ◍ kotlin_language_server 
    ◍ lelwel_ls 
    ◍ lemminx (xml)
    ◍ ltex (latex)
    ◍ marksman (markdown)
    ◍ mm0_ls (metamath-zero)
    ◍ nickel_ls 
    ◍ nimls 
    ◍ ocamlls deprecated 
    ◍ ocamllsp 
    ◍ omnisharp (c#)
    ◍ opencl_ls 
    ◍ perlnavigator 
    ◍ phpactor 
    ◍ powershell_es 
    ◍ prismals 
    ◍ prosemd_lsp (markdown)
    ◍ psalm (php)
    ◍ puppet 
    ◍ purescriptls 
    ◍ pylsp (python)
    ◍ quick_lint_js (javascript)
    ◍ r_language_server (R)
    ◍ reason_ls 
    ◍ remark_ls (markdown)
    ◍ rescriptls 
    ◍ rnix 
    ◍ robotframework_ls 
    ◍ rome (typescript, javascript)
    ◍ salt_ls (sls)
    ◍ scry (crystal)
    ◍ serve_d (d)
    ◍ slint_lsp 
    ◍ solang (solidity)
    ◍ solargraph (ruby)
    ◍ solc (solidity)
    ◍ solidity_ls 
    ◍ sorbet (ruby)
    ◍ sourcekit (swift)
    ◍ sourcery (python)
    ◍ sqlls 
    ◍ sqls 
    ◍ stylelint_lsp 
    ◍ svelte 
    ◍ svlangserver (systemverilog)
    ◍ svls (systemverilog)
    ◍ tailwindcss 
    ◍ taplo (toml)
    ◍ teal_ls 
    ◍ texlab (latex)
    ◍ theme_check (liquid)
    ◍ vala_ls 
    ◍ verible (systemverilog, verilog)
    ◍ visualforce_ls 
    ◍ vls (vlang, V)
    ◍ volar (vue)
    ◍ vuels 
    ◍ wgsl_analyzer 
    ◍ yamlls 
    ◍ zk (markdown)

Installation log

[ERROR Mon 07 Nov 2022 10:30:54 PM MST] ...installer/lua/nvim-lsp-installer/core/installer/init.lua:79: Installation failed, name="zls", error='...taller/lua/nvim-lsp-installer/core/managers/std/init.lua:61: Failed to download file "https://github.com/zigtools/zls/releases/download/0.10.0/x86_64-linux.tar.xz".\nspawn: curl failed with exit code 22. curl: (22) The requested URL returned error: 404\n'
[INFO  Mon 07 Nov 2022 10:30:54 PM MST] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/ui/init.lua:761: Installation completed server_name="zls", success=false

Healthcheck

nvim-lsp-installer: require("nvim-lsp-installer.health").check()
========================================================================
## nvim-lsp-installer report
  - OK: neovim version >= 0.7.0
  - OK: **Go**: `go version go1.19.3 linux/amd64`
  - WARNING: **cargo**: not available
  - WARNING: **luarocks**: not available
  - OK: **Ruby**: `ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [x86_64-linux]`
  - OK: **RubyGem**: `3.3.20`
  - WARNING: **Composer**: not available
  - WARNING: **PHP**: not available
  - OK: **npm**: `8.19.2`
  - OK: **node**: `v16.18.1`
  - OK: **python3**: `Python 3.10.6`
  - WARNING: **pip3**: not available
  - WARNING: **javac**: not available
  - WARNING: **java**: not available
  - WARNING: **julia**: not available
  - OK: **wget**: `GNU Wget 1.21.2 built on linux-gnu.`
  - OK: **curl**: `curl 7.81.0 (x86_64-pc-linux-gnu) libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.13`
  - OK: **gzip**: `gzip 1.10`
  - OK: **tar**: `tar (GNU tar) 1.34`
  - OK: **bash**: `GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)`
  - OK: **sh**: `Ok`
  - OK: **python3_host_prog**: `Python 3.10.8`
  - OK: GitHub API rate limit. Used: 3. Remaining: 57. Limit: 60. Reset: Mon 07 Nov 2022 11:31:02 PM MST.

Screenshots

No response