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 for Windows - Control Character breaking tests, validation, dependency tree #432

Merged
merged 4 commits into from
Aug 2, 2023

Conversation

cerrussell
Copy link
Contributor

At some point, package parsing by cdxgen on Windows began including a carriage return at the end of metadata fields. This pr just removes that character if it's present so that it won't break sbom validation or tests when running on Windows.

@cerrussell cerrussell requested a review from prabhu August 1, 2023 21:39
Signed-off-by: Caroline Russell <[email protected]>
Copy link
Collaborator

@prabhu prabhu left a comment

Choose a reason for hiding this comment

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

Superb! Can you enable npm test on windows powershell as well by reusing one of the workflow?

@cerrussell cerrussell changed the title Fix for Windows - Control Charcter breaking tests, validation, dependency tree Fix for Windows - Control Character breaking tests, validation, dependency tree Aug 2, 2023
@cerrussell
Copy link
Contributor Author

@prabhu I'm going to break out adding windows to repotests into a separate issue - I need to figure out how to expose the daemon without TLS on the github runner. Going to go ahead and merge these other fixes to reduce the number of moving parts I have to deal with in relation to other issues.

@cerrussell cerrussell merged commit 1874920 into master Aug 2, 2023
7 checks passed
@cerrussell cerrussell deleted the fix/controlchars branch August 2, 2023 17:20
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 this pull request may close these issues.

2 participants