Skip to content

Add support for starterProjects in v2 devfiles #3263

@johnmcollier

Description

@johnmcollier

/kind user-story

User Story

As a user, I want to be able to select a starter project when running odo create and have odo pull down that project's source code for use. I should also be able to select the starter code with the --starter flag (replacing the current --downloadSource flag)

Acceptance Criteria

  • The devfile parser should be updated to support the starterProjects field
  • It should allow the user to select a project when running odo create.
  • The user should be able to pick from multiple starter projects, if they are present

Links

devfile/api#42

Originally discussed in #3216. As starterProjects is not yet part of the devfile v2 schema (though it has been agreed to, see devfile/api#42), it was left out of the initial devfile-v2 implementation in odo.

/kind user-story
/area devfileV2

Metadata

Metadata

Assignees

Labels

area/devfile-specIssues or PRs related to the Devfile specification and how odo handles and interprets it.kind/user-storyAn issue of user-story kindpriority/HighImportant issue; should be worked on before any other issues (except priority/Critical issue(s)).v2Issue or PR that applies to the v2 of odo

Type

No type

Projects

Status

Done ✅

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions