Skip to content

[release/v7.6] Fix PMC Repo URL for RHEL10 #27061

Merged
daxian-dbw merged 1 commit into
PowerShell:release/v7.6from
daxian-dbw:backport/release/v7.6/27059-73186fb13
Mar 18, 2026
Merged

[release/v7.6] Fix PMC Repo URL for RHEL10 #27061
daxian-dbw merged 1 commit into
PowerShell:release/v7.6from
daxian-dbw:backport/release/v7.6/27059-73186fb13

Conversation

@daxian-dbw
Copy link
Copy Markdown
Member

Backport of #27059 to release/v7.6

Triggered by @daxian-dbw on behalf of @anamnavi

Original CL Label: CL-BuildPackaging

/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)

Required tooling change: Fixes PMC repository URL mapping for RHEL10 to enable package retrieval. Without this fix, RHEL10 users would not be able to access PowerShell packages from packages.microsoft.com. Also fixes bug where missing repo URL would not throw an error in the pipeline script.

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

Original PR tested by verifying PMC repository URL resolution for RHEL10. Backport verified by cherry-picking cleanly to release/v7.6 without conflicts and validating the mapping.json structure remains valid.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

Medium risk: Changes PMC repository URL mapping for RHEL10. Scoped to new OS version only, does not affect existing supported OS versions. The change follows established patterns for other RHEL versions. Risk is mitigated by the fact that this fixes broken package retrieval for RHEL10.

Copilot AI review requested due to automatic review settings March 18, 2026 20:47
@daxian-dbw daxian-dbw requested review from a team and jshigetomi as code owners March 18, 2026 20:47
@daxian-dbw daxian-dbw added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Mar 18, 2026
@daxian-dbw daxian-dbw merged commit eecddb3 into PowerShell:release/v7.6 Mar 18, 2026
38 checks passed
Copy link
Copy Markdown
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 backports #27059 to the release/v7.6 branch to fix packages.microsoft.com (PMC) repository resolution for RHEL 10, ensuring PowerShell packages can be retrieved/published correctly for that OS version.

Changes:

  • Update the RHEL10 PMC repository URL mapping to the correct repo name.
  • Make repo-resolution failure explicit by throwing when a mapped repo cannot be found (instead of calling an undefined/nonexistent failure helper).

Reviewed changes

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

File Description
tools/packages.microsoft.com/mapping.json Corrects the RHEL10 repo URL key used to match PMC repo naming.
.pipelines/EV2Specs/ServiceGroupRoot/Shell/Run/Run.ps1 Ensures the pipeline script fails fast with a clear error when a repo mapping cannot be resolved.

@daxian-dbw daxian-dbw deleted the backport/release/v7.6/27059-73186fb13 branch March 18, 2026 20:49
daxian-dbw added a commit to daxian-dbw/PowerShell that referenced this pull request Mar 18, 2026
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.

3 participants