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

[theia-devworkspace handler] store projects section when generating templates #20877

Closed
benoitf opened this issue Dec 3, 2021 · 0 comments
Closed
Assignees
Labels
area/editor/theia Issues related to the che-theia IDE of Che kind/enhancement A feature request - must adhere to the feature request template. severity/P1 Has a major impact to usage or development of the system. sprint/current

Comments

@benoitf
Copy link
Contributor

benoitf commented Dec 3, 2021

Is your enhancement related to a problem? Please describe

For now the projects section is empty
It should generate the projects section in the devfile.yaml

Describe the solution you'd like

Option to include or not the projects section
When using the CLI it should include the projects section while when running inside dashboard it shouldn't

projects:
  - name: scala-sbt
    source:
      location: 'https://github.com/che-samples/scala-sbt'
      type: git
      branch: devfile2

if we add flag like npx devworkspace-handler ...... --project.${name}={{DEVFILE_REGISTRY_URL}}/${name}.zip

it should be like

projects:
  - name: scala-sbt
    source:
      location: '{{DEVFILE_REGISTRY_URL}}/resources/v2/scala-sbt.zip'
      type: zip

Describe alternatives you've considered

No response

Additional context

No response

@benoitf benoitf added kind/enhancement A feature request - must adhere to the feature request template. area/editor/theia Issues related to the che-theia IDE of Che labels Dec 3, 2021
@benoitf benoitf self-assigned this Dec 3, 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 Dec 3, 2021
@benoitf benoitf assigned vinokurig and unassigned benoitf Dec 3, 2021
@svor svor mentioned this issue Dec 3, 2021
19 tasks
@themr0c themr0c added severity/P1 Has a major impact to usage or development of the system. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Dec 3, 2021
@svor svor closed this as completed Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/editor/theia Issues related to the che-theia IDE of Che kind/enhancement A feature request - must adhere to the feature request template. severity/P1 Has a major impact to usage or development of the system. sprint/current
Projects
None yet
Development

No branches or pull requests

5 participants