anchore / syft

CLI tool and library for generating a Software Bill of Materials from container images and filesystems
Apache License 2.0
5.73k stars 526 forks source link

Add (better) Sorting #2960

Closed C0D3-M4513R closed 1 week ago

C0D3-M4513R commented 2 weeks ago

Adds Sorting. Might help with fixing the test from #2948

There are a lot of issues, where the lint thinks lines are duplicated, but I do not see a better way.

C0D3-M4513R commented 1 week ago

Todo: to be replaced with a better version, more tailored towards relationship sorting in tests with less code.

Edit: now handled in https://github.com/anchore/syft/pull/2948