-
Notifications
You must be signed in to change notification settings - Fork 842
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
Display information on why a snapshot was rejected? #381
Comments
I think we should.
|
OK, I've implemented this, sample output:
|
nice :) 2 minor things:
It might help new users to understand what is going one. |
I think the recommendations already given at the end (which I didn't include in this copy-paste since they haven't changed) are best. I'd be surprised if a user was uncertain about where the dependency ranges are coming from, since that's the only place it can come from and we already mentioned the .cabal files explicitly earlier. And "in snapshot" is more likely to confuse than anything else; we already stated which build plan it is (lts-2.9, etc) just before giving the mismatches. |
ok 👍 |
Currently,
stack init
doesn't tell you why a snapshot won't work, at least not by default. If you run with--verbose
, you get much more information. So the discussion point is: should we display that information by default? The downside would be possibly overwhelming levels of output, but I think we could manage that somehow.The text was updated successfully, but these errors were encountered: