-
Notifications
You must be signed in to change notification settings - Fork 189
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
sort order of root nodes in dependency-tree is unstable #3817
Comments
I think the function that prints the result might just order by ID then by Version should be fine. |
Bananeweizen
added a commit
that referenced
this issue
May 6, 2024
Also indent the unmapped IUs for better readability. Fixes #3817
laeubi
pushed a commit
that referenced
this issue
May 6, 2024
Also indent the unmapped IUs for better readability. Fixes #3817
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running the dependency-tree mojo on a larger project generates the tree items as such fine. However, in a larger reactor the order of root nodes is "random". So for a list of plugins the root nodes might be sorted
module foo:
module bar:
etc. Can we make them appear always in the same order? I guess the "randomness" comes from the algorithm that sorts the list of dependencies into the tree node structure, but I didn't easily find how to change it to get something like always foo, foo.source, extra requirements.
Maybe even something as simple as just sorting the root nodes alphabetically would be a quick solution?
The text was updated successfully, but these errors were encountered: