Currently with the current spec if we have n dependencies with the same license and if we need to include the license text this leads to a lot of duplicated text and huge increase on the file size.
As an example on the files we are generating if we do not include the license text the file is around 5MB, if we include the text we have more than 500MB per file.
Ideally we should have a dedicated node that could contain the details, so the dependencies contain the ID and this dedicated node could contain the details like the license text.
{
// ...
"components": [
// ...
{
"type": "library",
"bom-ref": "pkg:xxx",
"publisher": "xxxx",
"group": "com.xxx",
"name": "xxx",
"version": "x.x.x",
// ....
"licenses": [
{
"license": {
"id": "Apache-2.0"
}
}
],
}
],
licenses: {
"Apache-2.0": {
"text" : "licence text",
}
},
}
see also: https://cyclonedx.slack.com/archives/CVA0G10FN/p1688979060505779
Currently with the current spec if we have n dependencies with the same license and if we need to include the license text this leads to a lot of duplicated text and huge increase on the file size.
As an example on the files we are generating if we do not include the license text the file is around 5MB, if we include the text we have more than 500MB per file.
Ideally we should have a dedicated node that could contain the details, so the dependencies contain the ID and this dedicated node could contain the details like the license text.
see also: https://cyclonedx.slack.com/archives/CVA0G10FN/p1688979060505779