[IMP] Added the ability to print the inverse dependency tree#75
Open
alexandregaldeano wants to merge 1 commit intoacsone:mainfrom
Open
[IMP] Added the ability to print the inverse dependency tree#75alexandregaldeano wants to merge 1 commit intoacsone:mainfrom
alexandregaldeano wants to merge 1 commit intoacsone:mainfrom
Conversation
5eb4c65 to
37fc3d4
Compare
petrus-v
approved these changes
Dec 6, 2024
petrus-v
left a comment
There was a problem hiding this comment.
Nice one ;)
Technically Code looks good to me !
37fc3d4 to
f66879d
Compare
Member
|
Thanks @alexandregaldeano. Can you rebase and add a I plan a release soon to fix Odoo 19 support (#80). |
Author
|
@sbidoul noted, I try to do it by the end of the week 😃 |
f66879d to
d48f7f7
Compare
6112533 to
8fd7561
Compare
Author
|
@sbidoul I updated my branch |
8fd7561 to
f7684e9
Compare
f7684e9 to
39f3b5f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In our codebase we needed to know which modules were the most depended on.
So, here it is, the inverse dependency tree, where:
Reads "
accountis a dependence ofc, andcis a dependence ofa".Changes made:
--inverseoption to thetreecommandparentsfield in thetree.Nodeclass, which is populated in thetree.tree_command.addfunctionparentsfield is used instead of thechildrenfield in thetree.Node.printmethod when ininversemode