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

Allow specification of custom default file for finding-cfgs #373

Merged
merged 1 commit into from
Mar 7, 2025

Conversation

8R0WNI3
Copy link
Member

@8R0WNI3 8R0WNI3 commented Mar 4, 2025

What this PR does / why we need it:

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Release note:

Allow specification of custom default file for finding-cfgs

@8R0WNI3 8R0WNI3 requested a review from a team as a code owner March 4, 2025 10:33
@ocm-ci-robot-0 ocm-ci-robot-0 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) needs/ok-to-test and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Mar 4, 2025
@8R0WNI3 8R0WNI3 force-pushed the 8R0WNI3-defaults-file branch from 3f940a3 to 746377a Compare March 4, 2025 16:18
@8R0WNI3 8R0WNI3 requested review from ccwienk, zkdev and TuanAnh17N March 4, 2025 16:19
@ocm-ci-robot-0 ocm-ci-robot-0 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Mar 4, 2025
@8R0WNI3 8R0WNI3 force-pushed the 8R0WNI3-defaults-file branch from 746377a to 3282542 Compare March 4, 2025 16:25
@ocm-ci-robot-0 ocm-ci-robot-0 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Mar 4, 2025
@8R0WNI3 8R0WNI3 force-pushed the 8R0WNI3-defaults-file branch from 3282542 to 0162bcb Compare March 5, 2025 05:34
@ocm-ci-robot-0 ocm-ci-robot-0 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Mar 5, 2025
Copy link
Collaborator

@ccwienk ccwienk left a comment

Choose a reason for hiding this comment

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

having an abstraction between configuration (findings-cfgs) and their respective sources seems like a good idea.

However, can we split the cfg for data-sources, from the "retriever"? More concretely-speaking, I would suggest to drop the retrieve-methods, and instead define a function (maybe following our lookup-pattern: a "findings-cfg-lookup" that will accept cfg-references and return resolved objects) or class.

@8R0WNI3 8R0WNI3 force-pushed the 8R0WNI3-defaults-file branch from 0162bcb to 40f70d3 Compare March 7, 2025 05:57
@ocm-ci-robot-0 ocm-ci-robot-0 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Mar 7, 2025
@8R0WNI3 8R0WNI3 requested a review from ccwienk March 7, 2025 05:58
@ocm-ci-robot-0 ocm-ci-robot-0 removed the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Mar 7, 2025
@8R0WNI3 8R0WNI3 force-pushed the 8R0WNI3-defaults-file branch from 40f70d3 to e6306ed Compare March 7, 2025 11:20
@8R0WNI3 8R0WNI3 merged commit 5bc323e into master Mar 7, 2025
2 checks passed
@8R0WNI3 8R0WNI3 deleted the 8R0WNI3-defaults-file branch March 7, 2025 11:20
@ocm-ci-robot-0 ocm-ci-robot-0 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs/ok-to-test reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants