Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add another option to fall back on name detection #114

Merged
merged 2 commits into from
Jul 31, 2020
Merged

Conversation

alfredodeza
Copy link
Contributor

Because it is possible that the Manifest will not have a Name entry, and neither of the other cases captured this situation.

I'm not confident this is pervasive, so I didn't add another case to ensure we aren't overriding a name - this situation is captured in tests.

Closes #111

Copy link
Contributor

@wagoodman wagoodman left a comment

Choose a reason for hiding this comment

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

awesome sleuthing 🚀

Alfredo Deza added 2 commits July 31, 2020 07:35
Signed-off-by: Alfredo Deza <adeza@anchore.com>
Signed-off-by: Alfredo Deza <adeza@anchore.com>
@alfredodeza alfredodeza merged commit c67e17a into master Jul 31, 2020
@alfredodeza alfredodeza deleted the issue-111 branch July 31, 2020 11:50
GijsCalis pushed a commit to GijsCalis/syft that referenced this pull request Feb 19, 2024
Add another option to fall back on name detection
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

java-archive catalog doesn't capture a name
2 participants