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

Fix logic to not allow empty values #88

Merged
merged 5 commits into from
Feb 18, 2023

Conversation

jspeed-meyers
Copy link
Collaborator

Fix #87

Signed-off-by: John Speed Meyers <jsmeyers@chainguard.dev>
@jspeed-meyers jspeed-meyers added the bug Something isn't working label Feb 17, 2023
@jspeed-meyers jspeed-meyers self-assigned this Feb 17, 2023
Copy link
Member

@goneall goneall left a comment

Choose a reason for hiding this comment

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

One of my few Python specific recommendations - @jspeed-meyers do review the stack-overflow article to make sure my suggestion is valid.

ntia_conformance_checker/sbom_checker.py Outdated Show resolved Hide resolved
ntia_conformance_checker/sbom_checker.py Show resolved Hide resolved
@jspeed-meyers
Copy link
Collaborator Author

Will also fix linting errors.

Signed-off-by: John Speed Meyers <jsmeyers@chainguard.dev>
Signed-off-by: John Speed Meyers <jsmeyers@chainguard.dev>
Signed-off-by: John Speed Meyers <jsmeyers@chainguard.dev>
Signed-off-by: John Speed Meyers <jsmeyers@chainguard.dev>
@jspeed-meyers
Copy link
Collaborator Author

@goneall -- Okay, this is take 2.5

Thank you for the helpful, constructive feedback!

Copy link
Member

@goneall goneall left a comment

Choose a reason for hiding this comment

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

LGTM - Thanks @jspeed-meyers

@jspeed-meyers jspeed-meyers merged commit 55bea35 into spdx:main Feb 18, 2023
@jspeed-meyers jspeed-meyers deleted the fix_empty_field_logic branch February 18, 2023 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Empty versions can pass for valid value
2 participants