tristanisham / zvm

zvm (Zig Version Manager) lets you easily install/upgrade between different versions of Zig.
https://www.zvm.app
MIT License
487 stars 32 forks source link

[BUG] No zls is available for `0.12.0` and `0.11.0` #80

Closed glyh closed 5 months ago

glyh commented 7 months ago

Describe the bug No zls is available for 0.12.0 and 0.11.0

To Reproduce Steps to reproduce the behavior:

  1. Run zvm install -D=zls 0.12.0(or use 0.11.0) 2 Run zvm use 0.12.0
  2. No zls is on path

Expected behavior zls is installed.

Desktop (please complete the following information):

Additional Context

It looks like there's no 0.12.0 release for zls on zls's repo yet. I think we can forward it to 0.11.0 for now? ZLS 0.12.0 is already released, we still can't fetch it.

glyh commented 6 months ago

It seems the fetching mechanism is failing for ZLS? No zls can be fetched with 0.11.0 as well. It's only working for master for me at the moment.

tristanisham commented 6 months ago

That tracks. I haven’t been happy with how we pull ZLS for a while. I need to figure out how to host it myself, or the community needs to find a more reputable host. 

Don’t worry, added to my priority tasks. Thanks for reporting!

tristanisham commented 6 months ago

Okay, idea. If ZVM catches an error with installing ZLS, or if you pass a flag, it could just clone the repository and use your Zig install to build ZLS with your exact Zig version. Might be temporary when I actually have a server

glyh commented 5 months ago

Yeah I think that solution could work.

tristanisham commented 5 months ago

Tied to #85