Bug 458981 - Add option to specify dependency tree depth
Summary: Add option to specify dependency tree depth
Status: RESOLVED WORKSFORME
Alias: None
Product: kdesrc-build
Classification: Developer tools
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-10 22:30 UTC by Natalie Clarius
Modified: 2022-10-16 04:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Natalie Clarius 2022-09-10 22:30:31 UTC
SUMMARY
***
Since the dependency tree becomes unreadably large for complex projects, it would be nice if it were possible to specify a maximum depth with the dependency-tree option.
***


STEPS TO REPRODUCE
1. kdesrc-build --dependency-tree plasma-workspace

OBSERVED RESULT
huge output

EXPECTED RESULT
kdesrc-build --dependency-tree=4 plasma-workspace
tree with dependencies up to level 4
Comment 1 Nate Graham 2022-09-13 18:35:39 UTC
What if a dependency you need is at depth 5 though? How would this help?
Comment 2 Natalie Clarius 2022-09-13 19:26:14 UTC
It would help me in that I at least know what parent modules I need, and can query the dependency tree for those if I want to know in more details what this entails. As it is, it's hard to even tell whether dependencies are scattered across the whole project or the thing just depends on one or two big components that I might or might not be missing.
Comment 3 Nate Graham 2022-09-16 19:04:13 UTC
I'm not sure I understand how what you just said relates to what you've requested. Can you explain exactly how you would use the requested feature to accomplish what you want?
Comment 4 Bug Janitor Service 2022-10-01 04:49:05 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2022-10-16 04:55:39 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!