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

[Internal to External Port] Templating Nuget Config Changes, MSBuild #28548

Merged
merged 140 commits into from
Oct 13, 2022

Conversation

nagilson
Copy link
Member

@nagilson nagilson commented Oct 13, 2022

This ports more of the security changes we did internally for the now public MSRC

  • Not sure if we need to preserve the change to nuget-client trusted. @kartheekp-ms is getting back on that * 59fa9ca --> We're OK here.

  • Why is the diff showing changes to eng\versions when they actually reflect what is currently in the release/7.0.1xx branch? Might be a GH bug ? --> Yes it's a github bug.

  • We may want to have template engine confirm that we don't need to downgrade ubuntu and any of their dependency changes have gone in related to the changes here @dotnet/templating-engine-maintainers --> This is due to changes internally and should be fine, OK

  • Getting confirmation from MSBuild side @Forgind --> OK

nagilson and others added 30 commits September 13, 2022 00:05
…914.20

Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.CodeAnalysis.CSharp.CodeStyle , Microsoft.CodeAnalysis.CSharp.Features , Microsoft.CodeAnalysis.CSharp.Workspaces , Microsoft.CodeAnalysis.Workspaces.MSBuild , Microsoft.Net.Compilers.Toolset
 From Version 4.4.0-2.22463.8 -> To Version 4.4.0-2.22464.20
…914.7

Microsoft.SourceBuild.Intermediate.fsharp , Microsoft.FSharp.Compiler
 From Version 7.0.0-beta.22464.1 -> To Version 7.0.0-beta.22464.7
…50ebf938-3840-487f-87f2-49e9f2c9a073

[release/7.0.1xx-rc2] Update dependencies from dotnet/roslyn
…8e75157a-8778-42b3-bb7a-a1222f2e08e9

[release/7.0.1xx-rc2] Update dependencies from dotnet/fsharp
…0915.2

Microsoft.Build , Microsoft.Build.Localization
 From Version 17.4.0-preview-22464-02 -> To Version 17.4.0-preview-22465-02
dotnet-maestro bot and others added 12 commits September 23, 2022 04:59
…ld 20220922.10

Microsoft.WindowsDesktop.App.Ref , Microsoft.WindowsDesktop.App.Runtime.win-x64 , VS.Redist.Common.WindowsDesktop.SharedFramework.x64.7.0 , VS.Redist.Common.WindowsDesktop.TargetingPack.x64.7.0
 From Version 7.0.0-rc.2.22471.7 -> To Version 7.0.0-rc.2.22472.10

Dependency coherency updates

Microsoft.NET.Sdk.WindowsDesktop
 From Version 7.0.0-rc.2.22471.7 -> To Version 7.0.0-rc.2.22472.8 (parent: Microsoft.WindowsDesktop.App.Ref
…ld 20220922.13

Microsoft.WindowsDesktop.App.Ref , Microsoft.WindowsDesktop.App.Runtime.win-x64 , VS.Redist.Common.WindowsDesktop.SharedFramework.x64.7.0 , VS.Redist.Common.WindowsDesktop.TargetingPack.x64.7.0
 From Version 7.0.0-rc.2.22471.7 -> To Version 7.0.0-rc.2.22472.13

Dependency coherency updates

Microsoft.NET.Sdk.WindowsDesktop
 From Version 7.0.0-rc.2.22471.7 -> To Version 7.0.0-rc.2.22472.9 (parent: Microsoft.WindowsDesktop.App.Ref
…0220923.1

Microsoft.TemplateEngine.Abstractions
 From Version 7.0.100-rc.2.22471.7 -> To Version 7.0.100-rc.2.22473.1
…923.1

Microsoft.SourceBuild.Intermediate.fsharp , Microsoft.FSharp.Compiler
 From Version 7.0.0-beta.22471.6 -> To Version 7.0.0-beta.22473.1
…dc52891a-0940-4626-a007-33088aae0937

[release/7.0.1xx-rc2] Update dependencies from dotnet/runtime
…bdb2f65c-9244-4bd7-bce7-e7a507ae8c5d

[release/7.0.1xx-rc2] Update dependencies from dotnet/templating
…db4b9cf3-30ed-4341-8933-e239e9f421a4

[release/7.0.1xx-rc2] Update dependencies from dotnet/windowsdesktop
…0686be38-9efd-4469-bf0c-e6f11cb30d4e

[release/7.0.1xx-rc2] Update dependencies from dotnet/fsharp
…rom dnceng/internal/dotnet-aspnetcore

This pull request updates the following dependencies

[marker]: <> (Begin:fbc41143-1c57-423d-b8c7-08da91234a73)
## From https://dev.azure.com/dnceng/internal/_git/dotnet-aspnetcore
- **Subscription**: fbc41143-1c57-423d-b8c7-08da91234a73
- **Build**: 20220926.2
- **Date Produced**: September 26, 2022 5:00:54 PM UTC
- **Commit**: b12b77b241f0a093d53508c3cb2084860bd5339d
- **Branch**: refs/heads/internal/release/7.0-rc2

[DependencyUpdate]: <> (Begin)

- **Updates**:
  - **dotnet-dev-certs**: [from 7.0.0-rc.2.22471.5 to 7.0.0-rc.2.22476.2][4]
  - **dotnet-user-jwts**: [from 7.0.0-rc.2.22471.5 to 7.0.0-rc.2.22476.2][4]
  - **dotnet-user-secrets**: [from 7.0.0-rc.2.22471.5 to 7.0.0-rc.2.22476.2][4]
  - **Microsoft.AspNetCore.Analyzers**: [from 7.0.0-rc.2.22471.5 to 7.0.0-rc.2.22476.2][4]
  - **Microsoft.AspNetCore.App.Ref**: [from 7.0.0-rc.2.22471.5 to 7.0.0-rc.2.22476.2][4]
  - **Microsoft.AspNetCore.App.Ref.Internal**: [from 7.0.0-rc.2.22471.5 to 7.0.0-rc.2.22476.2][4]
  - **Microsoft.AspNetCore.App.Runtime.win-x64**: [from 7.0.0-rc.2.22471.5 to 7.0.0-rc.2.22476.2][4]
  - **Microsoft.AspNetCore.Authorization**: [from 7.0.0-rc.2.22471.5 to 7.0.0-rc.2.22476.2][4]
  - **Microsoft.AspNetCore.Components.SdkAnalyzers**: [from 7.0.0-rc.2.22471.5 to 7.0.0-rc.2.22476.2][4]
  - **Microsoft.AspNetCore.Components.Web**: [from 7.0.0-rc.2.22471.5 to 7.0.0-rc.2.22476.2][4]
  - **Microsoft.AspNetCore.DeveloperCertificates.XPlat**: [from 7.0.0-rc.2.22471.5 to 7.0.0-rc.2.22476.2][4]
  - **Microsoft.AspNetCore.Mvc.Analyzers**: [from 7.0.0-rc.2.22471.5 to 7.0.0-rc.2.22476.2][4]
  - **Microsoft.AspNetCore.Mvc.Api.Analyzers**: [from 7.0.0-rc.2.22471.5 to 7.0.0-rc.2.22476.2][4]
  - **Microsoft.AspNetCore.TestHost**: [from 7.0.0-rc.2.22471.5 to 7.0.0-rc.2.22476.2][4]
  - **Microsoft.Extensions.FileProviders.Embedded**: [from 7.0.0-rc.2.22471.5 to 7.0.0-rc.2.22476.2][4]
  - **Microsoft.JSInterop**: [from 7.0.0-rc.2.22471.5 to 7.0.0-rc.2.22476.2][4]
  - **VS.Redist.Common.AspNetCore.SharedFramework.x64.7.0**: [from 7.0.0-rc.2.22471.5 to 7.0.0-rc.2.22476.2][4]

[4]: https://dev.azure.com/dnceng/internal/_git/dotnet-aspnetcore/branches?baseVersion=GC697875c&targetVersion=GCb12b77b&_a=files

[DependencyUpdate]: <> (End)

[marker]: <> (End:fbc41143-1c57-423d-b8c7-08da91234a73)
@nagilson nagilson added Area-dotnet new the item is related to dotnet new command Area-NuGet Priority:0 Work that we can't release without labels Oct 13, 2022
@nagilson nagilson requested a review from marcpopMSFT October 13, 2022 16:52
@kartheekp-ms
Copy link
Contributor

Not sure if we need to preserve the change to nuget-client trusted. @kartheekp-ms is getting back on that * 59fa9ca

The commit linked above overwrites other commits because the current version in release/7.0.1xx is higher than the version mentioned in the commit 59fa9ca. We are working on a new insertion into .NET SDK cc @dominoFire @nkolev92

@nagilson
Copy link
Member Author

Not sure if we need to preserve the change to nuget-client trusted. @kartheekp-ms is getting back on that * 59fa9ca

The commit linked above overwrites other commits because the current version in release/7.0.1xx is higher than the version mentioned in the commit 59fa9ca. We are working on a new insertion into .NET SDK cc @dominoFire @nkolev92

Makes sense, that's what I figured. Thank you for confirming 😄

@Forgind
Copy link
Member

Forgind commented Oct 13, 2022

  • Why is the diff showing changes to eng\versions when they actually reflect what is currently in the release/7.0.1xx branch? Might be a GH bug ? --> Yes it's a github bug.

I'm a bit surprised by this, since it looks like the changes (at least the one I looked at) went in 17 hours ago, so you'd think it'd be up-to-date by now. I noticed there are conflicts, so maybe it has something to do with that?

  • Getting confirmation from MSBuild side @Forgind

Sorry, what am I confirming?

@nagilson
Copy link
Member Author

nagilson commented Oct 13, 2022

Sorry, what am I confirming? @Forgind

Basically if there are any missing components from MSBuild side or if it looks good to you, as well as with the insertions. I think it doesn't matter if public MSBuild is updated?

@nagilson
Copy link
Member Author

nagilson commented Oct 13, 2022

And the merge conflicts did not exist until a few minutes ago when some code flow from 7.0.1xx went in, though it's a good hypothesis, fixing the merge conflicts updated GH to realize that the files weren't changed!

@nagilson nagilson marked this pull request as ready for review October 13, 2022 17:37
@nagilson nagilson requested a review from a team as a code owner October 13, 2022 17:37
@Forgind
Copy link
Member

Forgind commented Oct 13, 2022

It looks like release/7.0.1xx is currently on 0a4ea3, which corresponds to the latest commit in vs17.4 MSBuild, which is correct, so I think this looks good from my side 👍

Copy link
Member

@JanKrivanek JanKrivanek left a comment

Choose a reason for hiding this comment

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

Looks good from template engine point of view. Thank you!

@nagilson
Copy link
Member Author

@marcpopMSFT we have confirmation now from all relevant parties

@nagilson nagilson enabled auto-merge October 13, 2022 21:01
@nagilson nagilson merged commit cf48680 into dotnet:release/7.0.1xx Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-dotnet new the item is related to dotnet new command Area-Infrastructure Area-NuGet Priority:0 Work that we can't release without
Projects
None yet
Development

Successfully merging this pull request may close these issues.