[main] Update dependencies from dotnet/arcade (#10430)
[main] Update dependencies from dotnet/arcade - Coherency Updates: - Microsoft.SourceLink.GitHub: from 1.1.0-beta-21201-01 to 1.1.0-beta-21228-01 (parent: Microsoft.DotNet.Arcade.Sdk)
This commit is contained in:
parent
5e151301c7
commit
1d1884b836
4 changed files with 58 additions and 50 deletions
|
@ -136,20 +136,20 @@
|
||||||
</Dependency>
|
</Dependency>
|
||||||
</ProductDependencies>
|
</ProductDependencies>
|
||||||
<ToolsetDependencies>
|
<ToolsetDependencies>
|
||||||
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="6.0.0-beta.21228.3">
|
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="6.0.0-beta.21230.2">
|
||||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||||
<Sha>e1044f09e18638a98a9f0448086a7295f3d16834</Sha>
|
<Sha>46ad27d3cc557f2b84ce30b2c4e27438526dc91d</Sha>
|
||||||
<SourceBuild RepoName="arcade" ManagedOnly="true" />
|
<SourceBuild RepoName="arcade" ManagedOnly="true" />
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.DotNet.Build.Tasks.Installers" Version="6.0.0-beta.21228.3">
|
<Dependency Name="Microsoft.DotNet.Build.Tasks.Installers" Version="6.0.0-beta.21230.2">
|
||||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||||
<Sha>e1044f09e18638a98a9f0448086a7295f3d16834</Sha>
|
<Sha>46ad27d3cc557f2b84ce30b2c4e27438526dc91d</Sha>
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Private.SourceBuild.ReferencePackages" Version="1.0.0-beta.20217.1">
|
<Dependency Name="Private.SourceBuild.ReferencePackages" Version="1.0.0-beta.20217.1">
|
||||||
<Uri>https://github.com/dotnet/source-build-reference-packages</Uri>
|
<Uri>https://github.com/dotnet/source-build-reference-packages</Uri>
|
||||||
<Sha>639aeb4d76c8b1a6226bf7c4edb34fbdae30e6e1</Sha>
|
<Sha>639aeb4d76c8b1a6226bf7c4edb34fbdae30e6e1</Sha>
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.SourceLink.GitHub" Version="1.1.0-beta-21201-01" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
|
<Dependency Name="Microsoft.SourceLink.GitHub" Version="1.1.0-beta-21228-01" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
|
||||||
<Uri>https://github.com/dotnet/sourcelink</Uri>
|
<Uri>https://github.com/dotnet/sourcelink</Uri>
|
||||||
<Sha>4b584dbc392bb1aad49c2eb1ab84d8b489b6dccc</Sha>
|
<Sha>4b584dbc392bb1aad49c2eb1ab84d8b489b6dccc</Sha>
|
||||||
</Dependency>
|
</Dependency>
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<!-- Dependency from https://github.com/dotnet/arcade -->
|
<!-- Dependency from https://github.com/dotnet/arcade -->
|
||||||
<MicrosoftDotNetBuildTasksInstallersPackageVersion>6.0.0-beta.21228.3</MicrosoftDotNetBuildTasksInstallersPackageVersion>
|
<MicrosoftDotNetBuildTasksInstallersPackageVersion>6.0.0-beta.21230.2</MicrosoftDotNetBuildTasksInstallersPackageVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<!-- Dependency from https://github.com/dotnet/winforms -->
|
<!-- Dependency from https://github.com/dotnet/winforms -->
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
param(
|
param(
|
||||||
[Parameter(Mandatory=$true)][string] $InputPath, # Full path to directory where NuGet packages to be checked are stored
|
[Parameter(Mandatory = $true)][string] $InputPath, # Full path to directory where NuGet packages to be checked are stored
|
||||||
[Parameter(Mandatory=$true)][string] $ExtractPath, # Full path to directory where the packages will be extracted during validation
|
[Parameter(Mandatory = $true)][string] $ExtractPath, # Full path to directory where the packages will be extracted during validation
|
||||||
[Parameter(Mandatory=$true)][string] $DotnetSymbolVersion, # Version of dotnet symbol to use
|
[Parameter(Mandatory = $true)][string] $DotnetSymbolVersion, # Version of dotnet symbol to use
|
||||||
[Parameter(Mandatory=$false)][switch] $ContinueOnError, # If we should keep checking symbols after an error
|
[Parameter(Mandatory = $false)][switch] $CheckForWindowsPdbs, # If we should check for the existence of windows pdbs in addition to portable PDBs
|
||||||
[Parameter(Mandatory=$false)][switch] $Clean # Clean extracted symbols directory after checking symbols
|
[Parameter(Mandatory = $false)][switch] $ContinueOnError, # If we should keep checking symbols after an error
|
||||||
|
[Parameter(Mandatory = $false)][switch] $Clean # Clean extracted symbols directory after checking symbols
|
||||||
)
|
)
|
||||||
|
|
||||||
# Maximum number of jobs to run in parallel
|
# Maximum number of jobs to run in parallel
|
||||||
|
@ -19,9 +20,15 @@ $SecondsBetweenLoadChecks = 10
|
||||||
Set-Variable -Name "ERROR_BADEXTRACT" -Option Constant -Value -1
|
Set-Variable -Name "ERROR_BADEXTRACT" -Option Constant -Value -1
|
||||||
Set-Variable -Name "ERROR_FILEDOESNOTEXIST" -Option Constant -Value -2
|
Set-Variable -Name "ERROR_FILEDOESNOTEXIST" -Option Constant -Value -2
|
||||||
|
|
||||||
|
$WindowsPdbVerificationParam = ""
|
||||||
|
if ($CheckForWindowsPdbs) {
|
||||||
|
$WindowsPdbVerificationParam = "--windows-pdbs"
|
||||||
|
}
|
||||||
|
|
||||||
$CountMissingSymbols = {
|
$CountMissingSymbols = {
|
||||||
param(
|
param(
|
||||||
[string] $PackagePath # Path to a NuGet package
|
[string] $PackagePath, # Path to a NuGet package
|
||||||
|
[string] $WindowsPdbVerificationParam # If we should check for the existence of windows pdbs in addition to portable PDBs
|
||||||
)
|
)
|
||||||
|
|
||||||
. $using:PSScriptRoot\..\tools.ps1
|
. $using:PSScriptRoot\..\tools.ps1
|
||||||
|
@ -63,7 +70,7 @@ $CountMissingSymbols = {
|
||||||
}
|
}
|
||||||
|
|
||||||
Get-ChildItem -Recurse $ExtractPath |
|
Get-ChildItem -Recurse $ExtractPath |
|
||||||
Where-Object {$RelevantExtensions -contains $_.Extension} |
|
Where-Object { $RelevantExtensions -contains $_.Extension } |
|
||||||
ForEach-Object {
|
ForEach-Object {
|
||||||
$FileName = $_.FullName
|
$FileName = $_.FullName
|
||||||
if ($FileName -Match '\\ref\\') {
|
if ($FileName -Match '\\ref\\') {
|
||||||
|
@ -75,6 +82,7 @@ $CountMissingSymbols = {
|
||||||
param(
|
param(
|
||||||
[string] $FullPath, # Full path to the module that has to be checked
|
[string] $FullPath, # Full path to the module that has to be checked
|
||||||
[string] $TargetServerParam, # Parameter to pass to `Symbol Tool` indicating the server to lookup for symbols
|
[string] $TargetServerParam, # Parameter to pass to `Symbol Tool` indicating the server to lookup for symbols
|
||||||
|
[string] $WindowsPdbVerificationParam, # Parameter to pass to potential check for windows-pdbs.
|
||||||
[string] $SymbolsPath
|
[string] $SymbolsPath
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -107,7 +115,7 @@ $CountMissingSymbols = {
|
||||||
|
|
||||||
while ($totalRetries -lt $using:MaxRetry) {
|
while ($totalRetries -lt $using:MaxRetry) {
|
||||||
# Save the output and get diagnostic output
|
# Save the output and get diagnostic output
|
||||||
$output = & $dotnetSymbolExe --symbols --modules --windows-pdbs $TargetServerParam $FullPath -o $SymbolsPath --diagnostics | Out-String
|
$output = & $dotnetSymbolExe --symbols --modules $WindowsPdbVerificationParam $TargetServerParam $FullPath -o $SymbolsPath --diagnostics | Out-String
|
||||||
|
|
||||||
if (Test-Path $PdbPath) {
|
if (Test-Path $PdbPath) {
|
||||||
return 'PDB'
|
return 'PDB'
|
||||||
|
@ -136,8 +144,8 @@ $CountMissingSymbols = {
|
||||||
return $null
|
return $null
|
||||||
}
|
}
|
||||||
|
|
||||||
$SymbolsOnMSDL = & $FirstMatchingSymbolDescriptionOrDefault $FileName '--microsoft-symbol-server' $SymbolsPath
|
$SymbolsOnMSDL = & $FirstMatchingSymbolDescriptionOrDefault $FileName '--microsoft-symbol-server' $SymbolsPath $WindowsPdbVerificationParam
|
||||||
$SymbolsOnSymWeb = & $FirstMatchingSymbolDescriptionOrDefault $FileName '--internal-server' $SymbolsPath
|
$SymbolsOnSymWeb = & $FirstMatchingSymbolDescriptionOrDefault $FileName '--internal-server' $SymbolsPath $WindowsPdbVerificationParam
|
||||||
|
|
||||||
Write-Host -NoNewLine "`t Checking file " $FileName "... "
|
Write-Host -NoNewLine "`t Checking file " $FileName "... "
|
||||||
|
|
||||||
|
@ -222,7 +230,7 @@ function CheckSymbolsAvailable {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
Start-Job -ScriptBlock $CountMissingSymbols -ArgumentList $FullName | Out-Null
|
Start-Job -ScriptBlock $CountMissingSymbols -ArgumentList @($FullName,$WindowsPdbVerificationParam) | Out-Null
|
||||||
|
|
||||||
$NumJobs = @(Get-Job -State 'Running').Count
|
$NumJobs = @(Get-Job -State 'Running').Count
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"msbuild-sdks": {
|
"msbuild-sdks": {
|
||||||
"Microsoft.DotNet.Arcade.Sdk": "6.0.0-beta.21228.3"
|
"Microsoft.DotNet.Arcade.Sdk": "6.0.0-beta.21230.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue