Generate versioned __DOT__ entries for aus/eus/extended-eus RPM repos#216
Open
rhartman93 wants to merge 1 commit into
Open
Generate versioned __DOT__ entries for aus/eus/extended-eus RPM repos#216rhartman93 wants to merge 1 commit into
rhartman93 wants to merge 1 commit into
Conversation
The upstream repository-to-cpe.json inconsistently includes versioned repo entries (e.g. reponame__9_DOT_2). Add a jq pre-processing step that reliably generates these by extracting version numbers from repo_relative_urls containing /aus/, /eus/, or /extended-eus/ paths. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
lhh
reviewed
May 28, 2026
| select(.value.repo_relative_urls | any(test("/aus/|/eus/|/extended-eus/"))) | | ||
| .key as $key | | ||
| (.value.repo_relative_urls[] | | ||
| select(test("/aus/|/eus/|/extended-eus/")) | |
Contributor
Author
There was a problem hiding this comment.
I'm likely going to drop this PR. It was discovered that the removal of these repos was an error on the SDEngine side. There's no agreed upon policy around when data should be removed at all if at all. So the data source has been restored and prodsec is discussing that
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.
Problem: The upstream repository-to-cpe.json inconsistently includes versioned repo entries (e.g. reponame__9_DOT_2). Add a jq pre-processing step that reliably generates these by extracting version numbers from repo_relative_urls containing /aus/, /eus/, or /extended-eus/ paths.
Modify hack/render-known-rpm-repositories.sh to add a jq pre-processing step between curl and yq:
Generated with Claude Code (Opus 4.6)