Skip to content

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

Merged
SeeminglyScience merged 1 commit into
PowerShell:release/v7.4.17from
TravisEz13:backport/release/v7.4.17/27403-96ab22e28
Jun 9, 2026
Merged

[release/v7.4.17] Remove the unused Publish-NugetToMyGet command from packaging module#27574
SeeminglyScience merged 1 commit into
PowerShell:release/v7.4.17from
TravisEz13:backport/release/v7.4.17/27403-96ab22e28

Conversation

@TravisEz13

Copy link
Copy Markdown
Member

Backport of #27403 to release/v7.4.17

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:48
@TravisEz13 TravisEz13 requested a review from a team as a code owner June 8, 2026 20:48
@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 Publish-NugetToMyGet function from the packaging module to release/v7.4.17, cleaning up dead code related to the discontinued MyGet feed.

Changes:

  • Removed the Publish-NugetToMyGet function implementation from tools/packaging/packaging.psm1.
  • Removed Publish-NugetToMyGet from the module manifest export list in tools/packaging/packaging.psd1.
  • Verified there are no remaining references to Publish-NugetToMyGet in the repository.

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 obsolete Publish-NugetToMyGet function (MyGet publishing retired).
tools/packaging/packaging.psd1 Stops exporting Publish-NugetToMyGet from the module manifest.

@SeeminglyScience SeeminglyScience merged commit f3113ff into PowerShell:release/v7.4.17 Jun 9, 2026
39 checks passed
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