-
Notifications
You must be signed in to change notification settings - Fork 841
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
Missing transitive dependencies are not listed the first time around #159
Comments
+1, I also experienced this "add extra dep, figure out what more extra deps to add" cycle and it was annoying. It would be better to calculate the transitive changes upfront so that the user only has to add extra deps once. |
Good catch. I wrote code to handle this for the shadowing case, but I On Tue, Jun 2, 2015, 1:48 AM Dan Burton [email protected] wrote:
|
Hmm... this is actually more subtle than it seems. To fully list all transitive dependencies, we'd have to assume that the user is actually going to follow all our recommendations. But we can't even be certain that our recommendations will work, since we're not actually checking bounds. If you follow this line of reasoning, you eventually come to the conclusion of needing to do dependency solving at this point. That seems like a reasonable solution here actually, but it's more complicated to implement. I'd rather defer this to a later improvement, and short term just include a note in the message of "further dependencies may need to be added." |
Let's merge in #178 here as well. Idea is that, once we're able to determine what should be added to extra-deps, we'll also provide a flag (e.g. |
I've just added a new command, Pinging @bitemyapp as well based on the request in #178. |
for the public record, "better" very likely implies "off-the-shelf" IMHO. :) |
'github' depends on 'failure', but failure isn't listed as a missing dep at first:
The text was updated successfully, but these errors were encountered: