Skip to content

Commit aabc1be

Browse files
authored
fetched latest test-suite-data.json (#43)
fixes #35 Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
1 parent 7e86b0b commit aabc1be

File tree

1 file changed

+168
-0
lines changed

1 file changed

+168
-0
lines changed

Diff for: tests/_examples/test-suite-data.json

+168
Original file line numberDiff line numberDiff line change
@@ -298,5 +298,173 @@
298298
"qualifiers": {"in production": "true"},
299299
"subpath": null,
300300
"is_invalid": true
301+
},
302+
{
303+
"description": "valid conan purl",
304+
"purl": "pkg:conan/cctz@2.3",
305+
"canonical_purl": "pkg:conan/cctz@2.3",
306+
"type": "conan",
307+
"namespace": null,
308+
"name": "cctz",
309+
"version": "2.3",
310+
"qualifiers": null,
311+
"subpath": null,
312+
"is_invalid": false
313+
},
314+
{
315+
"description": "valid conan purl with namespace and qualifier channel",
316+
"purl": "pkg:conan/bincrafters/cctz@2.3?channel=stable",
317+
"canonical_purl": "pkg:conan/bincrafters/cctz@2.3?channel=stable",
318+
"type": "conan",
319+
"namespace": "bincrafters",
320+
"name": "cctz",
321+
"version": "2.3",
322+
"qualifiers": {"channel": "stable"},
323+
"subpath": null,
324+
"is_invalid": false
325+
},
326+
{
327+
"description": "invalid conan purl only namespace",
328+
"purl": "pkg:conan/bincrafters/cctz@2.3",
329+
"canonical_purl": "pkg:conan/bincrafters/cctz@2.3",
330+
"type": "conan",
331+
"namespace": "bincrafters",
332+
"name": "cctz",
333+
"version": "2.3",
334+
"qualifiers": null,
335+
"subpath": null,
336+
"is_invalid": true
337+
},
338+
{
339+
"description": "invalid conan purl only channel qualifier",
340+
"purl": "pkg:conan/cctz@2.3?channel=stable",
341+
"canonical_purl": "pkg:conan/cctz@2.3?channel=stable",
342+
"type": "conan",
343+
"namespace": null,
344+
"name": "cctz",
345+
"version": "2.3",
346+
"qualifiers": {"channel": "stable"},
347+
"subpath": null,
348+
"is_invalid": true
349+
},
350+
{
351+
"description": "valid conda purl with qualifiers",
352+
"purl": "pkg:conda/absl-py@0.4.1?build=py36h06a4308_0&channel=main&subdir=linux-64&type=tar.bz2",
353+
"canonical_purl": "pkg:conda/absl-py@0.4.1?build=py36h06a4308_0&channel=main&subdir=linux-64&type=tar.bz2",
354+
"type": "conda",
355+
"namespace": null,
356+
"name": "absl-py",
357+
"version": "0.4.1",
358+
"qualifiers": {"build": "py36h06a4308_0", "channel": "main", "subdir": "linux-64", "type": "tar.bz2"},
359+
"subpath": null,
360+
"is_invalid": false
361+
},
362+
{
363+
"description": "valid cran purl",
364+
"purl": "pkg:cran/A3@0.9.1",
365+
"canonical_purl": "pkg:cran/A3@0.9.1",
366+
"type": "cran",
367+
"namespace": null,
368+
"name": "A3",
369+
"version": "0.9.1",
370+
"qualifiers": null,
371+
"subpath": null,
372+
"is_invalid": false
373+
},
374+
{
375+
"description": "invalid cran purl without name",
376+
"purl": "pkg:cran/@0.9.1",
377+
"canonical_purl": "pkg:cran/@0.9.1",
378+
"type": "cran",
379+
"namespace": null,
380+
"name": null,
381+
"version": "0.9.1",
382+
"qualifiers": null,
383+
"subpath": null,
384+
"is_invalid": true
385+
},
386+
{
387+
"description": "invalid cran purl without version",
388+
"purl": "pkg:cran/A3",
389+
"canonical_purl": "pkg:cran/A3",
390+
"type": "cran",
391+
"namespace": null,
392+
"name": "A3",
393+
"version": null,
394+
"qualifiers": null,
395+
"subpath": null,
396+
"is_invalid": true
397+
},
398+
{
399+
"description": "valid swift purl",
400+
"purl": "pkg:swift/github.com/Alamofire/Alamofire@5.4.3",
401+
"canonical_purl": "pkg:swift/github.com/Alamofire/Alamofire@5.4.3",
402+
"type": "swift",
403+
"namespace": "github.com/Alamofire",
404+
"name": "Alamofire",
405+
"version": "5.4.3",
406+
"qualifiers": null,
407+
"subpath": null,
408+
"is_invalid": false
409+
},
410+
{
411+
"description": "invalid swift purl without namespace",
412+
"purl": "pkg:swift/Alamofire@5.4.3",
413+
"canonical_purl": "pkg:swift/Alamofire@5.4.3",
414+
"type": "swift",
415+
"namespace": null,
416+
"name": "Alamofire",
417+
"version": "5.4.3",
418+
"qualifiers": null,
419+
"subpath": null,
420+
"is_invalid": true
421+
},
422+
{
423+
"description": "invalid swift purl without name",
424+
"purl": "pkg:swift/github.com/Alamofire/@5.4.3",
425+
"canonical_purl": "pkg:swift/github.com/Alamofire/@5.4.3",
426+
"type": "swift",
427+
"namespace": "pkg:swift/github.com/Alamofire",
428+
"name": null,
429+
"version": "5.4.3",
430+
"qualifiers": null,
431+
"subpath": null,
432+
"is_invalid": true
433+
},
434+
{
435+
"description": "invalid swift purl without version",
436+
"purl": "pkg:swift/github.com/Alamofire/Alamofire",
437+
"canonical_purl": "pkg:swift/github.com/Alamofire/Alamofire",
438+
"type": "swift",
439+
"namespace": "pkg:swift/github.com/Alamofire",
440+
"name": "Alamofire",
441+
"version": null,
442+
"qualifiers": null,
443+
"subpath": null,
444+
"is_invalid": true
445+
},
446+
{
447+
"description": "valid hackage purl",
448+
"purl": "pkg:hackage/AC-HalfInteger@1.2.1",
449+
"canonical_purl": "pkg:hackage/AC-HalfInteger@1.2.1",
450+
"type": "hackage",
451+
"namespace": null,
452+
"name": "AC-HalfInteger",
453+
"version": "1.2.1",
454+
"qualifiers": null,
455+
"subpath": null,
456+
"is_invalid": false
457+
},
458+
{
459+
"description": "name and version are always required",
460+
"purl": "pkg:hackage",
461+
"canonical_purl": "pkg:hackage",
462+
"type": "hackage",
463+
"namespace": null,
464+
"name": null,
465+
"version": null,
466+
"qualifiers": null,
467+
"subpath": null,
468+
"is_invalid": true
301469
}
302470
]

0 commit comments

Comments
 (0)