Closed devinus closed 11 years ago
There are a couple issues here.
mix deps.get
is not checking if the dependencies are actually valid after fetching them. The error should come up as soon as possiblemix deps
Anyway, the fact we are getting those errors are a consequence of good progress™ and I am happy we are ironing those details now!
Another thing to note while we are talking about dependency conflicts, related to 1). Mix will git clone
a dependency even if it finds that they are diverging, because Mix find that they are conflicting after the the clone is done. It's not a big issue, when the conflict is resolved Mix will checkout the correct commit. But I think it may cause some confusion because the user will see the clone happening and see the checked out project and find it annoying that it isn't working.
@ericmj cloning is not a real problem, since, as you said, we fix it later. However I think that, at the end of mix deps.get
, once everything is cloned, we should run the same kind of check we do for mix compile
and show any kind of pending things to be solved.
The code to see the real dependency issues exists in mix, because we can see the issue when we type
mix deps
: