-
Notifications
You must be signed in to change notification settings - Fork 65
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
starterProjects and projects description #42
Comments
Alternative 1: using 2 devfiles that reference the same parent devfile: projects:
- name: "kafka-project"
description: "Use this app to get a nodejs application for working with kafka"
parent:
- id: nodejs-stack projects:
- name: "simple-project"
description: "Use this app to get a simple "hello world" nodejs application"
parent:
- id: nodejs-stack Alternative 2: using projects:
- name: "kafka-project"
description: "Use this app to get a nodejs application for working with kafka"
starterProjectOnly: true
- name: "simple-project"
description: "Use this app to get a simple "hello world" nodejs application" Alternative 3: using starterProjects:
- name: "kafka-project"
description: "Use this app to get a nodejs application for working with kafka"
- name: "simple-project"
description: "Use this app to get a simple "hello world" nodejs application" |
Discussed and agreed on alternative 3 because it's more straightforward for stack authors: |
@neeraj-laad I have updated the description to reflect our discussions |
In a devfile that is being used to define a stack, there could be multiple starter projects, each providing a separate starter application (simple app, app integrated with Kafka, reactive app etc.)
Today we only have a
name
field to distinguish between them. But for developer to make a choice between these starter applications, having more details information on the capabilities you get with each project will be necessary.If we can add
starterProjects
section, devfile creators will be able to use it for starter projects (only one should be selected by the user).starterProjects
would have the same syntax asprojects
but a slightly different behavior: instead of cloning the git repo, only the source code would be fetched, the git metadata would not.Moreover we would like to add the
description
field to bothproject
andstarterProject
to help developers understand the content of the project.The text was updated successfully, but these errors were encountered: