Skip to content
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

Update README about merge algorithms #81

Closed
vargenau opened this issue Jul 10, 2024 · 2 comments
Closed

Update README about merge algorithms #81

vargenau opened this issue Jul 10, 2024 · 2 comments

Comments

@vargenau
Copy link
Contributor

We currently support two algorithm

  • Hierarchical: This merge algo tries to maintain, the order of the dependent components to its primary component. For spdx this is done via relationships and for cyclonedx via nested components & dependencies.
  • Flat: As the name states, are just consolidated lists of components, dependencies, etc.
  • Assembly: Merge is very similar to Hierarchical, except that it does not create dependency relationships among the merged sboms.

This is three algorithms, not two.

You should add that Flat is not yet implemented.

What is the default algorithm, i.e. when -a, -fand -mare not used?

@riteshnoronha
Copy link
Contributor

The default algorithm is Hierarchal Merge for both SPDX and CycloneDX. Yes i plan on implementing both FLAT & Assembly merge for SPDX soon. Hopefully next week.

@riteshnoronha
Copy link
Contributor

Added more details here #83

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants