erlef / rebar3_hex

Rebar3 Hex library
Apache License 2.0
101 stars 49 forks source link

vendor in hex_core #295

Open starbelly opened 2 years ago

starbelly commented 2 years ago

In order to provide a consistent experience we should consider vendoring in hex_core. This specifically helps mitigate against stale cases where by a user has upgraded rebar3_hex but for some reason an old version of hex_core is still around and a lot of trouble shooting ensues.

We have had to help people with this very issue quite a few times on erlanger slack, enough to justify vendoring IMO.

paulo-ferraz-oliveira commented 5 months ago

Did you try the new vendor command from rebar3 yet? I'm not sure it's still experimental, but it worked for me™️ the last time I used it.

ferd commented 5 months ago

rebar3 vendoring only is supposed to work for umbrella applications and won't apply to dependencies, which a plugin is.