aboutcode-org / aboutcode-org/purldb

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

Offen
#195 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
HTML
Sterne
67
Forks
69
Ø Merge
8 T. 8 Std.
Gemergte PRs (30 T.)
1

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.