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

Simplify methods in the LockFileUtils, obsolete unused LockFileDependencyProvider #4370

Merged

Conversation

nkolev92
Copy link
Member

@nkolev92 nkolev92 commented Dec 15, 2021

Bug

Fixes: NuGet/Home#11456

Regression? Last working version:

Description

This is a refactoring that makes the NuGet/Home#5957 changeset a lot smaller.

This change reduces the overexposure of types we have.

It also obsoletes a class that's unused.

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

@nkolev92 nkolev92 changed the title Simplify methods in the LockFileBuilder, obsolete unused class Simplify methods in the LockFileUtils, obsolete unused LockFileDependencyProvider Dec 15, 2021
@nkolev92 nkolev92 marked this pull request as ready for review December 15, 2021 23:34
@nkolev92 nkolev92 requested a review from a team as a code owner December 15, 2021 23:34
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.

Looks good, assuming there's tests that cover these changes?

@nkolev92
Copy link
Member Author

Looks good, assuming there's tests that cover these changes?

Yep.

In my earlier refactoring I did break some tests because I was passing a null for the runtimeIdentifier instead of passing it donw.

@nkolev92 nkolev92 merged commit 54e041f into dev Dec 16, 2021
@nkolev92 nkolev92 deleted the dev-nkolev92-cleanupLockFileBuildingBySimplifyingSomeMethods branch December 16, 2021 18:10
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.

Simplify methods in the LockFileUtils, obsolete unused LockFileDependencyProvider
2 participants