question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Che Theia clones projects every time a workspace is loaded/refreshed, even if the project was already cloned.

See original GitHub issue

Possibly 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.

Screen Shot 2019-07-08 at 12 12 02 PM

and then after reloading/refreshing: Screen Shot 2019-07-08 at 12 12 16 PM

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:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
sunixcommented, Jul 8, 2019

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.

0reactions
sunixcommented, Jul 9, 2019

OK thanks for giving all these details it helps 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found