Skip to content

refactor NuGet migrations code#4875

Merged
kartheekp-ms merged 2 commits intodevfrom
dev-kartheekp-ms-migrationfw
Oct 26, 2022
Merged

refactor NuGet migrations code#4875
kartheekp-ms merged 2 commits intodevfrom
dev-kartheekp-ms-migrationfw

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 dismissed stale reviews from stephentoub and nkolev92 via e34e0ce October 25, 2022 23:56
@kartheekp-ms kartheekp-ms force-pushed the dev-kartheekp-ms-migrationfw branch from e34e0ce to ed1429e Compare October 26, 2022 13:40
@kartheekp-ms kartheekp-ms requested a review from nkolev92 October 26, 2022 17:39
@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