Skip to content

Commit

Permalink
feat(aosd): Sort output by componentName for easier comparison
Browse files Browse the repository at this point in the history
This eases comparison with the files generated by [1].

[1]: https://gitlab.com/digitalwerk/tools/spdx2aosd

Signed-off-by: Sebastian Schuberth <[email protected]>
  • Loading branch information
sschuberth committed Dec 16, 2024
1 parent 66d3984 commit d8f70f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/reporters/aosd/src/main/kotlin/Aosd21Reporter.kt
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ class Aosd21Reporter(override val descriptor: PluginDescriptor = Aosd21ReporterF
indexedPackages[it]?.index?.toLong()
},
components = indexedPackages.toComponents(input, project)
.toSortedSet(compareBy { it.componentName })
)

val projectName = project.id.toPath("-")
Expand Down

0 comments on commit d8f70f0

Please sign in to comment.