Che Theia clones projects every time a workspace is loaded/refreshed, even if the project was already cloned.
See original GitHub issuePossibly related to #13784
Description
I’m using Che 7 with eclipse/che-theia/7.0.0-rc-3.0
as the editor. I have a simple devfile defined with two projects (https://raw.githubusercontent.com/johnmcollier/devfiles/master/devfile_test.yaml). Every time I load the Che workspace, Theia clones the projects (or at least one of the projects), even if project already exists. Furthermore, even when I refresh the workspace in my browser, Theia reclones the projects.
and then after reloading/refreshing:
I’ve refreshed the workspace in my browser 5 times, so there’s 5 nodeExpressTemplate
projects cloned. This also happens if I open the workspace via Che.
Che/Theia should only be cloning on the first time Theia loads, rather than on every time.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Starting a new workspace with a clone of a Git repository
With Che, you can visit a URL in your browser to start a new workspace that contains a clone of a Git repository....
Read more >Eclipse + EGit: clone project into workspace - Stack Overflow
When I have the projects inside my workspace It's easy to make a backup and I always know where my files are located....
Read more >Chapter 2. Che-Theia IDE basics - Red Hat Customer Portal
This section describes basics workflows and commands for Che-Theia: the ... Alternatively, use the native Git commands in the terminal to clone a...
Read more >Contributing for the first time to a project - Eclipse Che Blog
In order to contribute to a project, just click on the badge defined in the README.md file of the repository, and within a...
Read more >Eclipse Che
Eclipse Che is an open-source workspace server and an integrated ... place) was announced as one of the top-level projects of Eclipse Cloud...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
ok thanks maybe this is not related to https://github.com/eclipse/che/issues/13784 then. We are going to try to reproduce that in a unit test.
OK thanks for giving all these details it helps 😃