-
Notifications
You must be signed in to change notification settings - Fork 199
Open
Description
In URI-PackageURL, I implemented a simple test to validate the JSON definition of the PURL type using purl-definition.schema.json
.
All validations are OK, but for MLFlow, the type_name
property is empty (can be seen in the test name for mlflow).
"type_name": "", |
- **Type Name:** |
$ prove -lv t/99-purl-json-schema.t
t/99-purl-json-schema.t ..
ok 1 - require URI::PackageURL::Type;
ok 2 - [alpm] Validate Arch Linux package PURL type JSON schema
ok 3 - [apk] Validate APK-based packages PURL type JSON schema
ok 4 - [bitbucket] Validate Bitbucket PURL type JSON schema
ok 5 - [bitnami] Validate Bitnami PURL type JSON schema
ok 6 - [cargo] Validate Cargo PURL type JSON schema
ok 7 - [cocoapods] Validate CocoaPods PURL type JSON schema
ok 8 - [composer] Validate Composer PURL type JSON schema
ok 9 - [conan] Validate Conan C/C++ packages PURL type JSON schema
ok 10 - [conda] Validate Conda PURL type JSON schema
ok 11 - [cpan] Validate CPAN PURL type JSON schema
ok 12 - [cran] Validate CRAN PURL type JSON schema
ok 13 - [deb] Validate Debian package PURL type JSON schema
ok 14 - [docker] Validate Docker image PURL type JSON schema
ok 15 - [gem] Validate RubyGems PURL type JSON schema
ok 16 - [generic] Validate Generic Package PURL type JSON schema
ok 17 - [github] Validate GitHub PURL type JSON schema
ok 18 - [golang] Validate Go package PURL type JSON schema
ok 19 - [hackage] Validate Haskell package PURL type JSON schema
ok 20 - [hex] Validate Hex PURL type JSON schema
ok 21 - [huggingface] Validate HuggingFace models PURL type JSON schema
ok 22 - [luarocks] Validate LuaRocks PURL type JSON schema
ok 23 - [maven] Validate Maven PURL type JSON schema
ok 24 - [mlflow] Validate PURL type JSON schema
ok 25 - [npm] Validate Node NPM packages PURL type JSON schema
ok 26 - [nuget] Validate NuGet PURL type JSON schema
ok 27 - [oci] Validate OCI image PURL type JSON schema
ok 28 - [pub] Validate Pub PURL type JSON schema
ok 29 - [pypi] Validate PyPI PURL type JSON schema
ok 30 - [qpkg] Validate QNX package PURL type JSON schema
ok 31 - [rpm] Validate RPM PURL type JSON schema
ok 32 - [swid] Validate Software Identification (SWID) Tag PURL type JSON schema
ok 33 - [swift] Validate Swift packages PURL type JSON schema
1..33
ok
All tests successful.
Files=1, Tests=33, 3 wallclock secs ( 0.11 usr 0.01 sys + 3.01 cusr 0.18 csys = 3.31 CPU)
Result: PASS
Metadata
Metadata
Assignees
Labels
No labels