Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

[main] Update dependencies from dotnet/arcade #1008

Merged
merged 39 commits into from
May 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
5f3f298
Update dependencies from https://github.com/dotnet/arcade build 20210…
dotnet-maestro[bot] Apr 10, 2021
81724e5
Update dependencies from https://github.com/dotnet/arcade build 20210…
dotnet-maestro[bot] Apr 10, 2021
bd096ca
Update dependencies from https://github.com/dotnet/arcade build 20210…
dotnet-maestro[bot] Apr 10, 2021
40c3619
Update dependencies from https://github.com/dotnet/arcade build 20210…
dotnet-maestro[bot] Apr 10, 2021
ebd3b80
Update dependencies from https://github.com/dotnet/arcade build 20210…
dotnet-maestro[bot] Apr 13, 2021
431223c
Update dependencies from https://github.com/dotnet/arcade build 20210…
dotnet-maestro[bot] Apr 15, 2021
22f5e1c
Update dependencies from https://github.com/dotnet/arcade build 20210…
dotnet-maestro[bot] Apr 16, 2021
3c65ce9
Update dependencies from https://github.com/dotnet/arcade build 20210…
dotnet-maestro[bot] Apr 17, 2021
303438c
Update dependencies from https://github.com/dotnet/arcade build 20210…
dotnet-maestro[bot] Apr 20, 2021
5909654
Update dependencies from https://github.com/dotnet/arcade build 20210…
dotnet-maestro[bot] Apr 21, 2021
4bb059a
Update dependencies from https://github.com/dotnet/arcade build 20210…
dotnet-maestro[bot] Apr 22, 2021
d4212f3
Update dependencies from https://github.com/dotnet/arcade build 20210…
dotnet-maestro[bot] Apr 24, 2021
338328a
Revert SDK update
Apr 28, 2021
a05ba31
Update dependencies from https://github.com/dotnet/arcade build 20210…
dotnet-maestro[bot] Apr 29, 2021
f8c6396
bye bye msbuild
jkotalik Apr 29, 2021
1c9a117
Update dependencies from https://github.com/dotnet/arcade build 20210…
dotnet-maestro[bot] Apr 30, 2021
c58dc2a
Moving files and ignoring warnings
jkotalik Apr 30, 2021
58a74de
format
jkotalik Apr 30, 2021
4bbdb87
Update dependencies from https://github.com/dotnet/arcade build 20210…
dotnet-maestro[bot] May 1, 2021
fe06d86
tests
jkotalik May 3, 2021
e8bb32c
6 tests total
jkotalik May 3, 2021
d5d3935
tests
jkotalik May 3, 2021
1e3112c
Sanity check
jkotalik May 3, 2021
3f504ed
Timeouts
jkotalik May 3, 2021
682aacb
nit
jkotalik May 3, 2021
f5ed524
Timeouts not working...
jkotalik May 3, 2021
1b1d434
nit
jkotalik May 3, 2021
0ca30b1
Adding more logs
jkotalik May 3, 2021
62ff64a
More diagnostics
jkotalik May 3, 2021
61dbf85
test
jkotalik May 3, 2021
9130e57
nit
jkotalik May 3, 2021
f3bed22
yaml
jkotalik May 3, 2021
7eaec86
Trying something else
jkotalik May 3, 2021
9dd9eb6
Try keeping msbuild?
jkotalik May 3, 2021
3af59d7
--no-restore
jkotalik May 3, 2021
f6b2d2d
Skip tests for now
jkotalik May 3, 2021
f067ab0
Nits
jkotalik May 3, 2021
7bd8010
nit
jkotalik May 3, 2021
08b06fa
nit
jkotalik May 3, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ stages:
steps:
- checkout: self
clean: true
- script: eng/common/cibuild.sh
- script: eng/common/build.sh --restore --build --pack --publish --ci
--configuration $(_BuildConfig)
--prepareMachine
displayName: Build
Expand Down Expand Up @@ -146,7 +146,7 @@ stages:
steps:
- checkout: self
clean: true
- script: eng/common/cibuild.sh
- script: eng/common/build.sh --restore --build --pack --publish --ci
--configuration $(_BuildConfig)
--prepareMachine
displayName: Build
Expand Down
20 changes: 10 additions & 10 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@
<ProductDependencies>
</ProductDependencies>
<ToolsetDependencies>
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="6.0.0-beta.21160.1">
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="6.0.0-beta.21230.2">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>dcc1a4e5315b4f956d228f46999e8135701d8d4f</Sha>
<Sha>46ad27d3cc557f2b84ce30b2c4e27438526dc91d</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.Build.Tasks.Feed" Version="6.0.0-beta.21160.1">
<Dependency Name="Microsoft.DotNet.Build.Tasks.Feed" Version="6.0.0-beta.21230.2">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>dcc1a4e5315b4f956d228f46999e8135701d8d4f</Sha>
<Sha>46ad27d3cc557f2b84ce30b2c4e27438526dc91d</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.SignTool" Version="6.0.0-beta.21160.1">
<Dependency Name="Microsoft.DotNet.SignTool" Version="6.0.0-beta.21230.2">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>dcc1a4e5315b4f956d228f46999e8135701d8d4f</Sha>
<Sha>46ad27d3cc557f2b84ce30b2c4e27438526dc91d</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="6.0.0-beta.21160.1">
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="6.0.0-beta.21230.2">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>dcc1a4e5315b4f956d228f46999e8135701d8d4f</Sha>
<Sha>46ad27d3cc557f2b84ce30b2c4e27438526dc91d</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.SwaggerGenerator.MSBuild" Version="6.0.0-beta.21160.1">
<Dependency Name="Microsoft.DotNet.SwaggerGenerator.MSBuild" Version="6.0.0-beta.21230.2">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>dcc1a4e5315b4f956d228f46999e8135701d8d4f</Sha>
<Sha>46ad27d3cc557f2b84ce30b2c4e27438526dc91d</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.Maestro.Client" Version="1.1.0-beta.19556.4">
<Uri>https://github.com/dotnet/arcade-services</Uri>
Expand Down
1 change: 1 addition & 0 deletions eng/common/cross/build-android-rootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ __AndroidPackages+=" libandroid-glob"
__AndroidPackages+=" liblzma"
__AndroidPackages+=" krb5"
__AndroidPackages+=" openssl"
__AndroidPackages+=" openldap"

for path in $(wget -qO- http://termux.net/dists/stable/main/binary-$__AndroidArch/Packages |\
grep -A15 "Package: \(${__AndroidPackages// /\\|}\)" | grep -v "static\|tool" | grep Filename); do
Expand Down
4 changes: 4 additions & 0 deletions eng/common/cross/build-rootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,13 @@ __UbuntuPackages+=" libcurl4-openssl-dev"
__UbuntuPackages+=" libkrb5-dev"
__UbuntuPackages+=" libssl-dev"
__UbuntuPackages+=" zlib1g-dev"
__UbuntuPackages+=" libldap2-dev"

__AlpinePackages+=" curl-dev"
__AlpinePackages+=" krb5-dev"
__AlpinePackages+=" openssl-dev"
__AlpinePackages+=" zlib-dev"
__AlpinePackages+=" openldap-dev"

__FreeBSDBase="12.1-RELEASE"
__FreeBSDPkg="1.12.0"
Expand All @@ -68,11 +70,13 @@ __FreeBSDPackages+=" icu"
__FreeBSDPackages+=" libinotify"
__FreeBSDPackages+=" lttng-ust"
__FreeBSDPackages+=" krb5"
__FreeBSDPackages+=" libslapi-2.4"

__IllumosPackages="icu-64.2nb2"
__IllumosPackages+=" mit-krb5-1.16.2nb4"
__IllumosPackages+=" openssl-1.1.1e"
__IllumosPackages+=" zlib-1.2.11"
__IllumosPackages+=" openldap-client-2.4.49"

__UseMirror=0

Expand Down
2 changes: 1 addition & 1 deletion eng/common/generate-graph-files.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ catch {
ExitWithExitCode 1
} finally {
Pop-Location
}
}
110 changes: 110 additions & 0 deletions eng/common/generate-locproject.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
Param(
[Parameter(Mandatory=$true)][string] $SourcesDirectory, # Directory where source files live; if using a Localize directory it should live in here
[string] $LanguageSet = 'VS_Main_Languages', # Language set to be used in the LocProject.json
[switch] $UseCheckedInLocProjectJson, # When set, generates a LocProject.json and compares it to one that already exists in the repo; otherwise just generates one
[switch] $CreateNeutralXlfs # Creates neutral xlf files. Only set to false when running locally
)

# Generates LocProject.json files for the OneLocBuild task. OneLocBuildTask is described here:
# https://ceapex.visualstudio.com/CEINTL/_wiki/wikis/CEINTL.wiki/107/Localization-with-OneLocBuild-Task

Set-StrictMode -Version 2.0
$ErrorActionPreference = "Stop"
. $PSScriptRoot\tools.ps1

Import-Module -Name (Join-Path $PSScriptRoot 'native\CommonLibrary.psm1')

$exclusionsFilePath = "$SourcesDirectory\Localize\LocExclusions.json"
$exclusions = @{ Exclusions = @() }
if (Test-Path -Path $exclusionsFilePath)
{
$exclusions = Get-Content "$exclusionsFilePath" | ConvertFrom-Json
}

Push-Location "$SourcesDirectory" # push location for Resolve-Path -Relative to work

# Template files
$jsonFiles = @()
$jsonFiles += Get-ChildItem -Recurse -Path "$SourcesDirectory" | Where-Object { $_.FullName -Match "\.template\.config\\localize\\en\..+\.json" } # .NET templating pattern
$jsonFiles += Get-ChildItem -Recurse -Path "$SourcesDirectory" | Where-Object { $_.FullName -Match "en\\strings\.json" } # current winforms pattern

$xlfFiles = @()

$allXlfFiles = Get-ChildItem -Recurse -Path "$SourcesDirectory\*\*.xlf"
$langXlfFiles = @()
if ($allXlfFiles) {
$null = $allXlfFiles[0].FullName -Match "\.([\w-]+)\.xlf" # matches '[langcode].xlf'
$firstLangCode = $Matches.1
$langXlfFiles = Get-ChildItem -Recurse -Path "$SourcesDirectory\*\*.$firstLangCode.xlf"
}
$langXlfFiles | ForEach-Object {
$null = $_.Name -Match "(.+)\.[\w-]+\.xlf" # matches '[filename].[langcode].xlf

$destinationFile = "$($_.Directory.FullName)\$($Matches.1).xlf"
$xlfFiles += Copy-Item "$($_.FullName)" -Destination $destinationFile -PassThru
}

$locFiles = $jsonFiles + $xlfFiles

$locJson = @{
Projects = @(
@{
LanguageSet = $LanguageSet
LocItems = @(
$locFiles | ForEach-Object {
$outputPath = "$(($_.DirectoryName | Resolve-Path -Relative) + "\")"
$continue = $true
foreach ($exclusion in $exclusions.Exclusions) {
if ($outputPath.Contains($exclusion))
{
$continue = $false
}
}
$sourceFile = ($_.FullName | Resolve-Path -Relative)
if (!$CreateNeutralXlfs -and $_.Extension -eq '.xlf') {
Remove-Item -Path $sourceFile
}
if ($continue)
{
if ($_.Directory.Name -eq 'en' -and $_.Extension -eq '.json') {
return @{
SourceFile = $sourceFile
CopyOption = "LangIDOnPath"
OutputPath = "$($_.Directory.Parent.FullName | Resolve-Path -Relative)\"
}
}
else {
return @{
SourceFile = $sourceFile
CopyOption = "LangIDOnName"
OutputPath = $outputPath
}
}
}
}
)
}
)
}

$json = ConvertTo-Json $locJson -Depth 5
Write-Host "LocProject.json generated:`n`n$json`n`n"
Pop-Location

if (!$UseCheckedInLocProjectJson) {
New-Item "$SourcesDirectory\Localize\LocProject.json" -Force # Need this to make sure the Localize directory is created
Set-Content "$SourcesDirectory\Localize\LocProject.json" $json
}
else {
New-Item "$SourcesDirectory\Localize\LocProject-generated.json" -Force # Need this to make sure the Localize directory is created
Set-Content "$SourcesDirectory\Localize\LocProject-generated.json" $json

if ((Get-FileHash "$SourcesDirectory\Localize\LocProject-generated.json").Hash -ne (Get-FileHash "$SourcesDirectory\Localize\LocProject.json").Hash) {
Write-PipelineTelemetryError -Category "OneLocBuild" -Message "Existing LocProject.json differs from generated LocProject.json. Download LocProject-generated.json and compare them."

exit 1
}
else {
Write-Host "Generated LocProject.json and current LocProject.json are identical."
}
}
30 changes: 0 additions & 30 deletions eng/common/performance/blazor_perf.proj

This file was deleted.

110 changes: 0 additions & 110 deletions eng/common/performance/crossgen_perf.proj

This file was deleted.

Loading