adjust gitignore to be more permissive to snippets

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
Alex Goodman 2023-12-22 13:02:26 -05:00
parent d849719605
commit 8006e9d8a0
8 changed files with 19 additions and 1 deletions

View File

@ -173,7 +173,7 @@ tasks:
check-binary-fixture-size:
desc: Ensure that the binary test fixtures are not too large
cmds:
- .github/scripts/check_binary_fixture_size.sh syft/pkg/cataloger/binary/test-fixtures/classifiers/positive
- .github/scripts/check_binary_fixture_size.sh syft/pkg/cataloger/binary/test-fixtures/classifiers/snippets
## Testing tasks #################################

View File

@ -0,0 +1,5 @@
# allow for lb patterns (rust, pytho, php and more)
!lib*.so
# allow for go-hint file
!VERSION*

View File

@ -0,0 +1,12 @@
name: libphp.so
offset: unknown
length: unknown
snippetSha256: d39ac8dadf5ba868455c487f1d0bb4c8bec64006fd7e5d76e3e27a26e47e637f
fileSha256: unknown
### byte snippet to follow ###
%s'
%s,%s
X-Powered-By: PHP/8.2.1
index pointer
PHP_VERSION