Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OS codename dataset #433

Merged
merged 1 commit into from
Nov 21, 2024
Merged

Add OS codename dataset #433

merged 1 commit into from
Nov 21, 2024

Conversation

wagoodman
Copy link
Contributor

@wagoodman wagoodman commented Nov 21, 2024

In v6 we'll be allowing for searching by OS codename. This data isn't always available from upstream vunnel providers, so instead, we'll be injecting it at the last mile when writing records. This PR is only concerned with how the data is generated into the codebase, the workflow responsible for updating it, and the helper function to use the generated data to find codenames for OS names and versions (for example, given "ubuntu 20.04" return "focal").

Example workflow run that would create the PR if there were code updates https://github.com/anchore/grype-db/actions/runs/11957163261/job/33333641284

@wagoodman wagoodman changed the base branch from migrate-common-processors to main November 21, 2024 16:08
@wagoodman wagoodman marked this pull request as ready for review November 21, 2024 16:12
@wagoodman wagoodman changed the base branch from main to migrate-common-processors November 21, 2024 16:21
Base automatically changed from migrate-common-processors to main November 21, 2024 17:19
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
@wagoodman
Copy link
Contributor Author

force pushed to rebase after #432 landed

@wagoodman wagoodman enabled auto-merge (squash) November 21, 2024 18:11
@wagoodman wagoodman merged commit f9d2440 into main Nov 21, 2024
15 checks passed
@wagoodman wagoodman deleted the add-codename-helpers branch November 21, 2024 18:37
@wagoodman wagoodman mentioned this pull request Nov 21, 2024
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.

2 participants