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

feat: find repo from latest artifact when provided artifact has none #931

Merged
merged 5 commits into from
Dec 19, 2024

Conversation

benmss
Copy link
Member

@benmss benmss commented Nov 28, 2024

This PR improves the Repo Finder by making it check for repositories using the latest version of an artifact if the provided version does not contain that information. This latest version finding behaviour is also added for the case where a Java PURL was provided without a version, and is added for the find-source command.

@benmss benmss self-assigned this Nov 28, 2024
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Nov 28, 2024
@benmss benmss force-pushed the benmss/latest-repo-finder branch from 70daa62 to a2b6ba9 Compare November 28, 2024 01:02
@benmss benmss marked this pull request as ready for review November 28, 2024 05:29
@benmss benmss force-pushed the benmss/latest-repo-finder branch from 92f4d51 to 9ea935b Compare December 10, 2024 23:14
@behnazh-w
Copy link
Member

Can you please add an integration test for one of the artifacts that required this feature to find the correct repository?

@benmss
Copy link
Member Author

benmss commented Dec 11, 2024

One is included here.

@behnazh-w
Copy link
Member

One is included here.

I meant to add an integration test with two steps for the analyze and find-source commands to make sure they both have a similar behavior.

@benmss benmss force-pushed the benmss/latest-repo-finder branch from 9ea935b to 608cfe1 Compare December 19, 2024 00:24
@benmss benmss merged commit 1ea1bd5 into staging Dec 19, 2024
11 checks passed
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.

3 participants