Skip to content
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

Add RID specific packages to dotnet nuget why #6154

Merged
merged 5 commits into from
Nov 22, 2024

Conversation

Nigusu-Allehu
Copy link
Contributor

@Nigusu-Allehu Nigusu-Allehu commented Nov 19, 2024

Bug

Fixes: NuGet/Home#13718

Description

Originally dotnet nuget why only showed a path in the dependency graph, only for RIDless packages only. This PR makes sure we show RID specific packages in the tree as well. This is done by creating a tree for each RID and framework combination. Each combination will have its own tree. For example, if a user has net9.0 framework and win-x64 RID, we will have a tree for

  • net 9.0 / win-x64
  • net 9.0
    image

PR Checklist

@Nigusu-Allehu Nigusu-Allehu self-assigned this Nov 19, 2024
@Nigusu-Allehu Nigusu-Allehu marked this pull request as ready for review November 19, 2024 22:48
@Nigusu-Allehu Nigusu-Allehu requested a review from a team as a code owner November 19, 2024 22:48
jeffkl
jeffkl previously approved these changes Nov 19, 2024
jgonz120
jgonz120 previously approved these changes Nov 20, 2024
Copy link
Contributor

@jgonz120 jgonz120 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. GetAllDependencyGraphsForTarget is getting a little long though.

@Nigusu-Allehu Nigusu-Allehu dismissed stale reviews from jgonz120 and jeffkl via 2293975 November 20, 2024 01:35
Copy link
Member

@nkolev92 nkolev92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exciting to see this work being done.
I do think we need more exhaustive testing. I've provided some examples in my other comments.

@Nigusu-Allehu Nigusu-Allehu merged commit 3332ab2 into dev Nov 22, 2024
23 checks passed
@Nigusu-Allehu Nigusu-Allehu deleted the dev-nyenework-Rid-dotnet-why branch November 22, 2024 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dotnet nuget why should check RID specific packages
4 participants