-
Notifications
You must be signed in to change notification settings - Fork 587
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
feat: rust toolchain binary cataloger #1601
Conversation
Benchmark Test ResultsBenchmark results from the latest changes vs base branch
|
c2e4e78
to
a440961
Compare
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.
It might be nice to cut down the size of some of the test fixtures (some are in the MB range)
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.
...some are in the MB range....
it seems like there may be an extra addition to the gitignore needed for the busybox image fixture tar
a440961
to
93ae287
Compare
I think it might already be excluded - I had to force add my test cases since they'd normally be excluded and must have accidentally picked up that as well |
731abd9
to
3090714
Compare
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.
The /rust-1.67.1/toolchains/stable-x86_64-unknown-linux-musl/lib/libstd-86aefecbddda356d.so
is still 1.25 MB, it would be nice to just copy the small (maybe < 100 bytes) binary bits that are required for matching. Other than that, 👍
Signed-off-by: Weston Steimel <[email protected]>
3090714
to
5e70c7d
Compare
@wagoodman I think all new fixture changes are now only in the <30kb size now: Did you have other changes requested for this PR? Otherwise LGTM |
@@ -196,4 +196,24 @@ var defaultClassifiers = []classifier{ | |||
Package: "postgresql", | |||
PURL: mustPURL("pkg:generic/postgresql@version"), | |||
}, | |||
{ | |||
Class: "rust-standard-library-linux", | |||
FileGlob: "**/libstd-????????????????.so", |
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.
good call, that is more specific and not too crazy for the index parsing in stereoscope 🙌
Signed-off-by: Weston Steimel <[email protected]>
Adds binary classifier for the rust toolchain for linux and mac