Skip to content

Validate and metadata requests always return no content while giving no errors #4

Description

@Toroid82

I don't think the tool works anymore. Tried first installing using pip but got packagedb errors. Then I installed from source with:
pip3 install -e .
Using virtual environment in Ubuntu 24.04.

Now the tool runs without errors, but doesn't matter what purl or command is used, always the result is supposedly valid but has no content and does not match what is given in the repo readme. I do see query out of the computer in Wireshark, so something happens, but not quite how it's supposed to work I think.

purlcli validate --purl pkg:npm/canonical-path@1.0.0
{
    "headers": [
        {
            "tool_name": "purlcli",
            "tool_version": "0.2.0",
            "options": {
                "command": "validate",
                "--purl": [
                    "pkg:npm/canonical-path@1.0.0"
                ],
                "--file": null,
                "--output": "<stdout>"
            },
            "purls": [
                "pkg:npm/canonical-path@1.0.0"
            ],
            "errors": [],
            "warnings": []
        }
    ],
    "packages": [
        {
            "valid": true,
            "exists": true,
            "message": "The provided Package URL is valid, and the package exists in the upstream repo.",
            "purl": "pkg:npm/canonical-path@1.0.0"
        }
    ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions