Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to latest test-suite-data #43

Merged
merged 1 commit into from
Jan 4, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
168 changes: 168 additions & 0 deletions tests/_examples/test-suite-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -298,5 +298,173 @@
"qualifiers": {"in production": "true"},
"subpath": null,
"is_invalid": true
},
{
"description": "valid conan purl",
"purl": "pkg:conan/[email protected]",
"canonical_purl": "pkg:conan/[email protected]",
"type": "conan",
"namespace": null,
"name": "cctz",
"version": "2.3",
"qualifiers": null,
"subpath": null,
"is_invalid": false
},
{
"description": "valid conan purl with namespace and qualifier channel",
"purl": "pkg:conan/bincrafters/[email protected]?channel=stable",
"canonical_purl": "pkg:conan/bincrafters/[email protected]?channel=stable",
"type": "conan",
"namespace": "bincrafters",
"name": "cctz",
"version": "2.3",
"qualifiers": {"channel": "stable"},
"subpath": null,
"is_invalid": false
},
{
"description": "invalid conan purl only namespace",
"purl": "pkg:conan/bincrafters/[email protected]",
"canonical_purl": "pkg:conan/bincrafters/[email protected]",
"type": "conan",
"namespace": "bincrafters",
"name": "cctz",
"version": "2.3",
"qualifiers": null,
"subpath": null,
"is_invalid": true
},
{
"description": "invalid conan purl only channel qualifier",
"purl": "pkg:conan/[email protected]?channel=stable",
"canonical_purl": "pkg:conan/[email protected]?channel=stable",
"type": "conan",
"namespace": null,
"name": "cctz",
"version": "2.3",
"qualifiers": {"channel": "stable"},
"subpath": null,
"is_invalid": true
},
{
"description": "valid conda purl with qualifiers",
"purl": "pkg:conda/[email protected]?build=py36h06a4308_0&channel=main&subdir=linux-64&type=tar.bz2",
"canonical_purl": "pkg:conda/[email protected]?build=py36h06a4308_0&channel=main&subdir=linux-64&type=tar.bz2",
"type": "conda",
"namespace": null,
"name": "absl-py",
"version": "0.4.1",
"qualifiers": {"build": "py36h06a4308_0", "channel": "main", "subdir": "linux-64", "type": "tar.bz2"},
"subpath": null,
"is_invalid": false
},
{
"description": "valid cran purl",
"purl": "pkg:cran/[email protected]",
"canonical_purl": "pkg:cran/[email protected]",
"type": "cran",
"namespace": null,
"name": "A3",
"version": "0.9.1",
"qualifiers": null,
"subpath": null,
"is_invalid": false
},
{
"description": "invalid cran purl without name",
"purl": "pkg:cran/@0.9.1",
"canonical_purl": "pkg:cran/@0.9.1",
"type": "cran",
"namespace": null,
"name": null,
"version": "0.9.1",
"qualifiers": null,
"subpath": null,
"is_invalid": true
},
{
"description": "invalid cran purl without version",
"purl": "pkg:cran/A3",
"canonical_purl": "pkg:cran/A3",
"type": "cran",
"namespace": null,
"name": "A3",
"version": null,
"qualifiers": null,
"subpath": null,
"is_invalid": true
},
{
"description": "valid swift purl",
"purl": "pkg:swift/github.com/Alamofire/[email protected]",
"canonical_purl": "pkg:swift/github.com/Alamofire/[email protected]",
"type": "swift",
"namespace": "github.com/Alamofire",
"name": "Alamofire",
"version": "5.4.3",
"qualifiers": null,
"subpath": null,
"is_invalid": false
},
{
"description": "invalid swift purl without namespace",
"purl": "pkg:swift/[email protected]",
"canonical_purl": "pkg:swift/[email protected]",
"type": "swift",
"namespace": null,
"name": "Alamofire",
"version": "5.4.3",
"qualifiers": null,
"subpath": null,
"is_invalid": true
},
{
"description": "invalid swift purl without name",
"purl": "pkg:swift/github.com/Alamofire/@5.4.3",
"canonical_purl": "pkg:swift/github.com/Alamofire/@5.4.3",
"type": "swift",
"namespace": "pkg:swift/github.com/Alamofire",
"name": null,
"version": "5.4.3",
"qualifiers": null,
"subpath": null,
"is_invalid": true
},
{
"description": "invalid swift purl without version",
"purl": "pkg:swift/github.com/Alamofire/Alamofire",
"canonical_purl": "pkg:swift/github.com/Alamofire/Alamofire",
"type": "swift",
"namespace": "pkg:swift/github.com/Alamofire",
"name": "Alamofire",
"version": null,
"qualifiers": null,
"subpath": null,
"is_invalid": true
},
{
"description": "valid hackage purl",
"purl": "pkg:hackage/[email protected]",
"canonical_purl": "pkg:hackage/[email protected]",
"type": "hackage",
"namespace": null,
"name": "AC-HalfInteger",
"version": "1.2.1",
"qualifiers": null,
"subpath": null,
"is_invalid": false
},
{
"description": "name and version are always required",
"purl": "pkg:hackage",
"canonical_purl": "pkg:hackage",
"type": "hackage",
"namespace": null,
"name": null,
"version": null,
"qualifiers": null,
"subpath": null,
"is_invalid": true
}
]