-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Confusing dialogs are shown when a project is cloned #13784
Comments
have the same issue on prod-preview after update to '7.0.0-rc-3.0' - redhat-developer/rh-che#1474 |
@ibuziuk Maybe 7.0.0-rc-4.0-SNAPSHOT ? |
@vparfonov nope, was able to repro against stable |
hm, ok thanks |
@vinokurig @vparfonov When can we expect solution to this issue? I'm asking because it's currently breaking happy path tests and I'm trying to decide whether it's worth it to implement workaround in Happy Path tests. |
@rhopp, we work on it just now, will ping you soon |
@vinokurig maybe quick way to fix it is to invoke git directly instead of using the vscode command 'git.clone' https://github.com/eclipse/che-theia/blob/master/plugins/factory-plugin/src/git.ts#L57 to replace https://github.com/eclipse/che-theia/blob/master/plugins/factory-plugin/src/theia-commands.ts#L74 |
@sunix Right now I am preparing a new binary of vscode git that solves this problem. |
I should also note that this shows up every time the Che workspace is accessed (rather that just the first time). Also, when you reload the workspace in the browser, if you select the same folder as before, it reclones the projects, creating duplicates in the workspace. |
|
@vinokurig are you saying that you are forking vscode git ? |
Yes, it's a kind of a fork https://github.com/che-incubator/vscode-git |
Will the fix for this be pushed/merged to |
@sunix @vinokurig I'm still seeing duplicate clones when refreshing/reloading a Che workspace with |
Thanks |
Description
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:
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
The text was updated successfully, but these errors were encountered: