Skip to content
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

Che-theia fails to import projects if one is located in a sub path of another #18790

Closed
2 of 3 tasks
sunix opened this issue Jan 13, 2021 · 3 comments
Closed
2 of 3 tasks
Labels
area/plugins kind/bug Outline of a bug - must adhere to the bug report template. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. severity/P1 Has a major impact to usage or development of the system.

Comments

@sunix
Copy link
Contributor

sunix commented Jan 13, 2021

Describe the bug

In a devfile, where one project is supposed to be cloned in a subpath of another project, in some (random?) case, the parent one is not cloned (considered as existing?)

apiVersion: 1.0.0
metadata:
  generateName: che-test-clone-subfolders-
projects:
  - name: che-theia
    source:
      location: 'https://github.com/eclipse/che-theia.git'
      type: git
    clonePath: theia/che-theia
  - name: theia
    source:
      location: 'https://github.com/eclipse-theia/theia.git'
      type: git

Che version

  • latest
  • nightly
  • other: please specify

Steps to reproduce

  1. create a workspace out of the devfile above.

che-theia is cloned in /projects/theia/che-theia. Missing content of theia.

Expected behavior

theia should be cloned as well.

Additional context

This could be required by #18763

@sunix sunix added the kind/bug Outline of a bug - must adhere to the bug report template. label Jan 13, 2021
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Jan 13, 2021
@benoitf
Copy link
Contributor

benoitf commented Jan 13, 2021

@sunix the project is not cloned by the generator ?

@benoitf benoitf added dogfooding severity/P1 Has a major impact to usage or development of the system. area/plugins and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Jan 13, 2021
@sunix
Copy link
Contributor Author

sunix commented Jan 13, 2021

yes but let's say you want to share a devfile with a specific fork/branch of che-theia it doesn't work

@che-bot
Copy link
Contributor

che-bot commented Jul 19, 2021

Issues go stale after 180 days of inactivity. lifecycle/stale issues rot after an additional 7 days of inactivity and eventually close.

Mark the issue as fresh with /remove-lifecycle stale in a new comment.

If this issue is safe to close now please do so.

Moderators: Add lifecycle/frozen label to avoid stale mode.

@che-bot che-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 19, 2021
@che-bot che-bot closed this as completed Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/plugins kind/bug Outline of a bug - must adhere to the bug report template. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

3 participants