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

refactor NuGet migrations code #4875

Merged
merged 2 commits into from
Oct 26, 2022
Merged

Conversation

kartheekp-ms
Copy link
Contributor

@kartheekp-ms kartheekp-ms commented Oct 25, 2022

Bug

Fixes: https://github.com/NuGet/Client.Engineering/issues/1936

Regression? Last working version:

Description

Thanks to @stephentoub for taking the time to review #4859 PR offline. I have refactored the code based on the feedback received. At a high level here are the changes proposed in this PR.

  1. Invoke Mutex.ReleaseMutex(); in the finally block just to be on the safe side.
  2. Removed logic to support running multiple migrations because it is not needed currently.

PR Checklist

  • PR has a meaningful title

  • PR has a linked issue.

  • Described changes

  • Tests

    • Automated tests added
  • Documentation

    • N/A

@kartheekp-ms kartheekp-ms requested a review from a team as a code owner October 25, 2022 01:21
nkolev92
nkolev92 previously approved these changes Oct 25, 2022
stephentoub
stephentoub previously approved these changes Oct 25, 2022
@kartheekp-ms kartheekp-ms merged commit 3f3f9ec into dev Oct 26, 2022
@kartheekp-ms kartheekp-ms deleted the dev-kartheekp-ms-migrationfw branch October 26, 2022 18:17
kartheekp-ms added a commit that referenced this pull request Nov 3, 2022
kartheekp-ms added a commit that referenced this pull request Nov 3, 2022
kartheekp-ms added a commit that referenced this pull request Nov 3, 2022
kartheekp-ms added a commit that referenced this pull request Nov 3, 2022
kartheekp-ms added a commit that referenced this pull request Nov 3, 2022
kartheekp-ms added a commit that referenced this pull request Nov 3, 2022
kartheekp-ms added a commit that referenced this pull request Nov 3, 2022
kartheekp-ms added a commit that referenced this pull request Nov 3, 2022
kartheekp-ms added a commit that referenced this pull request Dec 6, 2022
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.

3 participants