Is your enhancement related to a problem? Please describe
We are removing projects from the Devfile spec and leave only starterProjects (issue). The reasons:
- when a Devfile lives in a git repo, close to the project source code,
projects can (and should) be omitted
- when a Devfile lives outside a git repo, far from the project source code,
projects and starterProjects are pretty similar
- when the need is to open multiple projects in the IDE, it’s better to have distinct Devfiles/dw (one per project) rather than one “uber” devfile/dw for all projects
Describe the solution you'd like
Current DW spec
kind: DevWorkspace
apiVersion: workspace.devfile.io/v1alpha2
metadata:
name: theia-next
spec:
started: true
template:
projects:
- name: web-nodejs-sample
git:
remotes:
origin: "https://github.com/che-samples/web-nodejs-sample.git"
(...)
Future DW spec
kind: DevWorkspace
apiVersion: workspace.devfile.io/v1alpha2
metadata:
name: theia-next
spec:
started: true
project:
name: web-nodejs-sample
git:
remotes:
origin: "https://github.com/che-samples/web-nodejs-sample.git"
template:
(...)
Is your enhancement related to a problem? Please describe
We are removing
projectsfrom the Devfile spec and leave onlystarterProjects(issue). The reasons:projectscan (and should) be omittedprojectsandstarterProjectsare pretty similarDescribe the solution you'd like
Current DW spec
Future DW spec