Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@wagoodman
Copy link
Contributor

@wagoodman wagoodman commented Mar 20, 2021

This PR fixes the parsing of pom.properties to allow for both = and : delimiters.

Additionally this PR loosens the error handling on the java parsing execution path to show warnings for individual parsing errors instead of bubbling up small parsing errors back up to the main catalog function. This allows for java packages unrelated to the parser problems to still be cataloged.

Closes #349

@wagoodman wagoodman added the bug Something isn't working label Mar 20, 2021
@wagoodman wagoodman requested review from a team, nurmi and zhill March 20, 2021 12:12
@wagoodman wagoodman self-assigned this Mar 20, 2021
@wagoodman wagoodman merged commit 26a4dd3 into main Mar 20, 2021
@wagoodman wagoodman deleted the fix-java-pom-properties-parse-delimiter branch March 20, 2021 16:23
@alfredodeza
Copy link
Contributor

This seems related to #330 that explains that strictness in parsing causes several omissions. I'd propose raising the priority of that ticket so that we can enable permissive parsing for all parsers

GijsCalis pushed a commit to GijsCalis/syft that referenced this pull request Feb 19, 2024
…arse-delimiter

Allow for multiple pom.properties delimiters
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.

Java cataloger missing packages when parsing partially fails

4 participants