-
Notifications
You must be signed in to change notification settings - Fork 577
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add haskell binaries cataloger (#3078)
Signed-off-by: Laurent Goderre <[email protected]>
- Loading branch information
1 parent
fce14fd
commit dbc4238
Showing
5 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -961,6 +961,28 @@ func Test_Cataloger_PositiveCases(t *testing.T) { | |
Metadata: metadata("swipl-binary"), | ||
}, | ||
}, | ||
{ | ||
logicalFixture: "haskell-ghc/9.6.5/linux-amd64", | ||
expected: pkg.Package{ | ||
Name: "haskell/ghc", | ||
Version: "9.6.5", | ||
Type: "binary", | ||
PURL: "pkg:generic/haskell/[email protected]", | ||
Locations: locations("ghc-9.6.5"), | ||
Metadata: metadata("haskell-ghc-binary"), | ||
}, | ||
}, | ||
{ | ||
logicalFixture: "haskell-cabal/3.10.3.0/linux-amd64", | ||
expected: pkg.Package{ | ||
Name: "haskell/cabal", | ||
Version: "3.10.3.0", | ||
Type: "binary", | ||
PURL: "pkg:generic/haskell/[email protected]", | ||
Locations: locations("cabal"), | ||
Metadata: metadata("haskell-cabal-binary"), | ||
}, | ||
}, | ||
{ | ||
logicalFixture: "nginx/1.25.1/linux-amd64", | ||
expected: pkg.Package{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+350 Bytes
...aloger/binary/test-fixtures/classifiers/snippets/haskell-cabal/3.10.3.0/linux-amd64/cabal
Binary file not shown.
Binary file added
BIN
+353 Bytes
...taloger/binary/test-fixtures/classifiers/snippets/haskell-ghc/9.6.5/linux-amd64/ghc-9.6.5
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters