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

Allow for multiple pom.properties delimiters #348

Merged
merged 2 commits into from
Mar 20, 2021

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

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
…rties

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
@wagoodman wagoodman added the bug Something isn't working label Mar 20, 2021
@wagoodman wagoodman requested review from zhill, nurmi and a team 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
3 participants