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

[release/7.0.1xx] Create workloads enumerator lazily in dotnet-new hos #30773

Merged
merged 2 commits into from
Mar 8, 2023

Conversation

YuliiaKovalova
Copy link
Member

@YuliiaKovalova YuliiaKovalova commented Feb 22, 2023

Problem

--interactive flag isn't passed correctly when specified

Solution

Lazy loading of IWorkloadsRepositoryEnumerator helped to prevent the racing conditions and call TemplatePackageCoordinator.InitializeNuGetCredentialService with relevant -interactive value.
It was agreed to port #28677 in release/7.0.1xx, the stable fix was added in the main #30806

Checks:

[n/a] Added unit tests
[n/a] Added #nullable enable to all the modified files ?

@YuliiaKovalova YuliiaKovalova requested a review from a team as a code owner February 22, 2023 12:57
@YuliiaKovalova YuliiaKovalova changed the title [release/7.0.1xx] Create workloads enumerator lazily in dotnet-new hos [DO NOT Merge] [release/7.0.1xx] Create workloads enumerator lazily in dotnet-new hos Feb 22, 2023
@JanKrivanek JanKrivanek merged commit 0367d1e into dotnet:release/7.0.1xx Mar 8, 2023
@JanKrivanek JanKrivanek changed the title [DO NOT Merge] [release/7.0.1xx] Create workloads enumerator lazily in dotnet-new hos [release/7.0.1xx] Create workloads enumerator lazily in dotnet-new hos Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants