What happened:
make add-snippet shows '(Y/n/q)', but y is required to make snippet file.
go generate ./internal/capabilities is required in top directory, and updated file should be included in PR
go test -must-use-full-binaries ./syft/pkg/cataloger/binary/test-fixtures/...
→ go test -v ./syft/pkg/cataloger/binary -run Test_Cataloger_PositiveCases/ -must-use-original-binaries
go test -v ./syft/pkg/cataloger/binary -run Test_Cataloger_PositiveCases/{software} -must-use-original-binaries
https://github.com/anchore/syft/blob/main/syft/pkg/cataloger/binary/README.md
Anything else we need to know?:
This file and script is very helpful.
What happened:
make add-snippetshows '(Y/n/q)', butyis required to make snippet file.go generate ./internal/capabilitiesis required in top directory, and updated file should be included in PRgo test -must-use-full-binaries ./syft/pkg/cataloger/binary/test-fixtures/...→
go test -v ./syft/pkg/cataloger/binary -run Test_Cataloger_PositiveCases/ -must-use-original-binariesgo test -v ./syft/pkg/cataloger/binary -run Test_Cataloger_PositiveCases/{software} -must-use-original-binarieshttps://github.com/anchore/syft/blob/main/syft/pkg/cataloger/binary/README.md
Anything else we need to know?:
This file and script is very helpful.