-
Notifications
You must be signed in to change notification settings - Fork 187
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
mix hex.outdated shows wrong requirement version #322
Comments
~> 2.0 roughly means ">= 2.0.0 and < 3.0.0" so your requirements should not match and you can't upgrade. We don't show all requirements on every package in the first view because that would be too noisy. Does that explain how it works or do you still have a bug? |
Maybe we should remove |
Ah ok, I thought the Requirement column in Even if this is not fixable, I think |
I think If the issue is showing only one requirement, maybe you could replace the requirement column by "Upgrade supported" and use |
I think showing an "Upgrade supported" column instead is a good solution 👍 If @ericmj agrees, I would like to take a shot at implementing it ;) |
We should change the last column to "Update possible" with Yes/No as values and the help text at the end should inform the user about the detailed view for more information. Please go ahead if you want to work on this. |
It now takes all dependent packages into account and simply prints a Yes or a No for outdated packages. Fixes hexpm#322
It now takes all dependent packages into account and simply prints a Yes or a No for outdated packages. Fixes hexpm#322
When I run
mix hex.outdated
, I get this line for the poison package:So it would seem that I can upgrade poison. But I can't. Running
mix hex.outdated poison
reveals this:So I have two packages depending on poison that allows upgrading to 3.0.0 and three that doesn't.
Am I missing something here, or is it a bug?
The text was updated successfully, but these errors were encountered: