aboutcode-org / purldb

Tools to create and expose a database of purls (Package URLs). This project is sponsored by NLnet project https://nlnet.nl/project/vulnerabilitydatabase/ and nexB for https://www.aboutcode.org/ Chat is at https://gitter.im/aboutcode-org/discuss
https://purldb.readthedocs.io/
35 stars 23 forks source link

Declared license not collected #496

Open pombredanne opened 4 months ago

pombredanne commented 4 months ago

I collect pkg:maven/com.carrotsearch/hppc@0.7.1 using the collect/index_packages API endpoint. The declared license is never filled in, even though the parent POM has it. The other_license_expression is populated though when doing a look up on the "enhanced" endpoint.

Here are the URLs:

pombredanne commented 4 months ago

Another example:

If I post this to collect/index_packages:

{
  "packages": [
    {
      "purl": "pkg:maven/com.amazonaws/aws-java-sdk-kms@1.11.277"
    }
  ],
  "reindex": true,
  "reindex_set": true
}

The re collected seems still incorrect

pombredanne commented 4 months ago

The issue is that the scans overrides the available values with empties