Skip to content

Preserve Docker registries and SBOM versions when mirroring - #587

Merged
simonchrz merged 1 commit into
mainfrom
fix-docker-mirror-inputs
Oct 24, 2026
Merged

simonchrz merged 1 commit into
mainfrom
fix-docker-mirror-inputs

Conversation

@andrew

@andrew andrew commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

Docker PURLs such as pkg:docker/ghcr.io/team/app@1.0 currently include the registry host in the repository name sent upstream. Extract Docker registry hosts from the namespace when repository_url is absent, preserving explicit qualifiers and configured upstream routing.

When an SBOM component supplies a version alongside a versionless PURL, use that version instead of treating it as unknown. An explicit PURL version continues to take precedence.

@andrew
andrew marked this pull request as ready for review October 24, 2026 12:09
Copilot AI balanced review requested due to automatic review settings October 24, 2026 12:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@andrew
andrew requested a review from simonchrz October 24, 2026 12:26
@simonchrz
simonchrz merged commit 6a98805 into main Oct 24, 2026
11 checks passed
@simonchrz
simonchrz deleted the fix-docker-mirror-inputs branch October 24, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants