-
Notifications
You must be signed in to change notification settings - Fork 243
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
Allow a project to be specified using the downloadSource flag #3000
Comments
/assign |
A couple of thoughts after looking at implementing this yesterday:
@elsony @johnmcollier - What are your thoughts on this? |
Solutions considered are:
|
For now, we'll go with implementing this in interactive mode if there is more than one project in the devfile. However, we will need to consider how a user can specify this information from the command line in future. |
We've found that we can use
Due to limitations of the |
Reposting potential solutions here after further discussion (along with drawbacks)
|
/kind user-story
User Story
As a developer, I'd like to be able to specify a specific project (by
name
field) to be downloaded from the--downloadSource
flag onodo create
. Currently, using the flag only downloads the first project in the devfile.Acceptance Criteria
--downloadSource
which downloads the project specified by the argument. The argument will be thename
field of the project definition e.g.nodejs-web-app
--downloadSource
, default to the first project as we have in todays implementation.Usage
Set odo to experimental mode
Run an
odo create <component-name> --downloadSource
and optionally specify a project using--downloadSource=<project-name>
.Resource creation will only work if there is a project listed in the devfile,
Links
/kind user-story
The text was updated successfully, but these errors were encountered: