-
Notifications
You must be signed in to change notification settings - Fork 36
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
fix: projects are ignored when restarting workspace from local devfile #345
Conversation
Signed-off-by: vitaliy-guliy <[email protected]>
Pull Request Dev image published: |
Pull Request Che-Code image published: |
Signed-off-by: vitaliy-guliy <[email protected]>
Pull Request Dev image published: |
Pull Request Che-Code image published: |
Signed-off-by: vitaliy-guliy <[email protected]>
Pull Request Dev image published: |
Pull Request Che-Code image published: |
Signed-off-by: vitaliy-guliy <[email protected]>
Pull Request Dev image published: |
Pull Request Che-Code image published: |
Signed-off-by: vitaliy-guliy <[email protected]>
Pull Request Dev image published: |
Pull Request Che-Code image published: |
Signed-off-by: vitaliy-guliy <[email protected]>
Pull Request Dev image published: |
Pull Request Che-Code image published: |
Signed-off-by: vitaliy-guliy <[email protected]>
Pull Request Dev image published: |
Signed-off-by: vitaliy-guliy <[email protected]>
Pull Request Dev image published: |
Pull Request Che-Code image published: |
@vitaliy-guliy
But, to be honest, I don't know how we should handle such cases... |
About eclipse-che/che#22913 Dashboard handles similar problem by providing the following message: |
It is not clear what should we do if a user remove the project. That's why this behavior was omitted. |
Signed-off-by: vitaliy-guliy <[email protected]>
Pull Request Dev image published: |
Pull Request Che-Code image published: |
Signed-off-by: vitaliy-guliy <[email protected]>
Signed-off-by: vitaliy-guliy <[email protected]>
Pull Request Dev image published: |
Pull Request Che-Code image published: |
Signed-off-by: vitaliy-guliy <[email protected]>
Pull Request Dev image published: |
Pull Request Che-Code image published: |
Signed-off-by: vitaliy-guliy <[email protected]>
Pull Request Dev image published: |
Pull Request Che-Code image published: |
What does this PR do?
try {} catch {}
section to better understanding the cause of the error when restarting the workpaceWhat issues does this PR fix?
eclipse-che/che#22722
How to test this PR?
or just click at
java-spring-petclinic
project, add following section and saveEclipse Che: Restart Workspace from Local Devfile
command, select a devfile forjava-spring-petclinic
project and confirm restart.Workspace should be restarted, explorer should contain three projects.
Install
redhat.vscode-yaml
extension.Open the devfile in
java-spring-petclinic
project, add some environment variable to thetools
container.Eclipse Che: Restart Workspace from Local Devfile
command.Select the devfile for
java-spring-petclinic
project and confirm restart to continue.Once workspace is restarted, open the terminal and verify the environment variable is set.
java-spring-petclinic
project to the new file with a different name.Open newly created devfile, add another one environment variable like above and run
Eclipse Che: Restart Workspace from Local Devfile
command.In a proposed popup select the last item and then using the popup open the created devfile.
Confirm restart when requested.
The workspace should be restarted. Open a terminal and check for environment variable.
Does this PR contain changes that override default upstream Code-OSS behavior?
git rebase
were added to the .rebase folder