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

✨ Make providers return a builtin config so engine can look at updated locations #671

Merged
merged 5 commits into from
Jul 29, 2024

Conversation

shawn-hurley
Copy link
Contributor

@shawn-hurley shawn-hurley commented Jul 24, 2024

Some providers can mutate the original location given in init config. For example, for binaries, java provider decompiles and uses the new decompiled path. This PR adds a way for providers to communicate updated locations back to the engine so builtin provider can be configured correctly without the user having to do it.

Signed-off-by: Pranav Gaikwad <pgaikwad@redhat.com>
Signed-off-by: Pranav Gaikwad <pgaikwad@redhat.com>
Signed-off-by: Pranav Gaikwad <pgaikwad@redhat.com>
Signed-off-by: Pranav Gaikwad <pgaikwad@redhat.com>

fixup
.github/workflows/demo-testing.yml Outdated Show resolved Hide resolved
* switching to the bundle CI

Signed-off-by: Shawn Hurley <shawn@hurley.page>
@shawn-hurley shawn-hurley changed the title Feature/builtin configs ✨ Feature/builtin configs Jul 29, 2024
@shawn-hurley shawn-hurley changed the title ✨ Feature/builtin configs ✨ Make providers return a builtin config so engine can look at updated locations Jul 29, 2024
@aufi
Copy link
Member

aufi commented Jul 29, 2024

LGTM, Just a note run API tests with not-merged PR from go-konveyor-tests could be done adding "API tests PR: XYZ" to PR description (details https://github.com/konveyor/ci/blob/main/.github/workflows/global-ci.yml#L150)

Copy link
Member

@djzager djzager left a comment

Choose a reason for hiding this comment

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

lgtm

@shawn-hurley
Copy link
Contributor Author

@aufi Yeah that is true, problem is that this only works when you first open the PR

@shawn-hurley shawn-hurley merged commit a2d0687 into konveyor:main Jul 29, 2024
12 of 13 checks passed
github-actions bot pushed a commit that referenced this pull request Jul 29, 2024
…d locations (#671)

Some providers can mutate the original location given in init config.
For example, for binaries, java provider decompiles and uses the new
decompiled path. This PR adds a way for providers to communicate updated
locations back to the engine so builtin provider can be configured
correctly without the user having to do it.

---------

Signed-off-by: Pranav Gaikwad <pgaikwad@redhat.com>
Signed-off-by: Shawn Hurley <shawn@hurley.page>
Co-authored-by: Pranav Gaikwad <pgaikwad@redhat.com>
Signed-off-by: Cherry Picker <noreply@github.com>
shawn-hurley added a commit that referenced this pull request Jul 29, 2024
…d locations (#671) (#677)

Some providers can mutate the original location given in init config.
For example, for binaries, java provider decompiles and uses the new
decompiled path. This PR adds a way for providers to communicate updated
locations back to the engine so builtin provider can be configured
correctly without the user having to do it.

---------

Signed-off-by: Pranav Gaikwad <pgaikwad@redhat.com>
Signed-off-by: Shawn Hurley <shawn@hurley.page>
Co-authored-by: Pranav Gaikwad <pgaikwad@redhat.com>
Signed-off-by: Cherry Picker <noreply@github.com>

Signed-off-by: Pranav Gaikwad <pgaikwad@redhat.com>
Signed-off-by: Shawn Hurley <shawn@hurley.page>
Signed-off-by: Cherry Picker <noreply@github.com>
Co-authored-by: Shawn Hurley <shawn@hurley.page>
Co-authored-by: Pranav Gaikwad <pgaikwad@redhat.com>
jortel added a commit to konveyor/tackle2-addon-analyzer that referenced this pull request Aug 1, 2024
github-actions bot pushed a commit to konveyor/tackle2-addon-analyzer that referenced this pull request Aug 1, 2024
closes #93

Requires:
- konveyor/tackle2-hub#668
- konveyor/analyzer-lsp#671
- konveyor/analyzer-lsp#686

---------

Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Cherry Picker <noreply@github.com>
jortel added a commit to konveyor/tackle2-addon-analyzer that referenced this pull request Aug 1, 2024
closes #93

Requires:
- konveyor/tackle2-hub#668
- konveyor/analyzer-lsp#671
- konveyor/analyzer-lsp#686

---------

Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Cherry Picker <noreply@github.com>

Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Cherry Picker <noreply@github.com>
Co-authored-by: Jeff Ortel <jortel@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick/release-0.5 This PR should be cherry-picked to release-0.4 branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants