diff --git a/crds/workspace.devfile.io_devworkspaces.v1beta1.yaml b/crds/workspace.devfile.io_devworkspaces.v1beta1.yaml index c30dbc265..3947e1c8f 100644 --- a/crds/workspace.devfile.io_devworkspaces.v1beta1.yaml +++ b/crds/workspace.devfile.io_devworkspaces.v1beta1.yaml @@ -3111,10 +3111,6 @@ spec: in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string type: object github: description: Project's GitHub source @@ -3143,10 +3139,6 @@ spec: in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string type: object name: description: Project name @@ -3158,6 +3150,12 @@ spec: - Github - Zip type: string + sparseCheckoutDirs: + description: Populate the project sparsely with selected + directories. + items: + type: string + type: array zip: description: Project's Zip source properties: @@ -3165,10 +3163,6 @@ spec: description: Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH type: string - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string type: object required: - name @@ -3189,14 +3183,6 @@ spec: - required: - zip properties: - clonePath: - description: 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. - type: string description: description: Description of a starter project type: string @@ -3227,10 +3213,6 @@ spec: in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string type: object github: description: Project's GitHub source @@ -3259,10 +3241,6 @@ spec: in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string type: object name: description: Project name @@ -3274,6 +3252,10 @@ spec: - Github - Zip type: string + subDir: + description: Sub-directory from a starter project to be + used as root for starter project. + type: string zip: description: Project's Zip source properties: @@ -3281,10 +3263,6 @@ spec: description: Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH type: string - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string type: object required: - name @@ -3353,10 +3331,6 @@ spec: description: The remotes map which should be initialized in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string required: - remotes type: object @@ -3384,10 +3358,6 @@ spec: description: The remotes map which should be initialized in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string required: - remotes type: object @@ -3402,6 +3372,11 @@ spec: - Zip - Custom type: string + sparseCheckoutDirs: + description: Populate the project sparsely with selected directories. + items: + type: string + type: array zip: description: Project's Zip source properties: @@ -3409,10 +3384,6 @@ spec: description: Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH type: string - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string type: object required: - name @@ -3432,14 +3403,6 @@ spec: - required: - custom properties: - clonePath: - description: 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. - type: string custom: description: Project's Custom source properties: @@ -3480,10 +3443,6 @@ spec: description: The remotes map which should be initialized in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string required: - remotes type: object @@ -3511,10 +3470,6 @@ spec: description: The remotes map which should be initialized in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string required: - remotes type: object @@ -3529,6 +3484,10 @@ spec: - Zip - Custom type: string + subDir: + description: Sub-directory from a starter project to be used + as root for starter project. + type: string zip: description: Project's Zip source properties: @@ -3536,10 +3495,6 @@ spec: description: Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH type: string - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string type: object required: - name diff --git a/crds/workspace.devfile.io_devworkspaces.yaml b/crds/workspace.devfile.io_devworkspaces.yaml index 1541d06cc..4155c5e71 100644 --- a/crds/workspace.devfile.io_devworkspaces.yaml +++ b/crds/workspace.devfile.io_devworkspaces.yaml @@ -3165,10 +3165,6 @@ spec: in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the - working directory. - type: string type: object github: description: Project's GitHub source @@ -3197,10 +3193,6 @@ spec: in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the - working directory. - type: string type: object name: description: Project name @@ -3212,6 +3204,12 @@ spec: - Github - Zip type: string + sparseCheckoutDirs: + description: Populate the project sparsely with selected + directories. + items: + type: string + type: array zip: description: Project's Zip source properties: @@ -3219,10 +3217,6 @@ spec: description: Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH type: string - sparseCheckoutDir: - description: Part of project to populate in the - working directory. - type: string type: object required: - name @@ -3243,14 +3237,6 @@ spec: - required: - zip properties: - clonePath: - description: 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. - type: string description: description: Description of a starter project type: string @@ -3281,10 +3267,6 @@ spec: in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the - working directory. - type: string type: object github: description: Project's GitHub source @@ -3313,10 +3295,6 @@ spec: in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the - working directory. - type: string type: object name: description: Project name @@ -3328,6 +3306,10 @@ spec: - Github - Zip type: string + subDir: + description: Sub-directory from a starter project to + be used as root for starter project. + type: string zip: description: Project's Zip source properties: @@ -3335,10 +3317,6 @@ spec: description: Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH type: string - sparseCheckoutDir: - description: Part of project to populate in the - working directory. - type: string type: object required: - name @@ -3409,10 +3387,6 @@ spec: in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string required: - remotes type: object @@ -3442,10 +3416,6 @@ spec: in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string required: - remotes type: object @@ -3460,6 +3430,12 @@ spec: - Zip - Custom type: string + sparseCheckoutDirs: + description: Populate the project sparsely with selected + directories. + items: + type: string + type: array zip: description: Project's Zip source properties: @@ -3467,10 +3443,6 @@ spec: description: Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH type: string - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string type: object required: - name @@ -3490,14 +3462,6 @@ spec: - required: - custom properties: - clonePath: - description: 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. - type: string custom: description: Project's Custom source properties: @@ -3540,10 +3504,6 @@ spec: in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string required: - remotes type: object @@ -3573,10 +3533,6 @@ spec: in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string required: - remotes type: object @@ -3591,6 +3547,10 @@ spec: - Zip - Custom type: string + subDir: + description: Sub-directory from a starter project to be + used as root for starter project. + type: string zip: description: Project's Zip source properties: @@ -3598,10 +3558,6 @@ spec: description: Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH type: string - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string type: object required: - name diff --git a/crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml b/crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml index 7b9ddd2b7..3ea0815fe 100644 --- a/crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml +++ b/crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml @@ -2983,10 +2983,6 @@ spec: description: The remotes map which should be initialized in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string type: object github: description: Project's GitHub source @@ -3012,10 +3008,6 @@ spec: description: The remotes map which should be initialized in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string type: object name: description: Project name @@ -3027,6 +3019,11 @@ spec: - Github - Zip type: string + sparseCheckoutDirs: + description: Populate the project sparsely with selected directories. + items: + type: string + type: array zip: description: Project's Zip source properties: @@ -3034,10 +3031,6 @@ spec: description: Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH type: string - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string type: object required: - name @@ -3058,14 +3051,6 @@ spec: - required: - zip properties: - clonePath: - description: 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. - type: string description: description: Description of a starter project type: string @@ -3093,10 +3078,6 @@ spec: description: The remotes map which should be initialized in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string type: object github: description: Project's GitHub source @@ -3122,10 +3103,6 @@ spec: description: The remotes map which should be initialized in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string type: object name: description: Project name @@ -3137,6 +3114,10 @@ spec: - Github - Zip type: string + subDir: + description: Sub-directory from a starter project to be used + as root for starter project. + type: string zip: description: Project's Zip source properties: @@ -3144,10 +3125,6 @@ spec: description: Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH type: string - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string type: object required: - name @@ -3214,9 +3191,6 @@ spec: description: The remotes map which should be initialized in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the working directory. - type: string required: - remotes type: object @@ -3243,9 +3217,6 @@ spec: description: The remotes map which should be initialized in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the working directory. - type: string required: - remotes type: object @@ -3260,6 +3231,11 @@ spec: - Zip - Custom type: string + sparseCheckoutDirs: + description: Populate the project sparsely with selected directories. + items: + type: string + type: array zip: description: Project's Zip source properties: @@ -3267,9 +3243,6 @@ spec: description: Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH type: string - sparseCheckoutDir: - description: Part of project to populate in the working directory. - type: string type: object required: - name @@ -3289,13 +3262,6 @@ spec: - required: - custom properties: - clonePath: - description: 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. - type: string custom: description: Project's Custom source properties: @@ -3335,9 +3301,6 @@ spec: description: The remotes map which should be initialized in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the working directory. - type: string required: - remotes type: object @@ -3364,9 +3327,6 @@ spec: description: The remotes map which should be initialized in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the working directory. - type: string required: - remotes type: object @@ -3381,6 +3341,10 @@ spec: - Zip - Custom type: string + subDir: + description: Sub-directory from a starter project to be used as + root for starter project. + type: string zip: description: Project's Zip source properties: @@ -3388,9 +3352,6 @@ spec: description: Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH type: string - sparseCheckoutDir: - description: Part of project to populate in the working directory. - type: string type: object required: - name diff --git a/crds/workspace.devfile.io_devworkspacetemplates.yaml b/crds/workspace.devfile.io_devworkspacetemplates.yaml index 1b3cf51e5..b64875595 100644 --- a/crds/workspace.devfile.io_devworkspacetemplates.yaml +++ b/crds/workspace.devfile.io_devworkspacetemplates.yaml @@ -3034,10 +3034,6 @@ spec: in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string type: object github: description: Project's GitHub source @@ -3065,10 +3061,6 @@ spec: in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string type: object name: description: Project name @@ -3080,6 +3072,12 @@ spec: - Github - Zip type: string + sparseCheckoutDirs: + description: Populate the project sparsely with selected + directories. + items: + type: string + type: array zip: description: Project's Zip source properties: @@ -3087,10 +3085,6 @@ spec: description: Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH type: string - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string type: object required: - name @@ -3111,14 +3105,6 @@ spec: - required: - zip properties: - clonePath: - description: 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. - type: string description: description: Description of a starter project type: string @@ -3148,10 +3134,6 @@ spec: in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string type: object github: description: Project's GitHub source @@ -3179,10 +3161,6 @@ spec: in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string type: object name: description: Project name @@ -3194,6 +3172,10 @@ spec: - Github - Zip type: string + subDir: + description: Sub-directory from a starter project to be + used as root for starter project. + type: string zip: description: Project's Zip source properties: @@ -3201,10 +3183,6 @@ spec: description: Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH type: string - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string type: object required: - name @@ -3271,10 +3249,6 @@ spec: description: The remotes map which should be initialized in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string required: - remotes type: object @@ -3301,10 +3275,6 @@ spec: description: The remotes map which should be initialized in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string required: - remotes type: object @@ -3319,6 +3289,11 @@ spec: - Zip - Custom type: string + sparseCheckoutDirs: + description: Populate the project sparsely with selected directories. + items: + type: string + type: array zip: description: Project's Zip source properties: @@ -3326,10 +3301,6 @@ spec: description: Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH type: string - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string type: object required: - name @@ -3349,13 +3320,6 @@ spec: - required: - custom properties: - clonePath: - description: 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. - type: string custom: description: Project's Custom source properties: @@ -3395,10 +3359,6 @@ spec: description: The remotes map which should be initialized in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string required: - remotes type: object @@ -3425,10 +3385,6 @@ spec: description: The remotes map which should be initialized in the git project. Must have at least one remote configured type: object - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string required: - remotes type: object @@ -3443,6 +3399,10 @@ spec: - Zip - Custom type: string + subDir: + description: Sub-directory from a starter project to be used + as root for starter project. + type: string zip: description: Project's Zip source properties: @@ -3450,10 +3410,6 @@ spec: description: Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH type: string - sparseCheckoutDir: - description: Part of project to populate in the working - directory. - type: string type: object required: - name diff --git a/pkg/apis/workspaces/v1alpha2/projects.go b/pkg/apis/workspaces/v1alpha2/projects.go index 01f27cf74..5c7a709c1 100644 --- a/pkg/apis/workspaces/v1alpha2/projects.go +++ b/pkg/apis/workspaces/v1alpha2/projects.go @@ -10,14 +10,26 @@ type Project struct { // +optional ClonePath string `json:"clonePath,omitempty"` + // Populate the project sparsely with selected directories. + // +optional + SparseCheckoutDirs []string `json:"sparseCheckoutDirs,omitempty"` + ProjectSource `json:",inline"` } + type StarterProject struct { - Project `json:",inline"` + // Project name + Name string `json:"name"` // Description of a starter project // +optional Description string `json:"description,omitempty"` + + // Sub-directory from a starter project to be used as root for starter project. + // +optional + SubDir string `json:"subDir,omitempty"` + + ProjectSource `json:",inline"` } // ProjectSourceType describes the type of Project sources. @@ -61,9 +73,6 @@ type ProjectSource struct { } type CommonProjectSource struct { - // Part of project to populate in the working directory. - // +optional - SparseCheckoutDir string `json:"sparseCheckoutDir,omitempty"` } type CustomProjectSource struct { diff --git a/pkg/apis/workspaces/v1alpha2/zz_generated.deepcopy.go b/pkg/apis/workspaces/v1alpha2/zz_generated.deepcopy.go index 16c303dcd..6ac684289 100644 --- a/pkg/apis/workspaces/v1alpha2/zz_generated.deepcopy.go +++ b/pkg/apis/workspaces/v1alpha2/zz_generated.deepcopy.go @@ -2487,6 +2487,11 @@ func (in *PluginOverridesParentOverride) DeepCopy() *PluginOverridesParentOverri // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Project) DeepCopyInto(out *Project) { *out = *in + if in.SparseCheckoutDirs != nil { + in, out := &in.SparseCheckoutDirs, &out.SparseCheckoutDirs + *out = make([]string, len(*in)) + copy(*out, *in) + } in.ProjectSource.DeepCopyInto(&out.ProjectSource) } @@ -2503,6 +2508,11 @@ func (in *Project) DeepCopy() *Project { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ProjectParentOverride) DeepCopyInto(out *ProjectParentOverride) { *out = *in + if in.SparseCheckoutDirs != nil { + in, out := &in.SparseCheckoutDirs, &out.SparseCheckoutDirs + *out = make([]string, len(*in)) + copy(*out, *in) + } in.ProjectSourceParentOverride.DeepCopyInto(&out.ProjectSourceParentOverride) } @@ -2584,7 +2594,7 @@ func (in *ProjectSourceParentOverride) DeepCopy() *ProjectSourceParentOverride { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *StarterProject) DeepCopyInto(out *StarterProject) { *out = *in - in.Project.DeepCopyInto(&out.Project) + in.ProjectSource.DeepCopyInto(&out.ProjectSource) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StarterProject. @@ -2600,7 +2610,7 @@ func (in *StarterProject) DeepCopy() *StarterProject { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *StarterProjectParentOverride) DeepCopyInto(out *StarterProjectParentOverride) { *out = *in - in.ProjectParentOverride.DeepCopyInto(&out.ProjectParentOverride) + in.ProjectSourceParentOverride.DeepCopyInto(&out.ProjectSourceParentOverride) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StarterProjectParentOverride. diff --git a/pkg/apis/workspaces/v1alpha2/zz_generated.parent_overrides.go b/pkg/apis/workspaces/v1alpha2/zz_generated.parent_overrides.go index c3c2de77d..92b520d32 100644 --- a/pkg/apis/workspaces/v1alpha2/zz_generated.parent_overrides.go +++ b/pkg/apis/workspaces/v1alpha2/zz_generated.parent_overrides.go @@ -56,15 +56,27 @@ type ProjectParentOverride struct { // +optional ClonePath string `json:"clonePath,omitempty"` + // Populate the project sparsely with selected directories. + // +optional + SparseCheckoutDirs []string `json:"sparseCheckoutDirs,omitempty"` + ProjectSourceParentOverride `json:",inline"` } type StarterProjectParentOverride struct { - ProjectParentOverride `json:",inline"` + + // Project name + Name string `json:"name"` // Description of a starter project // +optional Description string `json:"description,omitempty"` + + // Sub-directory from a starter project to be used as root for starter project. + // +optional + SubDir string `json:"subDir,omitempty"` + + ProjectSourceParentOverride `json:",inline"` } type CommandParentOverride struct { @@ -487,10 +499,6 @@ type GitLikeProjectSourceParentOverride struct { } type CommonProjectSourceParentOverride struct { - - // Part of project to populate in the working directory. - // +optional - SparseCheckoutDir string `json:"sparseCheckoutDir,omitempty"` } type LabeledCommandParentOverride struct { diff --git a/schemas/latest/dev-workspace-template-spec.json b/schemas/latest/dev-workspace-template-spec.json index 8697888b8..78436e3a8 100644 --- a/schemas/latest/dev-workspace-template-spec.json +++ b/schemas/latest/dev-workspace-template-spec.json @@ -2933,10 +2933,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -2966,10 +2962,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -2978,6 +2970,13 @@ "description": "Project name", "type": "string" }, + "sparseCheckoutDirs": { + "description": "Populate the project sparsely with selected directories.", + "type": "array", + "items": { + "type": "string" + } + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -2985,10 +2984,6 @@ "location": { "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3026,10 +3021,6 @@ } ], "properties": { - "clonePath": { - "description": "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.", - "type": "string" - }, "description": { "description": "Description of a starter project", "type": "string" @@ -3059,10 +3050,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3092,10 +3079,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3104,6 +3087,10 @@ "description": "Project name", "type": "string" }, + "subDir": { + "description": "Sub-directory from a starter project to be used as root for starter project.", + "type": "string" + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -3111,10 +3098,6 @@ "location": { "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3211,10 +3194,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3247,10 +3226,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3259,6 +3234,13 @@ "description": "Project name", "type": "string" }, + "sparseCheckoutDirs": { + "description": "Populate the project sparsely with selected directories.", + "type": "array", + "items": { + "type": "string" + } + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -3266,10 +3248,6 @@ "location": { "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3309,10 +3287,6 @@ } ], "properties": { - "clonePath": { - "description": "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.", - "type": "string" - }, "custom": { "description": "Project's Custom source", "type": "object", @@ -3363,10 +3337,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3399,10 +3369,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3411,6 +3377,10 @@ "description": "Project name", "type": "string" }, + "subDir": { + "description": "Sub-directory from a starter project to be used as root for starter project.", + "type": "string" + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -3418,10 +3388,6 @@ "location": { "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false diff --git a/schemas/latest/dev-workspace-template.json b/schemas/latest/dev-workspace-template.json index 22fad790b..936d14541 100644 --- a/schemas/latest/dev-workspace-template.json +++ b/schemas/latest/dev-workspace-template.json @@ -3098,10 +3098,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3131,10 +3127,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3143,6 +3135,13 @@ "description": "Project name", "type": "string" }, + "sparseCheckoutDirs": { + "description": "Populate the project sparsely with selected directories.", + "type": "array", + "items": { + "type": "string" + } + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -3150,10 +3149,6 @@ "location": { "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3191,10 +3186,6 @@ } ], "properties": { - "clonePath": { - "description": "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.", - "type": "string" - }, "description": { "description": "Description of a starter project", "type": "string" @@ -3224,10 +3215,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3257,10 +3244,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3269,6 +3252,10 @@ "description": "Project name", "type": "string" }, + "subDir": { + "description": "Sub-directory from a starter project to be used as root for starter project.", + "type": "string" + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -3276,10 +3263,6 @@ "location": { "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3376,10 +3359,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3412,10 +3391,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3424,6 +3399,13 @@ "description": "Project name", "type": "string" }, + "sparseCheckoutDirs": { + "description": "Populate the project sparsely with selected directories.", + "type": "array", + "items": { + "type": "string" + } + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -3431,10 +3413,6 @@ "location": { "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3474,10 +3452,6 @@ } ], "properties": { - "clonePath": { - "description": "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.", - "type": "string" - }, "custom": { "description": "Project's Custom source", "type": "object", @@ -3528,10 +3502,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3564,10 +3534,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3576,6 +3542,10 @@ "description": "Project name", "type": "string" }, + "subDir": { + "description": "Sub-directory from a starter project to be used as root for starter project.", + "type": "string" + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -3583,10 +3553,6 @@ "location": { "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false diff --git a/schemas/latest/dev-workspace.json b/schemas/latest/dev-workspace.json index d5ed1db06..f9a095990 100644 --- a/schemas/latest/dev-workspace.json +++ b/schemas/latest/dev-workspace.json @@ -3111,10 +3111,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3144,10 +3140,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3156,6 +3148,13 @@ "description": "Project name", "type": "string" }, + "sparseCheckoutDirs": { + "description": "Populate the project sparsely with selected directories.", + "type": "array", + "items": { + "type": "string" + } + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -3163,10 +3162,6 @@ "location": { "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3204,10 +3199,6 @@ } ], "properties": { - "clonePath": { - "description": "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.", - "type": "string" - }, "description": { "description": "Description of a starter project", "type": "string" @@ -3237,10 +3228,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3270,10 +3257,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3282,6 +3265,10 @@ "description": "Project name", "type": "string" }, + "subDir": { + "description": "Sub-directory from a starter project to be used as root for starter project.", + "type": "string" + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -3289,10 +3276,6 @@ "location": { "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3389,10 +3372,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3425,10 +3404,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3437,6 +3412,13 @@ "description": "Project name", "type": "string" }, + "sparseCheckoutDirs": { + "description": "Populate the project sparsely with selected directories.", + "type": "array", + "items": { + "type": "string" + } + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -3444,10 +3426,6 @@ "location": { "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3487,10 +3465,6 @@ } ], "properties": { - "clonePath": { - "description": "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.", - "type": "string" - }, "custom": { "description": "Project's Custom source", "type": "object", @@ -3541,10 +3515,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3577,10 +3547,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3589,6 +3555,10 @@ "description": "Project name", "type": "string" }, + "subDir": { + "description": "Sub-directory from a starter project to be used as root for starter project.", + "type": "string" + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -3596,10 +3566,6 @@ "location": { "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false diff --git a/schemas/latest/devfile.json b/schemas/latest/devfile.json index b0d02833c..327dbb659 100644 --- a/schemas/latest/devfile.json +++ b/schemas/latest/devfile.json @@ -2867,10 +2867,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -2900,10 +2896,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -2912,6 +2904,13 @@ "description": "Project name", "type": "string" }, + "sparseCheckoutDirs": { + "description": "Populate the project sparsely with selected directories.", + "type": "array", + "items": { + "type": "string" + } + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -2919,10 +2918,6 @@ "location": { "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -2960,10 +2955,6 @@ } ], "properties": { - "clonePath": { - "description": "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.", - "type": "string" - }, "description": { "description": "Description of a starter project", "type": "string" @@ -2993,10 +2984,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3026,10 +3013,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3038,6 +3021,10 @@ "description": "Project name", "type": "string" }, + "subDir": { + "description": "Sub-directory from a starter project to be used as root for starter project.", + "type": "string" + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -3045,10 +3032,6 @@ "location": { "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3122,10 +3105,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3158,10 +3137,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3170,6 +3145,13 @@ "description": "Project name", "type": "string" }, + "sparseCheckoutDirs": { + "description": "Populate the project sparsely with selected directories.", + "type": "array", + "items": { + "type": "string" + } + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -3177,10 +3159,6 @@ "location": { "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3220,10 +3198,6 @@ } ], "properties": { - "clonePath": { - "description": "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.", - "type": "string" - }, "description": { "description": "Description of a starter project", "type": "string" @@ -3256,10 +3230,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3292,10 +3262,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -3304,6 +3270,10 @@ "description": "Project name", "type": "string" }, + "subDir": { + "description": "Sub-directory from a starter project to be used as root for starter project.", + "type": "string" + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -3311,10 +3281,6 @@ "location": { "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false diff --git a/schemas/latest/ide-targeted/dev-workspace-template-spec.json b/schemas/latest/ide-targeted/dev-workspace-template-spec.json index 6c374617a..da42511e8 100644 --- a/schemas/latest/ide-targeted/dev-workspace-template-spec.json +++ b/schemas/latest/ide-targeted/dev-workspace-template-spec.json @@ -3269,11 +3269,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3308,11 +3303,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3323,6 +3313,14 @@ "type": "string", "markdownDescription": "Project name" }, + "sparseCheckoutDirs": { + "description": "Populate the project sparsely with selected directories.", + "type": "array", + "items": { + "type": "string" + }, + "markdownDescription": "Populate the project sparsely with selected directories." + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -3331,11 +3329,6 @@ "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string", "markdownDescription": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3375,11 +3368,6 @@ } ], "properties": { - "clonePath": { - "description": "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.", - "type": "string", - "markdownDescription": "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." - }, "description": { "description": "Description of a starter project", "type": "string", @@ -3414,11 +3402,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3453,11 +3436,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3468,6 +3446,11 @@ "type": "string", "markdownDescription": "Project name" }, + "subDir": { + "description": "Sub-directory from a starter project to be used as root for starter project.", + "type": "string", + "markdownDescription": "Sub-directory from a starter project to be used as root for starter project." + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -3476,11 +3459,6 @@ "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string", "markdownDescription": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3587,11 +3565,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3629,11 +3602,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3644,6 +3612,14 @@ "type": "string", "markdownDescription": "Project name" }, + "sparseCheckoutDirs": { + "description": "Populate the project sparsely with selected directories.", + "type": "array", + "items": { + "type": "string" + }, + "markdownDescription": "Populate the project sparsely with selected directories." + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -3652,11 +3628,6 @@ "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string", "markdownDescription": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3698,11 +3669,6 @@ } ], "properties": { - "clonePath": { - "description": "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.", - "type": "string", - "markdownDescription": "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." - }, "custom": { "description": "Project's Custom source", "type": "object", @@ -3759,11 +3725,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3801,11 +3762,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3816,6 +3772,11 @@ "type": "string", "markdownDescription": "Project name" }, + "subDir": { + "description": "Sub-directory from a starter project to be used as root for starter project.", + "type": "string", + "markdownDescription": "Sub-directory from a starter project to be used as root for starter project." + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -3824,11 +3785,6 @@ "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string", "markdownDescription": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, diff --git a/schemas/latest/ide-targeted/dev-workspace-template.json b/schemas/latest/ide-targeted/dev-workspace-template.json index 9f35ead19..f7fef5cd7 100644 --- a/schemas/latest/ide-targeted/dev-workspace-template.json +++ b/schemas/latest/ide-targeted/dev-workspace-template.json @@ -3467,11 +3467,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3506,11 +3501,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3521,6 +3511,14 @@ "type": "string", "markdownDescription": "Project name" }, + "sparseCheckoutDirs": { + "description": "Populate the project sparsely with selected directories.", + "type": "array", + "items": { + "type": "string" + }, + "markdownDescription": "Populate the project sparsely with selected directories." + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -3529,11 +3527,6 @@ "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string", "markdownDescription": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3573,11 +3566,6 @@ } ], "properties": { - "clonePath": { - "description": "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.", - "type": "string", - "markdownDescription": "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." - }, "description": { "description": "Description of a starter project", "type": "string", @@ -3612,11 +3600,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3651,11 +3634,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3666,6 +3644,11 @@ "type": "string", "markdownDescription": "Project name" }, + "subDir": { + "description": "Sub-directory from a starter project to be used as root for starter project.", + "type": "string", + "markdownDescription": "Sub-directory from a starter project to be used as root for starter project." + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -3674,11 +3657,6 @@ "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string", "markdownDescription": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3785,11 +3763,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3827,11 +3800,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3842,6 +3810,14 @@ "type": "string", "markdownDescription": "Project name" }, + "sparseCheckoutDirs": { + "description": "Populate the project sparsely with selected directories.", + "type": "array", + "items": { + "type": "string" + }, + "markdownDescription": "Populate the project sparsely with selected directories." + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -3850,11 +3826,6 @@ "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string", "markdownDescription": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3896,11 +3867,6 @@ } ], "properties": { - "clonePath": { - "description": "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.", - "type": "string", - "markdownDescription": "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." - }, "custom": { "description": "Project's Custom source", "type": "object", @@ -3957,11 +3923,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3999,11 +3960,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -4014,6 +3970,11 @@ "type": "string", "markdownDescription": "Project name" }, + "subDir": { + "description": "Sub-directory from a starter project to be used as root for starter project.", + "type": "string", + "markdownDescription": "Sub-directory from a starter project to be used as root for starter project." + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -4022,11 +3983,6 @@ "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string", "markdownDescription": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, diff --git a/schemas/latest/ide-targeted/dev-workspace.json b/schemas/latest/ide-targeted/dev-workspace.json index 2886160c6..d7b839d3a 100644 --- a/schemas/latest/ide-targeted/dev-workspace.json +++ b/schemas/latest/ide-targeted/dev-workspace.json @@ -3480,11 +3480,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3519,11 +3514,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3534,6 +3524,14 @@ "type": "string", "markdownDescription": "Project name" }, + "sparseCheckoutDirs": { + "description": "Populate the project sparsely with selected directories.", + "type": "array", + "items": { + "type": "string" + }, + "markdownDescription": "Populate the project sparsely with selected directories." + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -3542,11 +3540,6 @@ "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string", "markdownDescription": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3586,11 +3579,6 @@ } ], "properties": { - "clonePath": { - "description": "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.", - "type": "string", - "markdownDescription": "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." - }, "description": { "description": "Description of a starter project", "type": "string", @@ -3625,11 +3613,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3664,11 +3647,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3679,6 +3657,11 @@ "type": "string", "markdownDescription": "Project name" }, + "subDir": { + "description": "Sub-directory from a starter project to be used as root for starter project.", + "type": "string", + "markdownDescription": "Sub-directory from a starter project to be used as root for starter project." + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -3687,11 +3670,6 @@ "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string", "markdownDescription": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3798,11 +3776,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3840,11 +3813,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3855,6 +3823,14 @@ "type": "string", "markdownDescription": "Project name" }, + "sparseCheckoutDirs": { + "description": "Populate the project sparsely with selected directories.", + "type": "array", + "items": { + "type": "string" + }, + "markdownDescription": "Populate the project sparsely with selected directories." + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -3863,11 +3839,6 @@ "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string", "markdownDescription": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3909,11 +3880,6 @@ } ], "properties": { - "clonePath": { - "description": "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.", - "type": "string", - "markdownDescription": "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." - }, "custom": { "description": "Project's Custom source", "type": "object", @@ -3970,11 +3936,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -4012,11 +3973,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -4027,6 +3983,11 @@ "type": "string", "markdownDescription": "Project name" }, + "subDir": { + "description": "Sub-directory from a starter project to be used as root for starter project.", + "type": "string", + "markdownDescription": "Sub-directory from a starter project to be used as root for starter project." + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -4035,11 +3996,6 @@ "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string", "markdownDescription": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, diff --git a/schemas/latest/ide-targeted/devfile.json b/schemas/latest/ide-targeted/devfile.json index 31dbc87cf..5a7bfa486 100644 --- a/schemas/latest/ide-targeted/devfile.json +++ b/schemas/latest/ide-targeted/devfile.json @@ -3195,11 +3195,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3234,11 +3229,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3249,6 +3239,14 @@ "type": "string", "markdownDescription": "Project name" }, + "sparseCheckoutDirs": { + "description": "Populate the project sparsely with selected directories.", + "type": "array", + "items": { + "type": "string" + }, + "markdownDescription": "Populate the project sparsely with selected directories." + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -3257,11 +3255,6 @@ "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string", "markdownDescription": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3301,11 +3294,6 @@ } ], "properties": { - "clonePath": { - "description": "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.", - "type": "string", - "markdownDescription": "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." - }, "description": { "description": "Description of a starter project", "type": "string", @@ -3340,11 +3328,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3379,11 +3362,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3394,6 +3372,11 @@ "type": "string", "markdownDescription": "Project name" }, + "subDir": { + "description": "Sub-directory from a starter project to be used as root for starter project.", + "type": "string", + "markdownDescription": "Sub-directory from a starter project to be used as root for starter project." + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -3402,11 +3385,6 @@ "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string", "markdownDescription": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3489,11 +3467,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3531,11 +3504,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3546,6 +3514,14 @@ "type": "string", "markdownDescription": "Project name" }, + "sparseCheckoutDirs": { + "description": "Populate the project sparsely with selected directories.", + "type": "array", + "items": { + "type": "string" + }, + "markdownDescription": "Populate the project sparsely with selected directories." + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -3554,11 +3530,6 @@ "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string", "markdownDescription": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3601,11 +3572,6 @@ } ], "properties": { - "clonePath": { - "description": "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.", - "type": "string", - "markdownDescription": "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." - }, "description": { "description": "Description of a starter project", "type": "string", @@ -3643,11 +3609,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3685,11 +3646,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -3700,6 +3656,11 @@ "type": "string", "markdownDescription": "Project name" }, + "subDir": { + "description": "Sub-directory from a starter project to be used as root for starter project.", + "type": "string", + "markdownDescription": "Sub-directory from a starter project to be used as root for starter project." + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -3708,11 +3669,6 @@ "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string", "markdownDescription": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, diff --git a/schemas/latest/ide-targeted/parent-overrides.json b/schemas/latest/ide-targeted/parent-overrides.json index ade8bffda..4f4402563 100644 --- a/schemas/latest/ide-targeted/parent-overrides.json +++ b/schemas/latest/ide-targeted/parent-overrides.json @@ -1562,11 +1562,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -1601,11 +1596,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -1616,6 +1606,14 @@ "type": "string", "markdownDescription": "Project name" }, + "sparseCheckoutDirs": { + "description": "Populate the project sparsely with selected directories.", + "type": "array", + "items": { + "type": "string" + }, + "markdownDescription": "Populate the project sparsely with selected directories." + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -1624,11 +1622,6 @@ "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string", "markdownDescription": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -1665,11 +1658,6 @@ } ], "properties": { - "clonePath": { - "description": "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.", - "type": "string", - "markdownDescription": "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." - }, "description": { "description": "Description of a starter project", "type": "string", @@ -1704,11 +1692,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -1743,11 +1726,6 @@ "type": "string" }, "markdownDescription": "The remotes map which should be initialized in the git project. Must have at least one remote configured" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, @@ -1758,6 +1736,11 @@ "type": "string", "markdownDescription": "Project name" }, + "subDir": { + "description": "Sub-directory from a starter project to be used as root for starter project.", + "type": "string", + "markdownDescription": "Sub-directory from a starter project to be used as root for starter project." + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -1766,11 +1749,6 @@ "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string", "markdownDescription": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string", - "markdownDescription": "Part of project to populate in the working directory." } }, "additionalProperties": false, diff --git a/schemas/latest/parent-overrides.json b/schemas/latest/parent-overrides.json index c580db625..e64251d19 100644 --- a/schemas/latest/parent-overrides.json +++ b/schemas/latest/parent-overrides.json @@ -1396,10 +1396,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -1429,10 +1425,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -1441,6 +1433,13 @@ "description": "Project name", "type": "string" }, + "sparseCheckoutDirs": { + "description": "Populate the project sparsely with selected directories.", + "type": "array", + "items": { + "type": "string" + } + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -1448,10 +1447,6 @@ "location": { "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -1486,10 +1481,6 @@ } ], "properties": { - "clonePath": { - "description": "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.", - "type": "string" - }, "description": { "description": "Description of a starter project", "type": "string" @@ -1519,10 +1510,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -1552,10 +1539,6 @@ "additionalProperties": { "type": "string" } - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false @@ -1564,6 +1547,10 @@ "description": "Project name", "type": "string" }, + "subDir": { + "description": "Sub-directory from a starter project to be used as root for starter project.", + "type": "string" + }, "zip": { "description": "Project's Zip source", "type": "object", @@ -1571,10 +1558,6 @@ "location": { "description": "Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH", "type": "string" - }, - "sparseCheckoutDir": { - "description": "Part of project to populate in the working directory.", - "type": "string" } }, "additionalProperties": false