-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Create project templates target to 9.0 #34996
Conversation
985a899
to
2aeaaa3
Compare
@MiYanni We still have to update dotnet sdk to 9.0 judging from these test failures.
|
I'm not sure of the order of updates that need to occur. I'm new to the team and haven't been around for a major version rebranding before. Jacques or Daniel might have a better grasp on it. |
/azp run |
Pull request contains merge conflicts. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@baronfel @marcpopMSFT There are some container test failures like this:
Could you help to take a look? |
These specific container tests are in an awkward position: They rely on dotnet/runtime-deps, dotnet/runtime, dotnet/aspnet base images being available with .NET and ASP.NET Runtimes matching the one being targeted for (which don't exist yet), and so they deliberately pin to versions behind the latest. We need a better story here for testing changes, but there aren't currently any SDK Container tooling features that are reliant on .NET 9, so we could probably just keep these tests pinned to .Net 8 (where we do have usable base images) and bump them to 9 at a later time, once we begin creating usable .NET 9 images from dotnet/dotnet-docker. |
FYI, I'm waiting for main codeflow into installer to get unblocked before reviewing and approving. |
@marcpopMSFT codeflow is unblobked |
...tTemplates.9.0/content/ClassLibrary-CSharp/.template.config/localize/templatestrings.cs.json
Outdated
Show resolved
Hide resolved
src/Tests/Microsoft.NET.Build.Containers.IntegrationTests/CreateNewImageTests.cs
Show resolved
Hide resolved
src/Tests/Microsoft.NET.Build.Containers.IntegrationTests/CreateNewImageTests.cs
Show resolved
Hide resolved
...tTemplates.9.0/content/ClassLibrary-CSharp/.template.config/localize/templatestrings.de.json
Outdated
Show resolved
Hide resolved
@v-wuzhai thank you for putting this together. It looks pretty good to me. I left a few comments. The biggest one is around the localization of Target. It looks like when Vlada did the 8 migration, she just changed everything back to english and then let the translators swap it back in a future onelocbuild. So it sounds like it might be safe to leave as is but it also seems like it would save the translators time if we just left the translation as is. @baronfel @YuliiaKovalova do ya'll know why Vlada chose to swap the localized json files to have english (is there tooling that generates those and so they switched automatically?) |
I have no idea here. |
So if we switched back to the loc templates, that'd be fine and it also might be fine to leave as is (as it'll get updated later)? |
Looks like there will be an update to these localized files later. |
I think the drawback is that it won't get fixed until we create a 9.0.1xx branch and target localization at that branch (so templates will be unlocalized until August). @baronfel thoughts on whether we should have Jason go fix all the localization now or just let it get fixed in normal flow in August? |
you can revert the word "Target" in localization files on linux in no time:
commit and push |
Yes, I think so. |
@kasperk81 thanks for catching that and the tip on reverting it. @v-wuzhai thanks for updating the PR to include that. It looks good to me now. @baronfel @MiYanni @joeloff any concerns before we merge this? |
Nope! Let's get this thing rolling! |
...Approvals/DotnetCSharpClassTemplatesTest.record.langVersion=9.0.verified/record/TestItem1.cs
Outdated
Show resolved
Hide resolved
i tried latest build
what is still missing to complete this transition? |
needed dotnet/installer#17684 |
No description provided.