Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

feat: update component/devfile detection in JAVA (#88) #92

Merged
merged 2 commits into from
Jul 4, 2022

Conversation

lstocchi
Copy link
Collaborator

@lstocchi lstocchi commented Jun 10, 2022

it resolves #88

This patch update how the detection works in JAVA to make it be the same as in Go.

The component detection works without framework constraint and the result is ordered to have the component found in root in first position.
The devfile detection is now based on component detection. A devfile is picked based on component in root, if nothing is there it uses a component in the project or the generic analyze action.

I added some comment to keep track of the behavior.

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
@lstocchi lstocchi marked this pull request as ready for review June 10, 2022 10:44
@lstocchi lstocchi requested a review from jeffmaury June 10, 2022 10:45
Copy link
Member

@jeffmaury jeffmaury left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lstocchi lstocchi merged commit ef50ead into redhat-developer:main Jul 4, 2022
@lstocchi lstocchi deleted the i88 branch July 4, 2022 15:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update component/devfile detection in JAVA implementation
2 participants