Details
-
Bug
-
Resolution: Unresolved
-
Major
-
3.4.0.GA
-
None
-
False
-
None
-
False
Description
Description of problem:
When creating a new devspace with the following criteria:
- using a private Gitlab project
- using an oauth token
- specifying a non-default branch in the factory url
- using the vscode editor
the workspace clones the project into a 'project-clone-...' folder suffixed with a timestamp. Each time the workspace is restarted a new project-clone folder is created with a different timestamp
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
- Create a new private gitlab project with a new branch 'oauth'
- Create a devfile similar to the one attached and add it to the 'oauth' branch
- Create a .che/che-editor.yaml file with the content `id: che-incubator/che-code/insiders` and add it to the 'oauth' branch
- Set up devspaces with a gitlab oauth token
- Create a new devspace using the 'oauth' branch with the factory url `https://\{devspaces-url}/#https://gitlab.com/\{project-path}/-/tree/oauth`