-
Notifications
You must be signed in to change notification settings - Fork 95
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
Default to only showing direct dependencies #53
Comments
I think one of the reasons why such a behaviour is desirable, as mentioned here by @SergioBenitez, is that we would like hide those dependencies which we are not really able to update. Because Hence would it make more sense to hide the transitive dependencies whose status is only changed in the "Latest" column? For instance, lines like
...would be hidden by default as you may not want to update its parent |
Came here to post the very same issue. It didn't make sense to me to see by default dependencies on which I have no direct influence. Also |
|
I guess it depends if one's looking to update the lock file or the manifest. Yeah, I understand there's no incentive to break interface right now. Just putting it out there for the future. |
@letheed I guess for library developers, they could be more interested in the manifest file, as the lock file is usually excluded from the repository; but others could be interested in both of them, as dependencies are often updated before a new release is published, e.g. So I personally don't think it would be a really nice choice to make "checking direct dependencies only" the default behaviour, especially in consideration of the fact that "recursive checking" has been the default since this tool was created, unless this thread gets enough support. But I can still make it configurable, just like other tools it can search for e.g. |
@Frederick888 that's all right, I was indeed thinking about it more from a library perspective, but I can see how that would not fit everyone. Fish autocompletes it for me all the same... If people feel the same they can post it here. Thank you for your work and your time anyway! |
It's been mentioned in #51 and in rust-lang/cargo#4309 that the default behaviour should be to limit the output the direct dependencies. Since
cargo-outdated
has already a-d
flag, it should be as simple as defaulting it to1
The text was updated successfully, but these errors were encountered: