Skip to content

Conversation

@ellahathaway
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings December 5, 2025 16:15
@ellahathaway ellahathaway requested review from a team and wtgodbe as code owners December 5, 2025 16:15
@ellahathaway ellahathaway added the * NO MERGE * Do not merge this PR as long as this label is present. label Dec 5, 2025
@github-actions github-actions bot added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Dec 5, 2025
Copilot finished reviewing on behalf of ellahathaway December 5, 2025 16:17
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the .NET install script URLs in the ASP.NET Core repository's build tooling from the Microsoft builds infrastructure (builds.dotnet.microsoft.com) to the new GitHub-hosted install-scripts repository (raw.githubusercontent.com/dotnet/install-scripts). The title indicates this is a validation PR that should not be merged.

  • Changes URL source from Microsoft's builds infrastructure to GitHub raw content
  • Points to the main branch instead of using version control
  • Affects both PowerShell and Bash install script retrieval

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
eng/common/tools.sh Updates the install script URL in the Bash version of GetDotNetInstallScript function
eng/common/tools.ps1 Updates the install script URL in the PowerShell version of GetDotNetInstallScript function

local root=$1
local install_script="$root/dotnet-install.sh"
local install_script_url="https://builds.dotnet.microsoft.com/dotnet/scripts/$dotnetInstallScriptVersion/dotnet-install.sh"
local install_script_url="https://raw.githubusercontent.com/dotnet/install-scripts/main/src/dotnet-install.sh"
Copy link

Copilot AI Dec 5, 2025

Choose a reason for hiding this comment

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

The new URL points to the main branch of the install-scripts repository, which means it will always fetch the latest version without any version control. This removes the ability to use a specific, stable version of the install script via the dotnetInstallScriptVersion variable (defined at line 61 with default 'v1').

Consider one of the following approaches:

  1. If the new repository supports versioned paths, use a URL like https://raw.githubusercontent.com/dotnet/install-scripts/$dotnetInstallScriptVersion/src/dotnet-install.sh to maintain version control
  2. If version control is no longer needed, remove the now-unused dotnetInstallScriptVersion variable from line 61 and update the comment at lines 59-60

Copilot uses AI. Check for mistakes.
Create-Directory $dotnetRoot
$ProgressPreference = 'SilentlyContinue' # Don't display the console progress UI - it's a huge perf hit
$uri = "https://builds.dotnet.microsoft.com/dotnet/scripts/$dotnetInstallScriptVersion/dotnet-install.ps1"
$uri = "https://raw.githubusercontent.com/dotnet/install-scripts/main/src/dotnet-install.ps1"
Copy link

Copilot AI Dec 5, 2025

Choose a reason for hiding this comment

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

The new URL points to the main branch of the install-scripts repository, which means it will always fetch the latest version without any version control. This removes the ability to use a specific, stable version of the install script via the $dotnetInstallScriptVersion variable (defined at line 46 with default 'v1').

Consider one of the following approaches:

  1. If the new repository supports versioned paths, use a URL like https://raw.githubusercontent.com/dotnet/install-scripts/$dotnetInstallScriptVersion/src/dotnet-install.ps1 to maintain version control
  2. If version control is no longer needed, remove the now-unused $dotnetInstallScriptVersion variable from line 46 and update the comment at lines 44-45

Copilot uses AI. Check for mistakes.
@dotnet-policy-service dotnet-policy-service bot added this to the 11.0-preview1 milestone Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework * NO MERGE * Do not merge this PR as long as this label is present.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant