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

Create a new command to generate reports based on annotations #130

Open
camilamacedo86 opened this issue Jul 7, 2022 · 0 comments
Open
Labels
kind/feature Categorizes issue or PR as related to a new feature. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Milestone

Comments

@camilamacedo86
Copy link
Collaborator

camilamacedo86 commented Jul 7, 2022

Description

Create a new command for the audit tool that can generate reports which will return all Operators of some index that has some specific annotation. This new command would work similar to audit custom validator [OPTIONS] --filter-validation="" that returns a list of Operators which containers that validation.

See the code for the validator command as an example:
https://github.com/operator-framework/audit/tree/main/cmd/custom/validator

See the code for a specific need script report that looks for a specific annotation:
https://github.com/operator-framework/audit/tree/main/hack/specific-needs/openshift-ns
(the command would perform the same but look for annotations where the key/value is like what is informed via flags)

The report should return:
Package Name | List of Bundles | Annotation found with value

We can do a template similar to multi-arches: https://operator-framework.github.io/audit/testdata/reports/redhat_redhat_operator_index/dashboards/multiarch_registry.redhat.io_redhat_redhat_operator_index_v4.11.html

@camilamacedo86 camilamacedo86 added the kind/feature Categorizes issue or PR as related to a new feature. label Jul 7, 2022
@camilamacedo86 camilamacedo86 added this to the Next milestone Jul 7, 2022
@camilamacedo86 camilamacedo86 added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

No branches or pull requests

1 participant