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: Archive extraction path correctly points to the jar file that's being extracted #407

Merged
merged 2 commits into from
Jan 28, 2025

Conversation

another-rex
Copy link
Collaborator

Currently archive extractor saves the path within the jar file (appended to the jar file path) as the Location of the inventory, which is a path that does not exist on disk.

This moves it to a secondary location, so the first location is a real path.

@copybara-service copybara-service bot merged commit 34aef7c into google:main Jan 28, 2025
8 checks passed
another-rex added a commit to google/osv-scanner that referenced this pull request Jan 28, 2025
- Adds the python wheel.egg and java jar archive extractors.

- renames artifacts source from lockfile to artifact, so output will
actually be "artifact:<path to binary>".

- Reenable some of the image scanning tests accidentally removed from a
previous PR. The unrelated snapshot changes will be from that.

This PR is not ready to be merged in yet, waiting on a osv-scalibr
change to be merged in first.
(google/osv-scalibr#407)
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.

3 participants