Skip to content

[release/v7.5.8] Remove the unused Publish-NugetToMyGet command from packaging module#27575

Open
TravisEz13 wants to merge 1 commit into
PowerShell:release/v7.5.8from
TravisEz13:backport/release/v7.5.8/27403-96ab22e28
Open

[release/v7.5.8] Remove the unused Publish-NugetToMyGet command from packaging module#27575
TravisEz13 wants to merge 1 commit into
PowerShell:release/v7.5.8from
TravisEz13:backport/release/v7.5.8/27403-96ab22e28

Conversation

@TravisEz13

Copy link
Copy Markdown
Member

Backport of #27403 to release/v7.5.8

Triggered by @TravisEz13 on behalf of @daxian-dbw

Original CL Label: CL-CodeCleanup

/cc @PowerShell/powershell-maintainers

Impact

REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected.

Tooling Impact

  • Required tooling change
  • Optional tooling change (include reasoning)

Removes unused Publish-NugetToMyGet function from the packaging module. MyGet publishing has been retired for years.

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

Verified the removed function is not referenced anywhere in the codebase or pipelines.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

Removes dead code for a service (MyGet) that hasn't been used in years. No functional impact.

Copilot AI review requested due to automatic review settings June 8, 2026 20:49
@TravisEz13 TravisEz13 requested a review from a team as a code owner June 8, 2026 20:49
@TravisEz13 TravisEz13 added the CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log label Jun 8, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 backports the removal of the retired/unused Publish-NugetToMyGet helper from the packaging module on release/v7.5.8, reducing dead code related to the no-longer-used MyGet publishing flow.

Changes:

  • Removed the Publish-NugetToMyGet function implementation from tools/packaging/packaging.psm1.
  • Removed Publish-NugetToMyGet from the module manifest exports in tools/packaging/packaging.psd1.

Reviewed changes

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

File Description
tools/packaging/packaging.psm1 Deletes the unused MyGet publish function implementation.
tools/packaging/packaging.psd1 Stops exporting the removed function from the packaging module.

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

Labels

CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants