[release/v7.6] Fix PMC Repo URL for RHEL10 #27061
Merged
daxian-dbw merged 1 commit intoMar 18, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
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
added a commit
to daxian-dbw/PowerShell
that referenced
this pull request
Mar 18, 2026
daxian-dbw
added a commit
that referenced
this pull request
Mar 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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: 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
Regression
REQUIRED: Check exactly one box.
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.
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.