Skip to content

Fix/explicit data license primary - #335

Merged
riteshnoronha merged 3 commits into
interlynk-io:mainfrom
viveksahu26:fix/explicit-data-license-primary
Aug 7, 2026
Merged

Fix/explicit data license primary#335
riteshnoronha merged 3 commits into
interlynk-io:mainfrom
viveksahu26:fix/explicit-data-license-primary

Conversation

@viveksahu26

Copy link
Copy Markdown
Contributor

closes #331

THis PR adds the following changes:

  • add support for --doc-license for assemble/flat with primary sbom

Examples:

  • add "Apache-2.0" license for assemblyMerge with Primary SBOM
$ go run main.go assemble --assemblyMerge --doc-license "Apache-2.0" --primary samples/test/assemble/lite-sbom1-cdx.json samples/test/assemble/lite-sbom2-cdx.json -o doc-license-no-assertion.cdx.json
  • add "Apache-2.0" license for flatMerge with Primary SBOM
$ go run main.go assemble --flatMerge --doc-license "Apache-2.0" --primary samples/test/assemble/lite-sbom1-cdx.json samples/test/assemble/lite-sbom2-cdx.json -o doc-license-no-assertion.cdx.json

Signed-off-by: Vivek Kumar Sahu <vivekkumarsahu650@gmail.com>
Signed-off-by: Vivek Kumar Sahu <vivekkumarsahu650@gmail.com>
Signed-off-by: Vivek Kumar Sahu <vivekkumarsahu650@gmail.com>
@viveksahu26
viveksahu26 force-pushed the fix/explicit-data-license-primary branch from 56e32ed to e29d10d Compare August 7, 2026 10:06
@riteshnoronha
riteshnoronha merged commit e03b8d5 into interlynk-io:main Aug 7, 2026
8 checks passed
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

Successfully merging this pull request may close these issues.

Assembly Merge with Primary ignores doc-license

2 participants