From abaa9488d926145fe9ca377ed5f4eb5d6396ecc7 Mon Sep 17 00:00:00 2001 From: "Dustin L. Howett" Date: Wed, 13 Aug 2025 11:27:01 -0500 Subject: [PATCH] Switch to the @Local view on TerminalDependencies (#19243) Due to an unexpected decision on behalf of the Azure Artifacts folks, the default view for a feed with upstream sources reports all packages, even if they are not actually populated into the feed. This results in (uncontrolled) 401 errors whenever a new package appears upstream, because the feed tells our users and our build system that it is available, but fails when the download actually begins because it is not allowed to "write" the upstream version to the feed. --- NuGet.Config | 2 +- build/pipelines/templates-v2/job-deploy-to-azure-storage.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NuGet.Config b/NuGet.Config index 57c3defd1d..0b270807a8 100644 --- a/NuGet.Config +++ b/NuGet.Config @@ -4,7 +4,7 @@ - + diff --git a/build/pipelines/templates-v2/job-deploy-to-azure-storage.yml b/build/pipelines/templates-v2/job-deploy-to-azure-storage.yml index 2f68ba92c3..518f01c704 100644 --- a/build/pipelines/templates-v2/job-deploy-to-azure-storage.yml +++ b/build/pipelines/templates-v2/job-deploy-to-azure-storage.yml @@ -86,7 +86,7 @@ jobs: $MachineToken = $env:SYSTEM_ACCESSTOKEN | ConvertTo-SecureString -AsPlainText -Force $Credential = [PSCredential]::new("ONEBRANCH_TOKEN", $MachineToken) $MachineToken = $null - $Feed = "https://pkgs.dev.azure.com/shine-oss/terminal/_packaging/TerminalDependencies/nuget/v3/index.json" + $Feed = "https://pkgs.dev.azure.com/shine-oss/terminal/_packaging/TerminalDependencies%40Local/nuget/v3/index.json" Register-PSResourceRepository -Name "PSGalleryUpstream" -Uri $Feed -Trusted Get-PSResourceRepository