Install plugins to devworkspaces#1267
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
I would avoid to mix code refactoring and developing a new feature in the same PR |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Codecov Report
@@ Coverage Diff @@
## main #1267 +/- ##
==========================================
+ Coverage 32.78% 36.83% +4.04%
==========================================
Files 290 330 +40
Lines 9885 11305 +1420
Branches 1457 1557 +100
==========================================
+ Hits 3241 4164 +923
- Misses 6641 7136 +495
- Partials 3 5 +2
Continue to review full report at Codecov.
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
❌ E2E Happy path tests failed ❗ See Details
Test product:
Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe |
|
I've already reverted a bunch of code. |
482c8bf to
a6fda6a
Compare
|
Tried with che-server mode and it was ok Workspace is yellow, and workspace can't restart: So I'm wondering why it's updating the devWorkspace template when I just want to try it and then we can't restart the workspace so better to not do that for now |
I've noticed earlier, we have several issues eclipse-che/che#20638 (comment)
|
|
✅ E2E Happy path tests succeed 🎉 See Details
Test product:
Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe |
benoitf
left a comment
There was a problem hiding this comment.
- meta.yaml should not be used with DevWorkspace engine (the counter part file is che-theia-plugin.yaml)
- We should not update the whole devfile but just patch devWorkspace object
- It should prompt the user that workspace will be restarted before really installing the plug-in
- the whole ensureComponentIsReadyToRunExtensions is boiler plate that should be removed (no dev container = error)
- there is a library
jsonc-parserto parse json-c files
62053e7 to
b6b6c87
Compare
e1e225d to
6724cfc
Compare
Signed-off-by: Vitaliy Gulyy <vgulyy@redhat.com>
d3b0517 to
140bab7
Compare
code has been changed, so dismissing my previous review / request for changes
benoitf
left a comment
There was a problem hiding this comment.
I think it'll nice if we're able to merge just after 7.43 is released
|
I've tried to install/uninstall plugins and it looks good to me, good work @vitaliy-guliy 👍 |
azatsarynnyy
left a comment
There was a problem hiding this comment.
Thanks for providing the test Devfile!
After testing, I can confirm the functionality works as expected. 👍
|
so let's merge ? |


What does this PR do?
Allows to manage che-theia plugins for devworkspaces by Che-Theia Plugins view.
Screenshot/screencast of this PR
What issues does this PR fix or reference?
eclipse-che/che#20638
How to test this PR?
Create a workspace from this repository https://github.com/vitaliy-guliy/java-spring-petclinic/tree/devfilev2-plugin-installation
PR Checklist
As the author of this Pull Request I made sure that:
What issues does this PR fix or referenceandHow to test this PRcompletedReviewers
Reviewers, please comment how you tested the PR when approving it.
Happy Path Channel
HAPPY_PATH_CHANNEL=next