aboutcode-org / aboutcode-org/purldb

Calling Get or fetch package in the Package API endpoint does not collect not-yet-known versions

Open
#195 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
67
Forks
69
Avg merge
8d 8h
Merged PRs (30d)
1

Description

Say I have already called `get_or_fetch_package` for one version:
https://private.purldb.io/api/packages/get_or_fetch_package/?purl=pkg:maven/com.adobe.blazeds/blazeds-core@3.0

Calling next https://private.purldb.io/api/packages/get_or_fetch_package/?purl=pkg:maven/com.adobe.blazeds/blazeds-core will not fetch all other versions, and only return 3.0

If instead I call first https://private.purldb.io/api/packages/get_or_fetch_package/?purl=pkg:maven/com.adobe.blazeds/blazeds-core all versions are fetched correctly.

I would expect `get_or_fetch_package` to fill in the blanks for versions that are not yet known and exist upstream.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.