-
Notifications
You must be signed in to change notification settings - Fork 244
Closed
Labels
area/devfile-specIssues or PRs related to the Devfile specification and how odo handles and interprets it.Issues or PRs related to the Devfile specification and how odo handles and interprets it.kind/user-storyAn issue of user-story kindAn issue of user-story kindpriority/HighImportant issue; should be worked on before any other issues (except priority/Critical issue(s)).Important issue; should be worked on before any other issues (except priority/Critical issue(s)).v2Issue or PR that applies to the v2 of odoIssue or PR that applies to the v2 of odo
Description
/kind user-story
User Story
As a user, I want to be able to use a project's clonePath setting to determine where my project(s) get synced on the remote containers. If no clonePath field is set, it should use the project's name as the clonePath, as per the devfile schema.
Acceptance Criteria
- It should sync the user's source code to the setting of
clonePathif set for a project - If multiple projects are defined in a devfile, odo should use the proper
clonePathvalue - If
clonePathis not defined for the user's project, the name of the project should be used as theclonePathvalue - It should still support cases where there is no project defined in a devfile, or the user brings their own project.
Notes
clonePath description in Devfile Json Schema:
clonePath: string
Path relative to the root of the projects to which this project should be cloned into. This is a unix-style relative path (i.e. uses forward slashes). The path is invalid if it is absolute or tries to escape the project root through the usage of '..'. If not specified, defaults to the project name.
/kind user-story
/area devfile
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/devfile-specIssues or PRs related to the Devfile specification and how odo handles and interprets it.Issues or PRs related to the Devfile specification and how odo handles and interprets it.kind/user-storyAn issue of user-story kindAn issue of user-story kindpriority/HighImportant issue; should be worked on before any other issues (except priority/Critical issue(s)).Important issue; should be worked on before any other issues (except priority/Critical issue(s)).v2Issue or PR that applies to the v2 of odoIssue or PR that applies to the v2 of odo