rebar3 supports Hex packages as dependencies out-of-the-box, IIRC. The plugin provides additional functionality like searching and publishing: https://github.com/hexpm/rebar3_hex
It still runs on a single 7$ hobby dyno. Package and registry downloads goes directly to our CDN so the dyno only gets traffic for the HTTP API and website.
For anyone looking around for a new language to try: give Elixir serious consideration.
I've been learning Elixir over the last few months and it's been a breath of fresh air.
EDIT: In case it's not clear from the context, hex.pm is primarily the Elixir package manager, but it works for the whole Erlang ecosystem too, hence why it's referred to as a package manager for "the erlang ecosystem".
My understanding is: you can't unpublish an existing package, like in npm's leftpad situation. You do have a one hour window to change or revert a published version of a package, after that the published version is read-only.
It'll be great to have categories for packages.. For instance:
ORMs / AWS clients / Social SDKs / Authentication / Caching / Internationalization / Cryptography / Machine Learning / and so on..
24 comments
[ 4.3 ms ] story [ 75.6 ms ] threadFor Elixir, mix maintains the mix.lock file. Hex integrates with mix.
For Erlang, rebar3 maintains a rebar.lock file. There's a rebar3_hex plugin for Hex integration with rebar3.
I primarily use Erlang and is good to see it finally has a standardized package manager and that both Elixir and Erlang can use hex packages.
Rebar even moved under the main Erlang organization in Github:
https://github.com/erlang/rebar3
A nice step forward
* It's not well liked in the broader Erlang world because of compiler magic.
* Elixir has Phoenix, which is now the project in that space.
Also: I changed jobs and moved so... don't use Erlang at work any more, sadly.
Lovely to see this becoming more mainstream, and good marketing choice by Eric by making it the "Erlang ecosystem package manager".
If you're interested, the package manager[0] and website/API[1] are open source.
[0] https://github.com/hexpm/hex [1] https://github.com/hexpm/hex_web
[0] https://twitter.com/emjii/status/591240463782391808
I've been learning Elixir over the last few months and it's been a breath of fresh air.
EDIT: In case it's not clear from the context, hex.pm is primarily the Elixir package manager, but it works for the whole Erlang ecosystem too, hence why it's referred to as a package manager for "the erlang ecosystem".
EDIT: serious point - does anyone know off-hand what hex.pm's unpublish policy is?
Docs: https://hex.pm/docs/publish