vc60er / deptree

show golang dependence like tree
76 stars 9 forks source link

hang and/or deep circular dependencies in rare cases #10

Closed gen2thomas closed 1 year ago

gen2thomas commented 1 year ago

For one of my projects the call takes quite long and increase over the time CPU and memory usage.

A first investigation shows, that:

Same branches at deeper levels results to a complex/redundant tree and can cause hard to catch circular dependencies. So the first idea is to replace duplicates by a text link (e.g. "for child tree see 'foo v1.0.0' at branch 'bar v2.3.4' level 3"). This behavior should be switchable by a CLI parameter.