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

chore: refactor basic CPE functionality to its own package #1436

Merged
merged 2 commits into from
Jan 4, 2023

Conversation

kzantow
Copy link
Contributor

@kzantow kzantow commented Jan 4, 2023

This PR refactors the basic CPE structures and functionality into a top-level syft/cpe package. Namely these files (with minor renames/etc.) from syft/pkg:

cpe/
  by_specificity.go
  by_specificity_test.go
  cpe.go
  cpe_test.go
  merge_cpes.go
  merge_cpes_test.go

This is related to #558

Signed-off-by: Keith Zantow <kzantow@gmail.com>
Signed-off-by: Keith Zantow <kzantow@gmail.com>
@kzantow kzantow requested a review from a team January 4, 2023 16:14
@kzantow kzantow merged commit 64be0a1 into anchore:main Jan 4, 2023
@kzantow kzantow deleted the chore/refactor-cpes branch January 4, 2023 16:26
@kzantow kzantow added enhancement New feature or request breaking-change Change is not backwards compatible labels Jan 4, 2023
GijsCalis pushed a commit to GijsCalis/syft that referenced this pull request Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change Change is not backwards compatible enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants