Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declared license not collected #496

Open
pombredanne opened this issue Jul 7, 2024 · 2 comments
Open

Declared license not collected #496

pombredanne opened this issue Jul 7, 2024 · 2 comments

Comments

@pombredanne
Copy link
Member

I collect pkg:maven/com.carrotsearch/[email protected] 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 pombredanne changed the title Declared license not collect Declared license not collected Jul 7, 2024
@pombredanne
Copy link
Member Author

Another example:

If I post this to collect/index_packages:

{
  "packages": [
    {
      "purl": "pkg:maven/com.amazonaws/[email protected]"
    }
  ],
  "reindex": true,
  "reindex_set": true
}

The re collected seems still incorrect

@pombredanne
Copy link
Member Author

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

pombredanne added a commit that referenced this issue Jul 8, 2024
Reference: #496

Signed-off-by: Philippe Ombredanne <[email protected]>
pombredanne added a commit that referenced this issue Jul 8, 2024
* Optionally override package data with new, non-empty manifest data
* Expose new experimental API endpoint extra to recollect manifest data
  with a rescan at collect/reindex_metadata with this override
  capability
* Enable this for Maven only for now

Reference: #496
Reference: #494
Signed-off-by: Philippe Ombredanne <[email protected]>
JonoYang pushed a commit that referenced this issue Jul 16, 2024
JonoYang pushed a commit that referenced this issue Jul 16, 2024
* Optionally override package data with new, non-empty manifest data
* Expose new experimental API endpoint extra to recollect manifest data
  with a rescan at collect/reindex_metadata with this override
  capability
* Enable this for Maven only for now

Reference: #496
Reference: #494
Signed-off-by: Philippe Ombredanne <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant