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 flag ignore missing for set-function #75

Closed
italvi opened this issue Dec 5, 2023 · 0 comments · Fixed by #82
Closed

Add flag ignore missing for set-function #75

italvi opened this issue Dec 5, 2023 · 0 comments · Fixed by #82

Comments

@italvi
Copy link
Collaborator

italvi commented Dec 5, 2023

It should be possible to add a flag, e.g. "--ignore-missing" for the "set"-command, s.t. if a file is provided no error message will be shown when a component in the file is not in the SBOM. This is useful for the use-case when a central database file is used for the command.

Currently an error is shown:
ERROR: Set not performed (at line 230) - The component "COORDINATES[MyExampleComponent@1.2.3]" was not found and could not be updated.

Desired behavior:
When provided the flag "--ignore-missing" the error should not happen.

@CBeck-96 CBeck-96 linked a pull request Dec 19, 2023 that will close this issue
@italvi italvi closed this as completed in #82 Jan 4, 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 a pull request may close this issue.

1 participant