-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Purge the blazor-wasm branch #18770
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
Purge the blazor-wasm branch #18770
Conversation
158ef50
to
0ef6083
Compare
0ef6083
to
af8aa0f
Compare
eng/common/tools.ps1
Outdated
@@ -184,7 +183,7 @@ function InstallDotNetSdk([string] $dotnetRoot, [string] $version, [string] $arc | |||
InstallDotNet $dotnetRoot $version $architecture | |||
} | |||
|
|||
function InstallDotNet([string] $dotnetRoot, [string] $version, [string] $architecture = "", [string] $runtime = "", [bool] $skipNonVersionedFiles = $false) { | |||
function InstallDotNet([string] $dotnetRoot, [string] $version, [string] $architecture = "", [string] $runtime = "", [bool] $skipNonVersionedFiles = $true) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is to workaround the issue with installing the unstable version 3.1.102 SDK and calling build.cmd
multiple times. We should be able to remove this once 3.1.102 ships \ dotnet-install can install unstable zips that contain stable SDKs or runtime as discussed in the email thread.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any change made under eng/common/ will be obliterated as part of the next Arcade dependency update. We should never be editing these files except in short-term emergencies i.e. when we can't wait for an Arcade fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should never be editing these files except in short-term
Yup. Like I said, we should be able to undo this once 3.1.102 ships, which is fairly soon, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
February 18
@@ -1,10 +1,4 @@ | |||
<Project> | |||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)..\, Directory.Build.props))\Directory.Build.props" /> | |||
<Import Project="Blazor.Version.props" /> | |||
|
|||
<PropertyGroup> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This gets set by src/Components/Directory.Build.props
eng/Baseline.Designer.props
Outdated
@@ -2,146 +2,146 @@ | |||
<Project> | |||
<PropertyGroup> | |||
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects> | |||
<AspNetCoreBaselineVersion>3.1.0</AspNetCoreBaselineVersion> | |||
<AspNetCoreBaselineVersion>3.1.2</AspNetCoreBaselineVersion> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks wrong because it doesn't align with Baseline.xml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
<Dependency Name="Microsoft.EntityFrameworkCore.InMemory" Version="3.1.0" Pinned="true"> | ||
<Uri>https://github.com/aspnet/EntityFrameworkCore</Uri> | ||
<Sha>82c6ea483d3a17393dad5986df9a8eef89ddcd07</Sha> | ||
<Dependency Name="Microsoft.EntityFrameworkCore.InMemory" Version="3.1.2"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huh? Why isn't almost-every dependency in this file pinned?
Also:
- doubt even 1/3 of these dependencies are needed
- make sure none of the dependencies use
CoherentParentDependency
andPinned
together
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no idea what Pinned means. I copied this file pretty-much as is from the release/3.1 branch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks fine now. Because we don't have subscriptions from the extensions or efcore repo, Pinned
is irrelevant. That is, unless you need to pin something coming from blazor, you could remove all Pinned
attributes.
eng/common/tools.ps1
Outdated
@@ -184,7 +183,7 @@ function InstallDotNetSdk([string] $dotnetRoot, [string] $version, [string] $arc | |||
InstallDotNet $dotnetRoot $version $architecture | |||
} | |||
|
|||
function InstallDotNet([string] $dotnetRoot, [string] $version, [string] $architecture = "", [string] $runtime = "", [bool] $skipNonVersionedFiles = $false) { | |||
function InstallDotNet([string] $dotnetRoot, [string] $version, [string] $architecture = "", [string] $runtime = "", [bool] $skipNonVersionedFiles = $true) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any change made under eng/common/ will be obliterated as part of the next Arcade dependency update. We should never be editing these files except in short-term emergencies i.e. when we can't wait for an Arcade fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Am I reading this correctly that you've removed every template except for the blazor-wasm one? I don't really understand the context behind it, but if that's the intention you achieved it.
8bd9b08
to
aa2d105
Compare
@@ -2,6 +2,7 @@ | |||
|
|||
<PropertyGroup> | |||
<TargetFramework>${DefaultNetCoreTargetFramework}</TargetFramework> | |||
<DisableImplicitComponentsAnalyzers>true</DisableImplicitComponentsAnalyzers> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Follow up on #18841
@dougbu can you review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Solid
$dotnetInstallDir = Join-Path $RepoRoot ".dotnet" | ||
$sdkPath = [IO.Path]::Combine($dotnetInstallDir, 'sdk', '3.1.102') | ||
if (!(Test-Path $sdkPath)) { | ||
InstallDotNetSdk $dotnetInstallDir '3.1.102-servicing-014873' -skipNonVersionedFiles $true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this branch is still around for 3.1.103, will this workaround go away or need to be updated?
<Dependency Name="Microsoft.EntityFrameworkCore.InMemory" Version="3.1.0" Pinned="true"> | ||
<Uri>https://github.com/aspnet/EntityFrameworkCore</Uri> | ||
<Sha>82c6ea483d3a17393dad5986df9a8eef89ddcd07</Sha> | ||
<Dependency Name="Microsoft.EntityFrameworkCore.InMemory" Version="3.1.2"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks fine now. Because we don't have subscriptions from the extensions or efcore repo, Pinned
is irrelevant. That is, unless you need to pin something coming from blazor, you could remove all Pinned
attributes.
<Dependency Name="Microsoft.Extensions.Logging.Testing" Version="3.1.0-rtm.19572.8" CoherentParentDependency="Microsoft.EntityFrameworkCore"> | ||
<Uri>https://github.com/aspnet/Extensions</Uri> | ||
<Sha>1c5c7777ea9a19d54ab67ec1521665c99460efc5</Sha> | ||
<Dependency Name="Microsoft.Extensions.Logging.TraceSource" Version="3.1.2" Pinned="true"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't have a matching </Dependency>
for this one and it's breaking on the internal builds
No description provided.