-
Notifications
You must be signed in to change notification settings - Fork 698
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
new-build doesn't warn when dependencies are out of date #4627
Comments
There's the new |
Ah, nice!
It even reports a non-zero exit code when dependencies are out of date, so I can integrate this into CI tests. Thanks! |
Well, these two are not exactly the same. |
That's a good point. I suppose I have another use case for this - ensuring that other folks' libraries (on which I depend) also have up-to-date dependencies. AFAICT, there's no simple way to check this with |
Right.
And also the freeze file (both old- and new-style-). I need to think how to best make it new-build-aware, then it can also check your install plan. Restoring the warning should be much easier, though. |
@23Skidoo well, doesn't 'cabal new-build' only list the things that aren't cached already? So imho, restoring the old warning isn't that useful. Whereas augmenting |
@hvr, I would also be happy with moving this logic to |
That's a good point. I guess we could make |
@23Skidoo otoh, having But I still think that |
In addition to adding support for |
With old-style
cabal
, I get nice warnings whenever I try to march ahead with a build plan that uses out-of-date dependencies:But with new-style
cabal
, I do not:This makes me quite reluctant to switch over to new-style
cabal
for daily use, since I rely oncabal
to inform me when my version bounds are too constrained.The text was updated successfully, but these errors were encountered: