Skip to content

Fix PMC Repo URL for RHEL10 #27059

Merged
daxian-dbw merged 1 commit into
PowerShell:masterfrom
anamnavi:fix-pmc-repourl
Mar 18, 2026
Merged

Fix PMC Repo URL for RHEL10 #27059
daxian-dbw merged 1 commit into
PowerShell:masterfrom
anamnavi:fix-pmc-repourl

Conversation

@anamnavi
Copy link
Copy Markdown
Member

@anamnavi anamnavi commented Mar 18, 2026

PR Summary

Fix PMC Repo URL for RHEL 10. Also fix bug with not throwing error if repo URL is not found from PMC.

PR Context

PR Checklist

@anamnavi anamnavi requested a review from jshigetomi as a code owner March 18, 2026 20:34
Copilot AI review requested due to automatic review settings March 18, 2026 20:34
@anamnavi anamnavi requested a review from a team as a code owner March 18, 2026 20:34
@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
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

Updates PowerShell’s PMC publishing configuration to target the correct RHEL 10 repository name and ensures the EV2 publishing script fails fast when a mapped repo cannot be found in the PMC repo list.

Changes:

  • Update the RHEL 10 mapping entry to use microsoft-rhel10-prod.
  • Replace a non-terminating “failure” write with a terminating exception when a repo mapping lookup fails.

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 Fixes the mapped repository “url” identifier for RHEL 10.
.pipelines/EV2Specs/ServiceGroupRoot/Shell/Run/Run.ps1 Ensures missing repo mappings cause an immediate failure via throw, preventing silent/partial publishing.

@daxian-dbw daxian-dbw merged commit 73186fb into PowerShell:master Mar 18, 2026
43 of 49 checks passed
daxian-dbw pushed 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

Backport-7.6.x-Done 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