-
Notifications
You must be signed in to change notification settings - Fork 612
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speed up cataloging by replacing globs searching with index lookups (#…
…1510) * replace raw globs with index equivelent operations Signed-off-by: Alex Goodman <[email protected]> * add cataloger test for alpm cataloger Signed-off-by: Alex Goodman <[email protected]> * fix import sorting for binary cataloger Signed-off-by: Alex Goodman <[email protected]> * fix linting for mock resolver Signed-off-by: Alex Goodman <[email protected]> * separate portage cataloger parser impl from cataloger Signed-off-by: Alex Goodman <[email protected]> * enhance cataloger pkgtest utils to account for resolver responses Signed-off-by: Alex Goodman <[email protected]> * add glob-based cataloger tests for alpm cataloger Signed-off-by: Alex Goodman <[email protected]> * add glob-based cataloger tests for apkdb cataloger Signed-off-by: Alex Goodman <[email protected]> * add glob-based cataloger tests for dpkg cataloger Signed-off-by: Alex Goodman <[email protected]> * add glob-based cataloger tests for cpp cataloger Signed-off-by: Alex Goodman <[email protected]> * add glob-based cataloger tests for dart cataloger Signed-off-by: Alex Goodman <[email protected]> * add glob-based cataloger tests for dotnet cataloger Signed-off-by: Alex Goodman <[email protected]> * add glob-based cataloger tests for elixir cataloger Signed-off-by: Alex Goodman <[email protected]> * add glob-based cataloger tests for erlang cataloger Signed-off-by: Alex Goodman <[email protected]> * add glob-based cataloger tests for golang cataloger Signed-off-by: Alex Goodman <[email protected]> * add glob-based cataloger tests for haskell cataloger Signed-off-by: Alex Goodman <[email protected]> * add glob-based cataloger tests for java cataloger Signed-off-by: Alex Goodman <[email protected]> * add glob-based cataloger tests for javascript cataloger Signed-off-by: Alex Goodman <[email protected]> * add glob-based cataloger tests for php cataloger Signed-off-by: Alex Goodman <[email protected]> * add glob-based cataloger tests for portage cataloger Signed-off-by: Alex Goodman <[email protected]> * add glob-based cataloger tests for python cataloger Signed-off-by: Alex Goodman <[email protected]> * add glob-based cataloger tests for rpm cataloger Signed-off-by: Alex Goodman <[email protected]> * add glob-based cataloger tests for rust cataloger Signed-off-by: Alex Goodman <[email protected]> * add glob-based cataloger tests for sbom cataloger Signed-off-by: Alex Goodman <[email protected]> * add glob-based cataloger tests for swift cataloger Signed-off-by: Alex Goodman <[email protected]> * allow generic catloger to run all mimetype searches at once Signed-off-by: Alex Goodman <[email protected]> * remove stutter from php and javascript cataloger constructors Signed-off-by: Alex Goodman <[email protected]> * bump stereoscope Signed-off-by: Alex Goodman <[email protected]> * add tests for generic.Search Signed-off-by: Alex Goodman <[email protected]> * add exceptions for java archive git ignore entries Signed-off-by: Alex Goodman <[email protected]> * enhance basename and extension resolver methods to be variadic Signed-off-by: Alex Goodman <[email protected]> * dont allow * prefix on extension searches Signed-off-by: Alex Goodman <[email protected]> * add glob-based cataloger tests for ruby cataloger Signed-off-by: Alex Goodman <[email protected]> * remove unnecessary string casting Signed-off-by: Alex Goodman <[email protected]> * incorporate surfacing of leaf link resolitions from stereoscope results Signed-off-by: Alex Goodman <[email protected]> * [wip] switch to stereoscope file metadata Signed-off-by: Alex Goodman <[email protected]> * [wip + failing] revert to old globs but keep new resolvers Signed-off-by: Alex Goodman <[email protected]> * index files, links, and dirs within the directory resolver Signed-off-by: Alex Goodman <[email protected]> * fix several resolver bugs and inconsistencies Signed-off-by: Alex Goodman <[email protected]> * move format testutils to internal package Signed-off-by: Alex Goodman <[email protected]> * update syft json to account for file type string normalization Signed-off-by: Alex Goodman <[email protected]> * split up directory resolver from indexing Signed-off-by: Alex Goodman <[email protected]> * update docs to include details about searching Signed-off-by: Alex Goodman <[email protected]> * [wip] bump stereoscope to development version Signed-off-by: Alex Goodman <[email protected]> * fix linting Signed-off-by: Alex Goodman <[email protected]> * adjust symlinks fixture to be fixed to digest Signed-off-by: Alex Goodman <[email protected]> * fix all-locations resolver tests Signed-off-by: Alex Goodman <[email protected]> * fix test fixture reference Signed-off-by: Alex Goodman <[email protected]> * rename file.Type Signed-off-by: Alex Goodman <[email protected]> * bump stereoscope Signed-off-by: Alex Goodman <[email protected]> * fix PR comment to exclude extra * Signed-off-by: Alex Goodman <[email protected]> * bump to dev version of stereoscope Signed-off-by: Alex Goodman <[email protected]> * bump to final version of stereoscope Signed-off-by: Alex Goodman <[email protected]> * move observing resolver to pkgtest Signed-off-by: Alex Goodman <[email protected]> --------- Signed-off-by: Alex Goodman <[email protected]>
- Loading branch information
Showing
201 changed files
with
4,162 additions
and
1,366 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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 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 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.