Skip to content

Inconsistent test cases for Conan #643

@petergardfjall

Description

@petergardfjall

As I am trying to update a purl library implementation to pass the new test set I'm running into problems with https://github.com/package-url/purl-spec/blob/main/tests/types/conan-test.json.

Trying to reverse engineer a validation rule it seems to me that a number of test cases suggest that for pkg:conan the presence of a namespace requires the presence of a channel qualifier (and vice versa) 1, 2, 3, 4. Please correct me if I'm wrong!

If such a validation rule is to be enforced then this test case should be an expected_failure I think (missing channel qualifier despite namespace). I think the same is true for this and this as well.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions