-
Notifications
You must be signed in to change notification settings - Fork 847
Respect targets while printing dependency tree #4561
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
Respect targets while printing dependency tree #4561
Conversation
|
Thanks for the PR! I'll review shortly. |
|
Actually, I'll rebase & force push first — I'm not confident on github's handling of review comments in the presence of force pushes, and I want to run tests on latest master. Thanks! |
0df0d23 to
029022e
Compare
dbaynard
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've nearly reviewed it all. I've made some changes to a number of bits (not limited to this PR; there are some uninformative variable names in related code) which I'll push tomorrow, when I'm done.
Meanwhile, there are a few questions.
Also, it would be good to have some tests in the unit test suite, not just the integration tests. I'm happy to tackle this — though it you want to, by all means go ahead.
|
Ah but we can't call it |
|
I'm finding testing to be a real pain, here. I wrote a short test suite, but because the tree is printed immediately after it has been generated it needs an io-capture like wrapper. I'm considering moving to use |
|
For now, if you're able to add an integration test that tests this codepath, I'd be able to review and merge, and we can deal with refactoring and unit tests after a merge. |
Please include the following checklist in your PR:
Fixes #4552