-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
call new flatMerge method #305
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Marlon Tojal <marlont@backbase.com>
@coderpatros can you merge this and create a new version |
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.
Tried to build this change: needs also a bump in src/cyclonedx/cyclonedx.csproj to newer CycloneDX.Utils
(5.4.0 is current) to include the library API update from CycloneDX/cyclonedx-dotnet-library#199
Nearby CycloneDX.Spdx.Interop
referred to same version, so bump it too probably?..
cyclonedx-cli/src/cyclonedx/cyclonedx.csproj
Lines 18 to 19 in 4ab48e3
<PackageReference Include="CycloneDX.Utils" Version="5.2.3" /> | |
<PackageReference Include="CycloneDX.Spdx.Interop" Version="5.2.3" /> |
Works great for me, cut a top-level project SBOM from 36K apparent components to 1K :) Still, for some items I still see dupes; in my case these are components that originated from Maven POM dependency trees and have different The resulting big merged SBOM thus has several entries under Would it be possible to further mash together existing objects with same identifier? In particular, the |
Signed-off-by: Marlon Pina Tojal <marlont@backbase.com>
@jimklimov maybe you can post some examples of the nodes that are duplicated. |
Sure, for example:
vs. same without a scope:
In original SBOMs (and the merged one without this PR in the tool) there were 113 mentions of the component, now just these two. It will take some time and effort to check if others differ by just |
CycloneDX/cyclonedx-dotnet-library#199