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

DetectAndMarkAmbiguousCentralTransitiveDependencies should be exhaustive and deterministic #5293

Merged

Conversation

marcin-krystianc
Copy link
Contributor

@marcin-krystianc marcin-krystianc commented Jul 4, 2023

Bug

Fixes: NuGet/Home#12464

Regression? Last working version:

Description

The method DetectAndMarkAmbiguousCentralTransitiveDependencies didn't anticipate that a parent of a central transitive node could also be a central transitive node. Thus the method relied on a particular order of central transitive nodes therefore it wasn't really correct. After this change, the order of central nodes doesn't matter anymore.

PR Checklist

  • PR has a meaningful title

  • PR has a linked issue.

  • Described changes

  • Tests

    • Automated tests added
    • OR
    • Test exception
    • OR
    • N/A
  • Documentation

    • Documentation PR or issue filled
    • OR
    • N/A

@marcin-krystianc marcin-krystianc requested a review from a team as a code owner July 4, 2023 10:07
@ghost ghost added the Community PRs created by someone not in the NuGet team label Jul 4, 2023
@jeffkl jeffkl self-assigned this Jul 4, 2023
Copy link
Contributor

@jeffkl jeffkl left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution!

@jeffkl jeffkl merged commit d9d5a38 into NuGet:dev Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Community PRs created by someone not in the NuGet team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NuGet.Commands.LockFileBuilder KeyNotFoundException Exception
4 participants