-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
BOM per binary, take 3 #619
Conversation
…rget SBOMs Signed-off-by: Sergey "Shnatsel" Davidoff <[email protected]>
…rywhere for now. Looking kinda ugly ngl
… writing Signed-off-by: Sergey "Shnatsel" Davidoff <[email protected]>
Signed-off-by: Sergey "Shnatsel" Davidoff <[email protected]>
Signed-off-by: Sergey "Shnatsel" Davidoff <[email protected]>
Signed-off-by: Sergey "Shnatsel" Davidoff <[email protected]>
Signed-off-by: Sergey "Shnatsel" Davidoff <[email protected]>
…depaths go through it Signed-off-by: Sergey "Shnatsel" Davidoff <[email protected]>
…d finish the filename logic for it Signed-off-by: Sergey "Shnatsel" Davidoff <[email protected]>
4d27882
to
855d00a
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.
Looking good to me.
I tried it on two repositories and the results look good.
When I had my PR for his (naive in comparison) I used the "lib" as a prefix so that the name of the artifact would look similar to the name of the SBOM.
But I also found out that the final name of an artifact is not currently exposed anywhere.
This might come with rust-lang/rfcs#3553
Anyway...good to go as is I think. There is no "correct" way to name these files so either way is good.
Just needs your DCO
Adds
--output-pattern=binary
and--output-pattern=cargo-target
modes that emit SBOMs for compiled binaries and for all compilation targets (including Rust libraries that do not exist as standalone binaries) respectively.@lfrancke please test this and let me know if
--output-pattern=binary
fulfills your needs.