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

make directory crawling unit-testable #11071

Merged
merged 2 commits into from
Dec 9, 2024

Conversation

brettfo
Copy link
Contributor

@brettfo brettfo commented Dec 6, 2024

For the eventual end-to-end C# NuGet updater, a PowerShell script is used to crawl the directories for global.json files for SDK installation prior to the job running. This PR makes that behavior testable and fixes a bug where this logic would previously throw when trying to navigate past the update root directory.

@github-actions github-actions bot added the L: dotnet:nuget NuGet packages via nuget or dotnet label Dec 6, 2024
@brettfo brettfo force-pushed the dev/brettfo/nuget-unit-test-sdk-install branch 4 times, most recently from a659dff to 260f0e3 Compare December 6, 2024 19:57
@brettfo brettfo marked this pull request as ready for review December 6, 2024 20:15
@brettfo brettfo requested a review from a team as a code owner December 6, 2024 20:15
@brettfo brettfo force-pushed the dev/brettfo/nuget-unit-test-sdk-install branch from 260f0e3 to daf2e65 Compare December 6, 2024 20:15
Copy link
Contributor

@kbukum1 kbukum1 left a comment

Choose a reason for hiding this comment

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

For deploying purpose.

@randhircs randhircs force-pushed the dev/brettfo/nuget-unit-test-sdk-install branch from 184be12 to 87c2c05 Compare December 9, 2024 17:04
@brettfo brettfo force-pushed the dev/brettfo/nuget-unit-test-sdk-install branch 2 times, most recently from e25fe4d to 917b88f Compare December 9, 2024 18:00
@brettfo brettfo force-pushed the dev/brettfo/nuget-unit-test-sdk-install branch from 917b88f to 6a944b5 Compare December 9, 2024 18:58
@randhircs randhircs merged commit facb5d7 into main Dec 9, 2024
70 checks passed
@randhircs randhircs deleted the dev/brettfo/nuget-unit-test-sdk-install branch December 9, 2024 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: dotnet:nuget NuGet packages via nuget or dotnet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants