-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
feat: abbreviated dependency tree printing #1814
Conversation
No point in having an extra line for one single elided dependency, which happens often.
doc/user-changes.md
Outdated
└── xmlada=25.0.0 (~25.0.0) | ||
└── gnat=14.1.3 (gnat_native) (>=11) | ||
gnatcoll_gmp=25.0.0 (~25.0.0) | ||
├── gnatcoll=25.0.0 (~25.0.0) ··· |
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 would suggest a small change. Make the suspension points on a new line like so:
gnatcoll_gmp=25.0.0 (~25.0.0)
├── gnatcoll=25.0.0 (~25.0.0)
└── ...
This better shows that there are dependencies omitted in the output in my opinion.
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.
Fair point.
Now the output is:
|
This declutters the output of
--tree
when dependencies start to repeat by replacing repeats with...
, e.g.:vs (previous default)
PR creation checklist
doc/user-changes.md
has been updated, if applicable.