-
Notifications
You must be signed in to change notification settings - Fork 204
Description
@mjherzog wrote in a chat https://aboutcode-org.slack.com/archives/C08LBQMA7DE/p1756676978878109 :
It seems that we need to shift our PURL validation discussions up a level to document some key principles:
One example is several PURL type definitions are coming through with version required. Obviously a version is very important and required for practical use in a vuln detection/reporting context but is it required for validation?
Another example is qualifiers where we should not reject unregistered qualifiers, but do not want to validate the correctness of qualifiers that are registered for a purl type. This suggests that we need to define at least error vs warning messages - e.g., an error for a registered qualifier that is not correctly expressed vs a warning for an unregistered qualiifer
One good place to start would be for you to update /docs/tests.md to document some of the key principles / techniques. I am suggesting that you ( @pombredanne ) update this first to express your ideas behind the purl-test schema and then we can focus the higher level community discussion there. The current text is a direct copy from the Test section of PURL-SPECIFICATION.rst (still with the reference to test-suite-data.json)