Dependency error: Phoenix with gun

Yeah as @axelson notes that would only be an issue if you don’t commit your mix.lock file, and you should always commit your mix.lock file.

3 Likes

@benwilson512 and @axelson I know, guys, it’s just that some decisions in some projects in the past (>2 years) weren’t in my power and I’ve had to watch people helplessly fight stuff that could be trivially fixed – as you both pointed out.

I still stand behind my opinion that pointing at a GitHub repo in mix.exs is, if not that non-deterministic, at the very least unclear and should be avoided because it introduces uncertainty. I always use the ref option in this case but I recognize it’s just one way of doing things.

2 Likes

I think this is a perfectly fine stance to take, I just wanted to make sure that the OP was clear on how mix.lock works.

1 Like