Skip to content

fix: use 'isDefault' version from deps dev api#1019

Merged
benmss merged 3 commits into
stagingfrom
1018-improve-get-latest-purl
Mar 19, 2025
Merged

fix: use 'isDefault' version from deps dev api#1019
benmss merged 3 commits into
stagingfrom
1018-improve-get-latest-purl

Conversation

@benmss

@benmss benmss commented Mar 18, 2025

Copy link
Copy Markdown
Contributor

When retrieving versions of artefacts from deps.dev API, one of the entries will have the isDefault property set to True. It is this version that is considered to be the latest version in the list, not the last entry as was previously assumed.

Closes #1018

Signed-off-by: Ben Selwyn-Smith <benselwynsmith@googlemail.com>
@benmss benmss self-assigned this Mar 18, 2025
@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Mar 18, 2025
@benmss benmss marked this pull request as ready for review March 18, 2025 02:39
@benmss benmss requested review from behnazh-w and tromai as code owners March 18, 2025 02:39
Comment thread src/macaron/repo_finder/repo_finder_deps_dev.py Outdated
Comment thread src/macaron/repo_finder/repo_finder_deps_dev.py
benmss added 2 commits March 18, 2025 14:07
Signed-off-by: Ben Selwyn-Smith <benselwynsmith@googlemail.com>
Signed-off-by: Ben Selwyn-Smith <benselwynsmith@googlemail.com>
@benmss benmss merged commit 9d5de67 into staging Mar 19, 2025
@benmss benmss deleted the 1018-improve-get-latest-purl branch April 8, 2025 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants