utils/generate-cyclonedx: sort dependencies

The SBOM is easier to read if the dependencies are sorted alphabetically.

Signed-off-by: Fabien Lehoussel <fabien.lehoussel@smile.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 4b15707056)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
Fabien Lehoussel
2025-08-07 08:23:24 +02:00
committed by Thomas Perale
parent 34d5425d17
commit 5ca396f4bc

View File

@@ -205,7 +205,7 @@ def cyclonedx_dependency(ref, depends):
""" """
return { return {
"ref": ref, "ref": ref,
"dependsOn": depends, "dependsOn": sorted(depends),
} }