Skip to content

Commit a07cc72

Browse files
committed
Merge branch 'main' of https://github.com/dotnet/aspnetcore into safia/openapi-v2
2 parents 56fb84a + 84fd1a4 commit a07cc72

File tree

20 files changed

+454
-336
lines changed

20 files changed

+454
-336
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ Start a discussion on the [repository issue tracker](https://github.com/dotnet/a
88

99
## Bugs and feature requests?
1010

11-
**IMPORTANT: If you want to report a security-related issue, please see the `Reporting security issues and bugs` section below.**
11+
> [!IMPORTANT]
12+
> **If you want to report a security-related issue, please see the `Reporting security issues and bugs` section below.**
1213
1314
Before reporting a new issue, try to find an existing issue if one already exists. If it already exists, upvote (👍) it. Also, consider adding a comment with your unique scenarios and requirements related to that issue. Upvotes and clear details on the issue's impact help us prioritize the most important issues to be worked on sooner rather than later. If you can't find one, that's okay, we'd rather get a duplicate report than none.
1415

eng/Version.Details.xml

Lines changed: 196 additions & 196 deletions
Large diffs are not rendered by default.

eng/Versions.props

Lines changed: 95 additions & 95 deletions
Large diffs are not rendered by default.

eng/common/cross/build-rootfs.sh

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ __QEMUArch=arm
3333
__UbuntuArch=armhf
3434
__UbuntuRepo=
3535
__UbuntuSuites="updates security backports"
36-
__DebianSuites=
3736
__LLDB_Package="liblldb-3.9-dev"
3837
__SkipUnmount=0
3938

@@ -188,8 +187,7 @@ while :; do
188187
__AlpineArch=loongarch64
189188
__QEMUArch=loongarch64
190189
__UbuntuArch=loong64
191-
__UbuntuSuites=
192-
__DebianSuites=unreleased
190+
__UbuntuSuites=unreleased
193191
__LLDB_Package="liblldb-19-dev"
194192

195193
if [[ "$__CodeName" == "sid" ]]; then
@@ -782,6 +780,8 @@ elif [[ "$__CodeName" == "haiku" ]]; then
782780
popd
783781
rm -rf "$__RootfsDir/tmp"
784782
elif [[ -n "$__CodeName" ]]; then
783+
__Suites="$__CodeName $(for suite in $__UbuntuSuites; do echo -n "$__CodeName-$suite "; done)"
784+
785785
if [[ "$__SkipEmulation" == "1" ]]; then
786786
if [[ -z "$AR" ]]; then
787787
if command -v ar &>/dev/null; then
@@ -794,19 +794,16 @@ elif [[ -n "$__CodeName" ]]; then
794794
fi
795795
fi
796796

797-
# shellcheck disable=SC2086
798-
suites="$__CodeName $__DebianSuites $(echo $__UbuntuSuites | xargs -n 1 | xargs -I {} echo -n "$__CodeName-{} ")"
799-
800797
PYTHON=${PYTHON_EXECUTABLE:-python3}
801798

802799
# shellcheck disable=SC2086,SC2046
803800
echo running "$PYTHON" "$__CrossDir/install-debs.py" --arch "$__UbuntuArch" --mirror "$__UbuntuRepo" --rootfsdir "$__RootfsDir" --artool "$AR" \
804-
$(echo $suites | xargs -n 1 | xargs -I {} echo -n "--suite {} ") \
801+
$(for suite in $__Suites; do echo -n "--suite $suite "; done) \
805802
$__UbuntuPackages
806803

807804
# shellcheck disable=SC2086,SC2046
808805
"$PYTHON" "$__CrossDir/install-debs.py" --arch "$__UbuntuArch" --mirror "$__UbuntuRepo" --rootfsdir "$__RootfsDir" --artool "$AR" \
809-
$(echo $suites | xargs -n 1 | xargs -I {} echo -n "--suite {} ") \
806+
$(for suite in $__Suites; do echo -n "--suite $suite "; done) \
810807
$__UbuntuPackages
811808

812809
exit 0
@@ -837,7 +834,7 @@ elif [[ -n "$__CodeName" ]]; then
837834
cat > "$__RootfsDir/etc/apt/sources.list.d/$__CodeName.sources" <<EOF
838835
Types: deb
839836
URIs: $__UbuntuRepo
840-
Suites: $__CodeName $__DebianSuites $(echo $__UbuntuSuites | xargs -n 1 | xargs -I {} echo -n "$__CodeName-{} ")
837+
Suites: $__Suites
841838
Components: main universe
842839
Signed-By: $__KeyringFile
843840
EOF

eng/common/tools.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ function GetDotNetInstallScript([string] $dotnetRoot) {
262262
if (!(Test-Path $installScript)) {
263263
Create-Directory $dotnetRoot
264264
$ProgressPreference = 'SilentlyContinue' # Don't display the console progress UI - it's a huge perf hit
265-
$uri = "https://dotnet.microsoft.com/download/dotnet/scripts/$dotnetInstallScriptVersion/dotnet-install.ps1"
265+
$uri = "https://raw.githubusercontent.com/dotnet/install-scripts/4b17227b30fbbad567d4d4fba17c59da51bc817b/src/dotnet-install.ps1"
266266

267267
Retry({
268268
Write-Host "GET $uri"

eng/common/tools.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ function with_retries {
295295
function GetDotNetInstallScript {
296296
local root=$1
297297
local install_script="$root/dotnet-install.sh"
298-
local install_script_url="https://dotnet.microsoft.com/download/dotnet/scripts/$dotnetInstallScriptVersion/dotnet-install.sh"
298+
local install_script_url="https://raw.githubusercontent.com/dotnet/install-scripts/4b17227b30fbbad567d4d4fba17c59da51bc817b/src/dotnet-install.sh"
299299

300300
if [[ ! -a "$install_script" ]]; then
301301
mkdir -p "$root"

eng/targets/Helix.Common.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<HelixQueueAlmaLinux8>(AlmaLinux.8.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:almalinux-8-helix-amd64</HelixQueueAlmaLinux8>
55
<HelixQueueAlpine318>(Alpine.318.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:alpine-3.18-helix-amd64</HelixQueueAlpine318>
66
<HelixQueueDebian12>(Debian.12.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:debian-12-helix-amd64</HelixQueueDebian12>
7-
<HelixQueueFedora40>(Fedora.40.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:fedora-40-helix</HelixQueueFedora40>
7+
<HelixQueueFedora41>(Fedora.41.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:fedora-41-helix</HelixQueueFedora41>
88
<HelixQueueMariner>(Mariner)[email protected]/dotnet-buildtools/prereqs:cbl-mariner-2.0-helix-amd64</HelixQueueMariner>
99
<HelixQueueArmDebian12>(Debian.12.Arm64.Open)[email protected]/dotnet-buildtools/prereqs:debian-12-helix-arm64v8</HelixQueueArmDebian12>
1010

@@ -43,7 +43,7 @@
4343
<!-- Containers -->
4444
<HelixAvailableTargetQueue Include="$(HelixQueueAlpine318)" Platform="Linux" />
4545
<HelixAvailableTargetQueue Include="$(HelixQueueDebian12)" Platform="Linux" />
46-
<HelixAvailableTargetQueue Include="$(HelixQueueFedora40)" Platform="Linux" />
46+
<HelixAvailableTargetQueue Include="$(HelixQueueFedora41)" Platform="Linux" />
4747
<HelixAvailableTargetQueue Include="$(HelixQueueMariner)" Platform="Linux" />
4848
<HelixAvailableTargetQueue Include="$(HelixQueueArmDebian12)" Platform="Linux" />
4949

eng/targets/Sfx.Common.targets

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,13 @@
3636
<PublishReadyToRunPgoFiles Include="%(MIBCPackage.PackagePath)/**/*.mibc" />
3737
</ItemGroup>
3838
</Target>
39+
40+
<!-- We need to reference the live RID graph to get a graph with any additionally supported RIDs for this build. -->
41+
<ItemGroup>
42+
<PackageDownload Include="Microsoft.NETCore.Platforms" Version="[$(MicrosoftNETCorePlatformsVersion)]" />
43+
</ItemGroup>
44+
45+
<PropertyGroup Condition="Exists('$(NuGetPackageRoot)microsoft.netcore.platforms/$(MicrosoftNETCorePlatformsVersion)')">
46+
<RuntimeIdentifierGraphPath>$(NuGetPackageRoot)microsoft.netcore.platforms/$(MicrosoftNETCorePlatformsVersion)/PortableRuntimeIdentifierGraph.json</RuntimeIdentifierGraphPath>
47+
</PropertyGroup>
3948
</Project>

eng/tools/GenerateFiles/Directory.Build.targets.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
<DefaultRuntimeFrameworkVersion Condition=" '$(IsServicingBuild)' != 'true' AND
8181
'%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' AND
8282
'$(TargetLatestDotNetRuntime)' != 'false' ">${MicrosoftNETCoreAppRuntimeVersion}</DefaultRuntimeFrameworkVersion>
83-
<RuntimePackRuntimeIdentifiers Condition=" '$(DotNetBuildSourceOnly)' == 'true' ">$(TargetRuntimeIdentifier)</RuntimePackRuntimeIdentifiers>
83+
<RuntimePackRuntimeIdentifiers Condition="'$(DotNetBuild)' == 'true'">%(RuntimePackRuntimeIdentifiers);$(TargetRuntimeIdentifier)</RuntimePackRuntimeIdentifiers>
8484
</KnownFrameworkReference>
8585

8686
<KnownAppHostPack Update="Microsoft.NETCore.App">
@@ -108,7 +108,7 @@
108108
<KnownCrossgen2Pack Update="Microsoft.NETCore.App.Crossgen2">
109109
<Crossgen2PackVersion
110110
Condition=" '%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' ">${MicrosoftNETCoreAppRuntimeVersion}</Crossgen2PackVersion>
111-
<Crossgen2RuntimeIdentifiers Condition=" '$(DotNetBuildSourceOnly)' == 'true' ">$(TargetRuntimeIdentifier)</Crossgen2RuntimeIdentifiers>
111+
<Crossgen2RuntimeIdentifiers Condition="'$(DotNetBuild)' == 'true'">%(Crossgen2RuntimeIdentifiers);$(NETCoreSdkRuntimeIdentifier);$(TargetRuntimeIdentifier)</Crossgen2RuntimeIdentifiers>
112112
</KnownCrossgen2Pack>
113113

114114
<KnownILLinkPack Update="Microsoft.NET.ILLink.Tasks" Condition=" '$(DotNetBuildSourceOnly)' == 'true' ">

global.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
"jdk": "11.0.24"
2828
},
2929
"msbuild-sdks": {
30-
"Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.25056.1",
31-
"Microsoft.DotNet.Helix.Sdk": "10.0.0-beta.25056.1",
32-
"Microsoft.DotNet.SharedFramework.Sdk": "10.0.0-beta.25056.1",
30+
"Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.25061.1",
31+
"Microsoft.DotNet.Helix.Sdk": "10.0.0-beta.25061.1",
32+
"Microsoft.DotNet.SharedFramework.Sdk": "10.0.0-beta.25061.1",
3333
"Microsoft.Build.NoTargets": "3.7.0",
3434
"Microsoft.Build.Traversal": "3.4.0"
3535
}

0 commit comments

Comments
 (0)