Confusing dialogs are shown when a project is cloned
See original GitHub issueDescription
With new git vscode extension, che-theia is not behaving as expected during initial clone of project. The project should be cloned without any prompt for the user but currently a couple of prompt dialogs are shown to the user.
Maybe we shouldn’t use that theia command and invoke git directly (https://github.com/eclipse/che-theia/blob/master/plugins/factory-plugin/src/theia-commands.ts#L74). Or maybe there are some default options to set.
Reproduction Steps
Started the workspace with project to clone, like:
chectl workspace:start -f <(chectl devfile:generate -name=che7-readme-update-stable --git-repo=https://github.com/eclipse/che --dockerimage=sunix/git-devtools)
✔ Retrieving Che Server URL...http://che-che.192.168.39.13.nip.io
✔ Verify if Che server is running
✔ Create workspace from Devfile /dev/fd/63
Workspace IDE URL:
http://che-che.192.168.39.13.nip.io/dashboard/#/ide/che/che7-readme-update-stable
Theia starts successfully but ask to select a (git) repository:
It shouldn’t ask anything as it was before. Moreover selecting Cancel
abort project cloning and that should not happen neither.
Anyway selecting folder /projects/
works and the project is cloned successfully (and a nice spinner is shown indicating that the cloning is happening).
After the project is cloned a couple of dialogs are shown to the user:
And if you do not make the right choice, we end up with strange folders in the explorer
OS and version:
rhel, chectl and minikube
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (15 by maintainers)
Top GitHub Comments
Will the fix for this be pushed/merged to
eclipse/che-theia:next
?have the same issue on prod-preview after update to ‘7.0.0-rc-3.0’ - https://github.com/redhat-developer/rh-che/pull/1474