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

Input/Output format detection based on file extension #197

Open
nightlark opened this issue May 9, 2024 · 1 comment
Open

Input/Output format detection based on file extension #197

nightlark opened this issue May 9, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@nightlark
Copy link
Collaborator

nightlark commented May 9, 2024

Currently setting an input/output SBOM format other than the default requires specifying a flag. However, most of the common specifications seem to have a preferred file extension that we could use to automatically determine the format -- e.g. SPDX JSON files often use spdx.json.

It should be possible to override the automatically detected format choice if needed, but this could make things a bit more user friendly.

@nightlark nightlark added the enhancement New feature or request label May 9, 2024
@nightlark
Copy link
Collaborator Author

See https://github.com/ossf/sbom-everywhere/blob/main/reference/sbom_naming.md for some naming convention guidelines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant