anchore / syft

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

update dart classifier to support 2.x and arm/v7 in 3.x #3475

Closed witchcraze closed 58 minutes ago

witchcraze commented 12 hours ago

Description

Type of change

Checklist:

note: As make add-snippet wrote snippet to "classifiers/snippets/dart/3.0.0/linux-unknown-454d5f41524d/dart", I renamed folder to match under classifiers/bin/dart/3.0.0


$ go run cmd/syft/main.go -q --platform linux/arm/v7 dart:3.0.0-sdk | grep dart
dart                    3.0.0                           binary

$ go run cmd/syft/main.go -q dart:2 | grep dart
dart                    2.19.6                          binary