-
Notifications
You must be signed in to change notification settings - Fork 194
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
Feature Request: Distribute Through Hex #572
Comments
Hi, thanks for bringing this up 👍 |
Thanks for the reply @axelson! Is there anything I can do to help in setting this up? I'm sure you'll want to own the account that actually controls the package, but I'm happy to do any leg work you'd find helpful to get this working. |
It should all be possible with Also it may be worthwhile to read this packaging issue and related discussion: |
@axelson Sorry for the slow reply on this! This issue fell off my radar. You're right, this is totally possible using a Git in the package manager. The big downside to this is you'd lose Hex's version management. It's possible to specify a specific commit or tag when listing the package, but I think the package manager solves these issues, so if you're open to it, that approach feels cleaner. I read through the discussion you posted. Sorry for missing that before! If you'd like, I'd be happy to move this discussion there. I think I find myself agreeing with @tomekowal's thoughts there:
This is what I'd expect when compared to other languages' language servers. If you're up for a Hex package, is there anything specific you'd like me to tackle? I'd imagine you'd want to own the Hex accounts for the package. I could configure the mix.exs file if you'd like and look into anything else required. I haven't personally set up a Hex package before, but I'd imagine it isn't much different than a Node package or a Ruby gem. |
I think that much greater benefit of distributing trough hex would be ability to use the |
This is not currently planned |
With other language servers, I'm usually able to install them via the language's package manager. For example, in Node.js I can install the language server package via Yarn or NPM:
And in Ruby I can put it in my Gemfile like so:
I was a bit surprised to see that elixir-ls isn't distributed via Hex. (Apologies if it is. I didn't see it in hex or in the docs.) I would expect to be able to do something like this:
The advantage of this approach is I can install the language server on a per-project basis, with different versioning as needed. My editor can easily be configured to use a local version of a package rather than a global version, and installation becomes a snap.
The text was updated successfully, but these errors were encountered: