Skip to content

[release/v7.2] Make Microsoft feeds the default#24396

Merged
TravisEz13 merged 6 commits intoPowerShell:release/v7.2from
TravisEz13:backport-24098-0
Oct 8, 2024
Merged

[release/v7.2] Make Microsoft feeds the default#24396
TravisEz13 merged 6 commits intoPowerShell:release/v7.2from
TravisEz13:backport-24098-0

Conversation

@TravisEz13
Copy link
Member

Backport #24098

This pull request includes various updates to the build and CI configuration to support switching between public and private NuGet feeds, as well as some documentation updates. The most important changes include the addition of a Switch-PSNugetConfig function, modifications to the Start-PSBuild and Start-PSPester functions to support a new -UseNuGetOrg parameter, and updates to the CI pipeline scripts to switch to public feeds.

Build and CI Configuration Updates:

  • Added Switch-PSNugetConfig function to switch between public and private NuGet feeds in build.psm1.
  • Updated Start-PSBuild and Start-PSPester functions to support a new -UseNuGetOrg parameter for using nuget.org instead of the default feeds. [1] [2]
  • Modified CI pipeline scripts to switch to public feeds using Switch-PSNugetConfig function. [1] [2]

Pipeline Template Changes:

  • Updated .pipelines/templates/insert-nuget-config-azfeed.yml to use a NugetPackageSource object for specifying NuGet feed URLs. [1] [2]
  • Added a step in windows-packaging.yml to switch to public feeds during the CI build.

Documentation Updates:

  • Updated various documentation files to reflect the new -UseNuGetOrg parameter for Start-PSBuild and Start-PSPester. [1] [2] [3] [4] [5] [6] [7]
  • Removed outdated nuget.config creation instructions from docs/host-powershell/sample/NuGet.config.md.

These changes aim to streamline the build process and ensure consistency across different environments by allowing easy switching between public and private NuGet feeds.

Copy link
Member Author

@TravisEz13 TravisEz13 left a comment

Choose a reason for hiding this comment

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

LGTM

@TravisEz13 TravisEz13 merged commit 613cd77 into PowerShell:release/v7.2 Oct 8, 2024
@TravisEz13 TravisEz13 added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Oct 8, 2024
@microsoft-github-policy-service
Copy link
Contributor

microsoft-github-policy-service bot commented Oct 8, 2024

📣 Hey @TravisEz13, how did we do? We would love to hear your feedback with the link below! 🗣️

🔗 https://aka.ms/PSRepoFeedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant