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

Fix vertx devfile matching #197

Merged
merged 12 commits into from
May 3, 2023

Conversation

thepetk
Copy link
Collaborator

@thepetk thepetk commented Apr 27, 2023

What does this PR do?

It is similar to #193 and it introduces the matchesFormatted function. Upon checking the language.Frameworks & devFile.ProjectType if they are equals, it removes the special characters and the spaces in order to make a better comparison.

It adds the TestDetectVertxDevfile in order to ensure that the vert.x devfile will be selected for projects with main component of Vert.x framework.

Which issue(s) this PR fixes:

Fixes #189

@thepetk thepetk requested a review from mike-hoang April 27, 2023 13:43
@thepetk thepetk self-assigned this Apr 27, 2023
Signed-off-by: thepetk <thepetk@gmail.com>
@thepetk thepetk requested a review from mike-hoang May 3, 2023 10:44
@thepetk
Copy link
Collaborator Author

thepetk commented May 3, 2023

@mike-hoang I had to rebase the current branch after the merge for #193 :) so I've reset your review

@thepetk thepetk merged commit 2033c76 into redhat-developer:main May 3, 2023
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.

Vert.x is not selected as devfile for vert.x project
2 participants