-
Notifications
You must be signed in to change notification settings - Fork 578
fix: osv data source memory consumption #4956
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
Open
fil1n
wants to merge
26
commits into
intel:main
Choose a base branch
from
fil1n:new_osv_datasource
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
1a2eff3
feat: added new OSV data source class initial implementation
fil1n c146c45
feat: added file fetching to OSV datasource
fil1n 0b5a52f
feat: added zip extraction for osv
fil1n f076096
feat: added data formatting method
fil1n ec2cad4
chore: added google-cloud-storage to requirements
fil1n 803ce56
feat: replaced old OSV source
fil1n f9e7b95
feat: minor logging and naming improvements
fil1n d3a1e92
feat: decompressed small files in memory
fil1n a240bda
feat: minor code improvements
fil1n 3b403b4
test: adapted tests for new data source
fil1n 7aeca1b
refactor: moved json parsing to separate function
fil1n 77dd8e5
docs: added some comments
fil1n 38fd375
refactor: useless code line removed
fil1n 8fc8aa7
docs: docstring changed
fil1n 3f29e1b
fix: ignored None values
fil1n 2f9b2a0
Merge branch 'main' into new_osv_datasource
fil1n 28eb7ac
chore: updated requirements
fil1n 79a3d81
Revert "chore: updated requirements"
fil1n 256009e
chore: updated
fil1n e43d745
refactor: removed unused field
fil1n 1c27571
Merge branch 'main' into new_osv_datasource
fil1n eedfe4f
Merge branch 'main' into new_osv_datasource
fil1n afac134
fix: DEFAULT_LOCATION import
fil1n e958858
Merge branch 'main' into new_osv_datasource
ffontaine 30028b3
refactor: removed old osv data source
fil1n 2a69c73
fix: added httplib2 to requirements
fil1n File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(nit) The new name does not follow the format all the other source classes use. I guess this is an artifact of it initially existing alongside the original implementation, but now that there's only one, I see no reason for deviating from the convention.