From ce1a6847a92b2d017903eec1d14a5b8ab4ce0855 Mon Sep 17 00:00:00 2001 From: Philippe Martin Date: Mon, 3 Apr 2023 13:48:51 +0200 Subject: [PATCH 1/4] Clarify hotReloadCapable field Signed-off-by: Philippe Martin --- pkg/apis/workspaces/v1alpha1/commands.go | 7 +++++-- pkg/apis/workspaces/v1alpha2/commands.go | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/pkg/apis/workspaces/v1alpha1/commands.go b/pkg/apis/workspaces/v1alpha1/commands.go index c767c78e2..749a8c4c0 100644 --- a/pkg/apis/workspaces/v1alpha1/commands.go +++ b/pkg/apis/workspaces/v1alpha1/commands.go @@ -139,8 +139,11 @@ type ExecCommand struct { Env []EnvVar `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional - // Whether the command is capable to reload itself when source code changes. - // If set to `true` the command won't be restarted and it is expected to handle file changes on its own. + // Whether the command is restarted when source code changes. + // If set to `true` the command won't be restarted. + // A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. + // A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. + // This field is ignored for commands other than `build`, `run` or `debug`. // // Default value is `false` HotReloadCapable bool `json:"hotReloadCapable,omitempty"` diff --git a/pkg/apis/workspaces/v1alpha2/commands.go b/pkg/apis/workspaces/v1alpha2/commands.go index 3d136af0c..ab45c0d55 100644 --- a/pkg/apis/workspaces/v1alpha2/commands.go +++ b/pkg/apis/workspaces/v1alpha2/commands.go @@ -144,8 +144,11 @@ type ExecCommand struct { Env []EnvVar `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional - // Whether the command is capable to reload itself when source code changes. - // If set to `true` the command won't be restarted and it is expected to handle file changes on its own. + // Whether the command is restarted when source code changes. + // If set to `true` the command won't be restarted. + // A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. + // A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. + // This field is ignored for commands other than `build`, `run` or `debug`. // // Default value is `false` // +devfile:default:value=false From 860612462d812c40f4211b8728870aeafc72d6cc Mon Sep 17 00:00:00 2001 From: Philippe Martin Date: Mon, 3 Apr 2023 13:54:15 +0200 Subject: [PATCH 2/4] Auto-generated Signed-off-by: Philippe Martin --- ...pace.devfile.io_devworkspaces.v1beta1.yaml | 136 ++++++++++++------ crds/workspace.devfile.io_devworkspaces.yaml | 136 ++++++++++++------ ...file.io_devworkspacetemplates.v1beta1.yaml | 112 ++++++++++----- ...pace.devfile.io_devworkspacetemplates.yaml | 112 ++++++++++----- .../v1alpha2/zz_generated.parent_overrides.go | 14 +- .../v1alpha2/zz_generated.plugin_overrides.go | 7 +- .../latest/dev-workspace-template-spec.json | 8 +- schemas/latest/dev-workspace-template.json | 8 +- schemas/latest/dev-workspace.json | 10 +- schemas/latest/devfile.json | 4 +- .../dev-workspace-template-spec.json | 16 +-- .../ide-targeted/dev-workspace-template.json | 16 +-- .../latest/ide-targeted/dev-workspace.json | 20 +-- schemas/latest/ide-targeted/devfile.json | 8 +- .../latest/ide-targeted/parent-overrides.json | 8 +- .../latest/ide-targeted/plugin-overrides.json | 4 +- schemas/latest/parent-overrides.json | 4 +- schemas/latest/plugin-overrides.json | 2 +- 18 files changed, 395 insertions(+), 230 deletions(-) diff --git a/crds/workspace.devfile.io_devworkspaces.v1beta1.yaml b/crds/workspace.devfile.io_devworkspaces.v1beta1.yaml index 9cf85e1a7..3ef1c43f7 100644 --- a/crds/workspace.devfile.io_devworkspaces.v1beta1.yaml +++ b/crds/workspace.devfile.io_devworkspaces.v1beta1.yaml @@ -303,11 +303,15 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is capable to reload - itself when source code changes. If set to `true` - the command won't be restarted and it is expected - to handle file changes on its own. \n Default value - is `false`" + description: "Whether the command is restarted when + source code changes. If set to `true` the command + won't be restarted. A *hotReloadCapable* `run` or + `debug` command is expected to handle file changes + on its own and won't be restarted. A *hotReloadCapable* + `build` command is expected to be executed only once + and won't be executed again. This field is ignored + for commands other than `build`, `run` or `debug`. + \n Default value is `false`" type: boolean id: description: Mandatory identifier that allows referencing @@ -1108,11 +1112,16 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is capable - to reload itself when source code changes. - If set to `true` the command won't be restarted - and it is expected to handle file changes - on its own. \n Default value is `false`" + description: "Whether the command is restarted + when source code changes. If set to `true` + the command won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected to + handle file changes on its own and won't + be restarted. A *hotReloadCapable* `build` + command is expected to be executed only + once and won't be executed again. This field + is ignored for commands other than `build`, + `run` or `debug`. \n Default value is `false`" type: boolean id: description: Mandatory identifier that allows @@ -2028,11 +2037,15 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is capable to - reload itself when source code changes. If set - to `true` the command won't be restarted and it - is expected to handle file changes on its own. - \n Default value is `false`" + description: "Whether the command is restarted when + source code changes. If set to `true` the command + won't be restarted. A *hotReloadCapable* `run` + or `debug` command is expected to handle file + changes on its own and won't be restarted. A *hotReloadCapable* + `build` command is expected to be executed only + once and won't be executed again. This field is + ignored for commands other than `build`, `run` + or `debug`. \n Default value is `false`" type: boolean id: description: Mandatory identifier that allows referencing @@ -2855,12 +2868,18 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is capable - to reload itself when source code changes. - If set to `true` the command won't be - restarted and it is expected to handle - file changes on its own. \n Default - value is `false`" + description: "Whether the command is restarted + when source code changes. If set to + `true` the command won't be restarted. + A *hotReloadCapable* `run` or `debug` + command is expected to handle file changes + on its own and won't be restarted. A + *hotReloadCapable* `build` command is + expected to be executed only once and + won't be executed again. This field + is ignored for commands other than `build`, + `run` or `debug`. \n Default value is + `false`" type: boolean id: description: Mandatory identifier that @@ -4303,11 +4322,15 @@ spec: type: string type: object hotReloadCapable: - description: "Whether the command is capable to reload - itself when source code changes. If set to `true` - the command won't be restarted and it is expected - to handle file changes on its own. \n Default value - is `false`" + description: "Whether the command is restarted when + source code changes. If set to `true` the command + won't be restarted. A *hotReloadCapable* `run` or + `debug` command is expected to handle file changes + on its own and won't be restarted. A *hotReloadCapable* + `build` command is expected to be executed only + once and won't be executed again. This field is + ignored for commands other than `build`, `run` or + `debug`. \n Default value is `false`" type: boolean label: description: Optional label that provides a label @@ -5200,11 +5223,15 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is capable to reload - itself when source code changes. If set to `true` - the command won't be restarted and it is expected - to handle file changes on its own. \n Default value - is `false`" + description: "Whether the command is restarted when + source code changes. If set to `true` the command + won't be restarted. A *hotReloadCapable* `run` or + `debug` command is expected to handle file changes + on its own and won't be restarted. A *hotReloadCapable* + `build` command is expected to be executed only once + and won't be executed again. This field is ignored + for commands other than `build`, `run` or `debug`. + \n Default value is `false`" type: boolean label: description: Optional label that provides a label for @@ -6016,11 +6043,16 @@ spec: type: string type: object hotReloadCapable: - description: "Whether the command is capable - to reload itself when source code changes. - If set to `true` the command won't be restarted - and it is expected to handle file changes - on its own. \n Default value is `false`" + description: "Whether the command is restarted + when source code changes. If set to `true` + the command won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected to + handle file changes on its own and won't + be restarted. A *hotReloadCapable* `build` + command is expected to be executed only + once and won't be executed again. This field + is ignored for commands other than `build`, + `run` or `debug`. \n Default value is `false`" type: boolean label: description: Optional label that provides @@ -6967,11 +6999,15 @@ spec: type: string type: object hotReloadCapable: - description: "Whether the command is capable to - reload itself when source code changes. If set - to `true` the command won't be restarted and it - is expected to handle file changes on its own. - \n Default value is `false`" + description: "Whether the command is restarted when + source code changes. If set to `true` the command + won't be restarted. A *hotReloadCapable* `run` + or `debug` command is expected to handle file + changes on its own and won't be restarted. A *hotReloadCapable* + `build` command is expected to be executed only + once and won't be executed again. This field is + ignored for commands other than `build`, `run` + or `debug`. \n Default value is `false`" type: boolean label: description: Optional label that provides a label @@ -7769,12 +7805,18 @@ spec: type: string type: object hotReloadCapable: - description: "Whether the command is capable - to reload itself when source code changes. - If set to `true` the command won't be - restarted and it is expected to handle - file changes on its own. \n Default - value is `false`" + description: "Whether the command is restarted + when source code changes. If set to + `true` the command won't be restarted. + A *hotReloadCapable* `run` or `debug` + command is expected to handle file changes + on its own and won't be restarted. A + *hotReloadCapable* `build` command is + expected to be executed only once and + won't be executed again. This field + is ignored for commands other than `build`, + `run` or `debug`. \n Default value is + `false`" type: boolean label: description: Optional label that provides diff --git a/crds/workspace.devfile.io_devworkspaces.yaml b/crds/workspace.devfile.io_devworkspaces.yaml index 1f38b3ed6..5ff9cd528 100644 --- a/crds/workspace.devfile.io_devworkspaces.yaml +++ b/crds/workspace.devfile.io_devworkspaces.yaml @@ -299,11 +299,15 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is capable to reload - itself when source code changes. If set to `true` - the command won't be restarted and it is expected - to handle file changes on its own. \n Default value - is `false`" + description: "Whether the command is restarted when + source code changes. If set to `true` the command + won't be restarted. A *hotReloadCapable* `run` or + `debug` command is expected to handle file changes + on its own and won't be restarted. A *hotReloadCapable* + `build` command is expected to be executed only once + and won't be executed again. This field is ignored + for commands other than `build`, `run` or `debug`. + \n Default value is `false`" type: boolean id: description: Mandatory identifier that allows referencing @@ -1104,11 +1108,16 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is capable - to reload itself when source code changes. - If set to `true` the command won't be restarted - and it is expected to handle file changes - on its own. \n Default value is `false`" + description: "Whether the command is restarted + when source code changes. If set to `true` + the command won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected to + handle file changes on its own and won't + be restarted. A *hotReloadCapable* `build` + command is expected to be executed only + once and won't be executed again. This field + is ignored for commands other than `build`, + `run` or `debug`. \n Default value is `false`" type: boolean id: description: Mandatory identifier that allows @@ -2024,11 +2033,15 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is capable to - reload itself when source code changes. If set - to `true` the command won't be restarted and it - is expected to handle file changes on its own. - \n Default value is `false`" + description: "Whether the command is restarted when + source code changes. If set to `true` the command + won't be restarted. A *hotReloadCapable* `run` + or `debug` command is expected to handle file + changes on its own and won't be restarted. A *hotReloadCapable* + `build` command is expected to be executed only + once and won't be executed again. This field is + ignored for commands other than `build`, `run` + or `debug`. \n Default value is `false`" type: boolean id: description: Mandatory identifier that allows referencing @@ -2851,12 +2864,18 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is capable - to reload itself when source code changes. - If set to `true` the command won't be - restarted and it is expected to handle - file changes on its own. \n Default - value is `false`" + description: "Whether the command is restarted + when source code changes. If set to + `true` the command won't be restarted. + A *hotReloadCapable* `run` or `debug` + command is expected to handle file changes + on its own and won't be restarted. A + *hotReloadCapable* `build` command is + expected to be executed only once and + won't be executed again. This field + is ignored for commands other than `build`, + `run` or `debug`. \n Default value is + `false`" type: boolean id: description: Mandatory identifier that @@ -4301,11 +4320,15 @@ spec: type: string type: object hotReloadCapable: - description: "Whether the command is capable to reload - itself when source code changes. If set to `true` - the command won't be restarted and it is expected - to handle file changes on its own. \n Default value - is `false`" + description: "Whether the command is restarted when + source code changes. If set to `true` the command + won't be restarted. A *hotReloadCapable* `run` or + `debug` command is expected to handle file changes + on its own and won't be restarted. A *hotReloadCapable* + `build` command is expected to be executed only + once and won't be executed again. This field is + ignored for commands other than `build`, `run` or + `debug`. \n Default value is `false`" type: boolean label: description: Optional label that provides a label @@ -5198,11 +5221,15 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is capable to reload - itself when source code changes. If set to `true` - the command won't be restarted and it is expected - to handle file changes on its own. \n Default value - is `false`" + description: "Whether the command is restarted when + source code changes. If set to `true` the command + won't be restarted. A *hotReloadCapable* `run` or + `debug` command is expected to handle file changes + on its own and won't be restarted. A *hotReloadCapable* + `build` command is expected to be executed only once + and won't be executed again. This field is ignored + for commands other than `build`, `run` or `debug`. + \n Default value is `false`" type: boolean label: description: Optional label that provides a label for @@ -6021,11 +6048,16 @@ spec: type: string type: object hotReloadCapable: - description: "Whether the command is capable - to reload itself when source code changes. - If set to `true` the command won't be restarted - and it is expected to handle file changes - on its own. \n Default value is `false`" + description: "Whether the command is restarted + when source code changes. If set to `true` + the command won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected to + handle file changes on its own and won't + be restarted. A *hotReloadCapable* `build` + command is expected to be executed only + once and won't be executed again. This field + is ignored for commands other than `build`, + `run` or `debug`. \n Default value is `false`" type: boolean label: description: Optional label that provides @@ -6972,11 +7004,15 @@ spec: type: string type: object hotReloadCapable: - description: "Whether the command is capable to - reload itself when source code changes. If set - to `true` the command won't be restarted and it - is expected to handle file changes on its own. - \n Default value is `false`" + description: "Whether the command is restarted when + source code changes. If set to `true` the command + won't be restarted. A *hotReloadCapable* `run` + or `debug` command is expected to handle file + changes on its own and won't be restarted. A *hotReloadCapable* + `build` command is expected to be executed only + once and won't be executed again. This field is + ignored for commands other than `build`, `run` + or `debug`. \n Default value is `false`" type: boolean label: description: Optional label that provides a label @@ -7774,12 +7810,18 @@ spec: type: string type: object hotReloadCapable: - description: "Whether the command is capable - to reload itself when source code changes. - If set to `true` the command won't be - restarted and it is expected to handle - file changes on its own. \n Default - value is `false`" + description: "Whether the command is restarted + when source code changes. If set to + `true` the command won't be restarted. + A *hotReloadCapable* `run` or `debug` + command is expected to handle file changes + on its own and won't be restarted. A + *hotReloadCapable* `build` command is + expected to be executed only once and + won't be executed again. This field + is ignored for commands other than `build`, + `run` or `debug`. \n Default value is + `false`" type: boolean label: description: Optional label that provides diff --git a/crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml b/crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml index a7728fc82..93316f2b0 100644 --- a/crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml +++ b/crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml @@ -274,10 +274,14 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is capable to reload itself - when source code changes. If set to `true` the command - won't be restarted and it is expected to handle file changes - on its own. \n Default value is `false`" + description: "Whether the command is restarted when source + code changes. If set to `true` the command won't be restarted. + A *hotReloadCapable* `run` or `debug` command is expected + to handle file changes on its own and won't be restarted. + A *hotReloadCapable* `build` command is expected to be + executed only once and won't be executed again. This field + is ignored for commands other than `build`, `run` or `debug`. + \n Default value is `false`" type: boolean id: description: Mandatory identifier that allows referencing @@ -1059,11 +1063,16 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is capable to - reload itself when source code changes. If set - to `true` the command won't be restarted and - it is expected to handle file changes on its - own. \n Default value is `false`" + description: "Whether the command is restarted + when source code changes. If set to `true` the + command won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected to handle + file changes on its own and won't be restarted. + A *hotReloadCapable* `build` command is expected + to be executed only once and won't be executed + again. This field is ignored for commands other + than `build`, `run` or `debug`. \n Default value + is `false`" type: boolean id: description: Mandatory identifier that allows @@ -1946,11 +1955,15 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is capable to reload - itself when source code changes. If set to `true` - the command won't be restarted and it is expected - to handle file changes on its own. \n Default value - is `false`" + description: "Whether the command is restarted when + source code changes. If set to `true` the command + won't be restarted. A *hotReloadCapable* `run` or + `debug` command is expected to handle file changes + on its own and won't be restarted. A *hotReloadCapable* + `build` command is expected to be executed only once + and won't be executed again. This field is ignored + for commands other than `build`, `run` or `debug`. + \n Default value is `false`" type: boolean id: description: Mandatory identifier that allows referencing @@ -2751,11 +2764,16 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is capable - to reload itself when source code changes. - If set to `true` the command won't be restarted - and it is expected to handle file changes - on its own. \n Default value is `false`" + description: "Whether the command is restarted + when source code changes. If set to `true` + the command won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected to + handle file changes on its own and won't + be restarted. A *hotReloadCapable* `build` + command is expected to be executed only + once and won't be executed again. This field + is ignored for commands other than `build`, + `run` or `debug`. \n Default value is `false`" type: boolean id: description: Mandatory identifier that allows @@ -4116,10 +4134,14 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is capable to reload itself - when source code changes. If set to `true` the command - won't be restarted and it is expected to handle file changes - on its own. \n Default value is `false`" + description: "Whether the command is restarted when source + code changes. If set to `true` the command won't be restarted. + A *hotReloadCapable* `run` or `debug` command is expected + to handle file changes on its own and won't be restarted. + A *hotReloadCapable* `build` command is expected to be + executed only once and won't be executed again. This field + is ignored for commands other than `build`, `run` or `debug`. + \n Default value is `false`" type: boolean label: description: Optional label that provides a label for this @@ -4910,11 +4932,16 @@ spec: type: string type: object hotReloadCapable: - description: "Whether the command is capable to - reload itself when source code changes. If set - to `true` the command won't be restarted and - it is expected to handle file changes on its - own. \n Default value is `false`" + description: "Whether the command is restarted + when source code changes. If set to `true` the + command won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected to handle + file changes on its own and won't be restarted. + A *hotReloadCapable* `build` command is expected + to be executed only once and won't be executed + again. This field is ignored for commands other + than `build`, `run` or `debug`. \n Default value + is `false`" type: boolean label: description: Optional label that provides a label @@ -5819,11 +5846,15 @@ spec: type: string type: object hotReloadCapable: - description: "Whether the command is capable to reload - itself when source code changes. If set to `true` - the command won't be restarted and it is expected - to handle file changes on its own. \n Default value - is `false`" + description: "Whether the command is restarted when + source code changes. If set to `true` the command + won't be restarted. A *hotReloadCapable* `run` or + `debug` command is expected to handle file changes + on its own and won't be restarted. A *hotReloadCapable* + `build` command is expected to be executed only once + and won't be executed again. This field is ignored + for commands other than `build`, `run` or `debug`. + \n Default value is `false`" type: boolean label: description: Optional label that provides a label for @@ -6600,11 +6631,16 @@ spec: type: string type: object hotReloadCapable: - description: "Whether the command is capable - to reload itself when source code changes. - If set to `true` the command won't be restarted - and it is expected to handle file changes - on its own. \n Default value is `false`" + description: "Whether the command is restarted + when source code changes. If set to `true` + the command won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected to + handle file changes on its own and won't + be restarted. A *hotReloadCapable* `build` + command is expected to be executed only + once and won't be executed again. This field + is ignored for commands other than `build`, + `run` or `debug`. \n Default value is `false`" type: boolean label: description: Optional label that provides diff --git a/crds/workspace.devfile.io_devworkspacetemplates.yaml b/crds/workspace.devfile.io_devworkspacetemplates.yaml index 0c9d823a0..d3bb108b7 100644 --- a/crds/workspace.devfile.io_devworkspacetemplates.yaml +++ b/crds/workspace.devfile.io_devworkspacetemplates.yaml @@ -272,10 +272,14 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is capable to reload itself - when source code changes. If set to `true` the command - won't be restarted and it is expected to handle file changes - on its own. \n Default value is `false`" + description: "Whether the command is restarted when source + code changes. If set to `true` the command won't be restarted. + A *hotReloadCapable* `run` or `debug` command is expected + to handle file changes on its own and won't be restarted. + A *hotReloadCapable* `build` command is expected to be + executed only once and won't be executed again. This field + is ignored for commands other than `build`, `run` or `debug`. + \n Default value is `false`" type: boolean id: description: Mandatory identifier that allows referencing @@ -1057,11 +1061,16 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is capable to - reload itself when source code changes. If set - to `true` the command won't be restarted and - it is expected to handle file changes on its - own. \n Default value is `false`" + description: "Whether the command is restarted + when source code changes. If set to `true` the + command won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected to handle + file changes on its own and won't be restarted. + A *hotReloadCapable* `build` command is expected + to be executed only once and won't be executed + again. This field is ignored for commands other + than `build`, `run` or `debug`. \n Default value + is `false`" type: boolean id: description: Mandatory identifier that allows @@ -1944,11 +1953,15 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is capable to reload - itself when source code changes. If set to `true` - the command won't be restarted and it is expected - to handle file changes on its own. \n Default value - is `false`" + description: "Whether the command is restarted when + source code changes. If set to `true` the command + won't be restarted. A *hotReloadCapable* `run` or + `debug` command is expected to handle file changes + on its own and won't be restarted. A *hotReloadCapable* + `build` command is expected to be executed only once + and won't be executed again. This field is ignored + for commands other than `build`, `run` or `debug`. + \n Default value is `false`" type: boolean id: description: Mandatory identifier that allows referencing @@ -2749,11 +2762,16 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is capable - to reload itself when source code changes. - If set to `true` the command won't be restarted - and it is expected to handle file changes - on its own. \n Default value is `false`" + description: "Whether the command is restarted + when source code changes. If set to `true` + the command won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected to + handle file changes on its own and won't + be restarted. A *hotReloadCapable* `build` + command is expected to be executed only + once and won't be executed again. This field + is ignored for commands other than `build`, + `run` or `debug`. \n Default value is `false`" type: boolean id: description: Mandatory identifier that allows @@ -4114,10 +4132,14 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is capable to reload itself - when source code changes. If set to `true` the command - won't be restarted and it is expected to handle file changes - on its own. \n Default value is `false`" + description: "Whether the command is restarted when source + code changes. If set to `true` the command won't be restarted. + A *hotReloadCapable* `run` or `debug` command is expected + to handle file changes on its own and won't be restarted. + A *hotReloadCapable* `build` command is expected to be + executed only once and won't be executed again. This field + is ignored for commands other than `build`, `run` or `debug`. + \n Default value is `false`" type: boolean label: description: Optional label that provides a label for this @@ -4915,11 +4937,16 @@ spec: type: string type: object hotReloadCapable: - description: "Whether the command is capable to - reload itself when source code changes. If set - to `true` the command won't be restarted and - it is expected to handle file changes on its - own. \n Default value is `false`" + description: "Whether the command is restarted + when source code changes. If set to `true` the + command won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected to handle + file changes on its own and won't be restarted. + A *hotReloadCapable* `build` command is expected + to be executed only once and won't be executed + again. This field is ignored for commands other + than `build`, `run` or `debug`. \n Default value + is `false`" type: boolean label: description: Optional label that provides a label @@ -5824,11 +5851,15 @@ spec: type: string type: object hotReloadCapable: - description: "Whether the command is capable to reload - itself when source code changes. If set to `true` - the command won't be restarted and it is expected - to handle file changes on its own. \n Default value - is `false`" + description: "Whether the command is restarted when + source code changes. If set to `true` the command + won't be restarted. A *hotReloadCapable* `run` or + `debug` command is expected to handle file changes + on its own and won't be restarted. A *hotReloadCapable* + `build` command is expected to be executed only once + and won't be executed again. This field is ignored + for commands other than `build`, `run` or `debug`. + \n Default value is `false`" type: boolean label: description: Optional label that provides a label for @@ -6605,11 +6636,16 @@ spec: type: string type: object hotReloadCapable: - description: "Whether the command is capable - to reload itself when source code changes. - If set to `true` the command won't be restarted - and it is expected to handle file changes - on its own. \n Default value is `false`" + description: "Whether the command is restarted + when source code changes. If set to `true` + the command won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected to + handle file changes on its own and won't + be restarted. A *hotReloadCapable* `build` + command is expected to be executed only + once and won't be executed again. This field + is ignored for commands other than `build`, + `run` or `debug`. \n Default value is `false`" type: boolean label: description: Optional label that provides diff --git a/pkg/apis/workspaces/v1alpha2/zz_generated.parent_overrides.go b/pkg/apis/workspaces/v1alpha2/zz_generated.parent_overrides.go index 6c3b6e784..870fce9be 100644 --- a/pkg/apis/workspaces/v1alpha2/zz_generated.parent_overrides.go +++ b/pkg/apis/workspaces/v1alpha2/zz_generated.parent_overrides.go @@ -336,8 +336,11 @@ type ExecCommandParentOverride struct { Env []EnvVarParentOverride `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional - // Whether the command is capable to reload itself when source code changes. - // If set to `true` the command won't be restarted and it is expected to handle file changes on its own. + // Whether the command is restarted when source code changes. + // If set to `true` the command won't be restarted. + // A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. + // A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. + // This field is ignored for commands other than `build`, `run` or `debug`. // // Default value is `false` HotReloadCapable *bool `json:"hotReloadCapable,omitempty"` @@ -1005,8 +1008,11 @@ type ExecCommandPluginOverrideParentOverride struct { Env []EnvVarPluginOverrideParentOverride `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional - // Whether the command is capable to reload itself when source code changes. - // If set to `true` the command won't be restarted and it is expected to handle file changes on its own. + // Whether the command is restarted when source code changes. + // If set to `true` the command won't be restarted. + // A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. + // A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. + // This field is ignored for commands other than `build`, `run` or `debug`. // // Default value is `false` HotReloadCapable *bool `json:"hotReloadCapable,omitempty"` diff --git a/pkg/apis/workspaces/v1alpha2/zz_generated.plugin_overrides.go b/pkg/apis/workspaces/v1alpha2/zz_generated.plugin_overrides.go index 6a31bb0c4..aee84211b 100644 --- a/pkg/apis/workspaces/v1alpha2/zz_generated.plugin_overrides.go +++ b/pkg/apis/workspaces/v1alpha2/zz_generated.plugin_overrides.go @@ -206,8 +206,11 @@ type ExecCommandPluginOverride struct { Env []EnvVarPluginOverride `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional - // Whether the command is capable to reload itself when source code changes. - // If set to `true` the command won't be restarted and it is expected to handle file changes on its own. + // Whether the command is restarted when source code changes. + // If set to `true` the command won't be restarted. + // A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. + // A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. + // This field is ignored for commands other than `build`, `run` or `debug`. // // Default value is `false` HotReloadCapable *bool `json:"hotReloadCapable,omitempty"` diff --git a/schemas/latest/dev-workspace-template-spec.json b/schemas/latest/dev-workspace-template-spec.json index 697c517df..95e35d136 100644 --- a/schemas/latest/dev-workspace-template-spec.json +++ b/schemas/latest/dev-workspace-template-spec.json @@ -245,7 +245,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -1029,7 +1029,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -1879,7 +1879,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -2620,7 +2620,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean" }, "label": { diff --git a/schemas/latest/dev-workspace-template.json b/schemas/latest/dev-workspace-template.json index 9745a3267..2bc275471 100644 --- a/schemas/latest/dev-workspace-template.json +++ b/schemas/latest/dev-workspace-template.json @@ -411,7 +411,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -1195,7 +1195,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -2045,7 +2045,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -2786,7 +2786,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean" }, "label": { diff --git a/schemas/latest/dev-workspace.json b/schemas/latest/dev-workspace.json index 5747a57ca..3977b8cdd 100644 --- a/schemas/latest/dev-workspace.json +++ b/schemas/latest/dev-workspace.json @@ -368,7 +368,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -1231,7 +1231,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -2015,7 +2015,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -2865,7 +2865,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -3606,7 +3606,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean" }, "label": { diff --git a/schemas/latest/devfile.json b/schemas/latest/devfile.json index 5e2f72e43..fc34143af 100644 --- a/schemas/latest/devfile.json +++ b/schemas/latest/devfile.json @@ -194,7 +194,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -1086,7 +1086,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean" }, "label": { diff --git a/schemas/latest/ide-targeted/dev-workspace-template-spec.json b/schemas/latest/ide-targeted/dev-workspace-template-spec.json index e543d7a9d..05222e09a 100644 --- a/schemas/latest/ide-targeted/dev-workspace-template-spec.json +++ b/schemas/latest/ide-targeted/dev-workspace-template-spec.json @@ -273,9 +273,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -1141,9 +1141,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -2099,9 +2099,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -2928,9 +2928,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", diff --git a/schemas/latest/ide-targeted/dev-workspace-template.json b/schemas/latest/ide-targeted/dev-workspace-template.json index 8a2938986..db727b183 100644 --- a/schemas/latest/ide-targeted/dev-workspace-template.json +++ b/schemas/latest/ide-targeted/dev-workspace-template.json @@ -472,9 +472,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -1340,9 +1340,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -2298,9 +2298,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -3127,9 +3127,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", diff --git a/schemas/latest/ide-targeted/dev-workspace.json b/schemas/latest/ide-targeted/dev-workspace.json index e2c555335..85c193b76 100644 --- a/schemas/latest/ide-targeted/dev-workspace.json +++ b/schemas/latest/ide-targeted/dev-workspace.json @@ -422,9 +422,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -1391,9 +1391,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -2259,9 +2259,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -3217,9 +3217,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -4046,9 +4046,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", diff --git a/schemas/latest/ide-targeted/devfile.json b/schemas/latest/ide-targeted/devfile.json index 9158d7dbb..830414f88 100644 --- a/schemas/latest/ide-targeted/devfile.json +++ b/schemas/latest/ide-targeted/devfile.json @@ -215,9 +215,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -1214,9 +1214,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", diff --git a/schemas/latest/ide-targeted/parent-overrides.json b/schemas/latest/ide-targeted/parent-overrides.json index df9d32900..a1fa5ea15 100644 --- a/schemas/latest/ide-targeted/parent-overrides.json +++ b/schemas/latest/ide-targeted/parent-overrides.json @@ -195,9 +195,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -1024,9 +1024,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", diff --git a/schemas/latest/ide-targeted/plugin-overrides.json b/schemas/latest/ide-targeted/plugin-overrides.json index 5d942acd0..5df52e451 100644 --- a/schemas/latest/ide-targeted/plugin-overrides.json +++ b/schemas/latest/ide-targeted/plugin-overrides.json @@ -189,9 +189,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", diff --git a/schemas/latest/parent-overrides.json b/schemas/latest/parent-overrides.json index f9763f955..9c5453ba8 100644 --- a/schemas/latest/parent-overrides.json +++ b/schemas/latest/parent-overrides.json @@ -173,7 +173,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -914,7 +914,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean" }, "label": { diff --git a/schemas/latest/plugin-overrides.json b/schemas/latest/plugin-overrides.json index c905f36d7..e28b19c05 100644 --- a/schemas/latest/plugin-overrides.json +++ b/schemas/latest/plugin-overrides.json @@ -168,7 +168,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", "type": "boolean" }, "label": { From 5429a7b4d607789ee51d12dc3a0fdcfc054458aa Mon Sep 17 00:00:00 2001 From: Philippe Martin Date: Wed, 5 Apr 2023 08:16:02 +0200 Subject: [PATCH 3/4] Specify isDefault Signed-off-by: Philippe Martin --- ...pace.devfile.io_devworkspaces.v1beta1.yaml | 28 +++++++++++-------- crds/workspace.devfile.io_devworkspaces.yaml | 28 +++++++++++-------- ...file.io_devworkspacetemplates.v1beta1.yaml | 22 +++++++++------ ...pace.devfile.io_devworkspacetemplates.yaml | 22 +++++++++------ pkg/apis/workspaces/v1alpha2/commands.go | 2 +- .../v1alpha2/zz_generated.parent_overrides.go | 4 +-- .../v1alpha2/zz_generated.plugin_overrides.go | 2 +- .../latest/dev-workspace-template-spec.json | 8 +++--- schemas/latest/dev-workspace-template.json | 8 +++--- schemas/latest/dev-workspace.json | 10 +++---- schemas/latest/devfile.json | 4 +-- .../dev-workspace-template-spec.json | 16 +++++------ .../ide-targeted/dev-workspace-template.json | 16 +++++------ .../latest/ide-targeted/dev-workspace.json | 20 ++++++------- schemas/latest/ide-targeted/devfile.json | 8 +++--- .../latest/ide-targeted/parent-overrides.json | 8 +++--- .../latest/ide-targeted/plugin-overrides.json | 4 +-- schemas/latest/parent-overrides.json | 4 +-- schemas/latest/plugin-overrides.json | 2 +- 19 files changed, 116 insertions(+), 100 deletions(-) diff --git a/crds/workspace.devfile.io_devworkspaces.v1beta1.yaml b/crds/workspace.devfile.io_devworkspaces.v1beta1.yaml index 3ef1c43f7..b0dcbbf63 100644 --- a/crds/workspace.devfile.io_devworkspaces.v1beta1.yaml +++ b/crds/workspace.devfile.io_devworkspaces.v1beta1.yaml @@ -4329,8 +4329,9 @@ spec: on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is - ignored for commands other than `build`, `run` or - `debug`. \n Default value is `false`" + taken into account only for commands `build`, `run` + and `debug` with `isDefault` set to `true`. \n Default + value is `false`" type: boolean label: description: Optional label that provides a label @@ -5229,9 +5230,10 @@ spec: `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once - and won't be executed again. This field is ignored - for commands other than `build`, `run` or `debug`. - \n Default value is `false`" + and won't be executed again. This field is taken into + account only for commands `build`, `run` and `debug` + with `isDefault` set to `true`. \n Default value is + `false`" type: boolean label: description: Optional label that provides a label for @@ -6051,8 +6053,9 @@ spec: be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field - is ignored for commands other than `build`, - `run` or `debug`. \n Default value is `false`" + is taken into account only for commands + `build`, `run` and `debug` with `isDefault` + set to `true`. \n Default value is `false`" type: boolean label: description: Optional label that provides @@ -7006,8 +7009,9 @@ spec: changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is - ignored for commands other than `build`, `run` - or `debug`. \n Default value is `false`" + taken into account only for commands `build`, + `run` and `debug` with `isDefault` set to `true`. + \n Default value is `false`" type: boolean label: description: Optional label that provides a label @@ -7814,9 +7818,9 @@ spec: *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field - is ignored for commands other than `build`, - `run` or `debug`. \n Default value is - `false`" + is taken into account only for commands + `build`, `run` and `debug` with `isDefault` + set to `true`. \n Default value is `false`" type: boolean label: description: Optional label that provides diff --git a/crds/workspace.devfile.io_devworkspaces.yaml b/crds/workspace.devfile.io_devworkspaces.yaml index 5ff9cd528..09510eedb 100644 --- a/crds/workspace.devfile.io_devworkspaces.yaml +++ b/crds/workspace.devfile.io_devworkspaces.yaml @@ -4327,8 +4327,9 @@ spec: on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is - ignored for commands other than `build`, `run` or - `debug`. \n Default value is `false`" + taken into account only for commands `build`, `run` + and `debug` with `isDefault` set to `true`. \n Default + value is `false`" type: boolean label: description: Optional label that provides a label @@ -5227,9 +5228,10 @@ spec: `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once - and won't be executed again. This field is ignored - for commands other than `build`, `run` or `debug`. - \n Default value is `false`" + and won't be executed again. This field is taken into + account only for commands `build`, `run` and `debug` + with `isDefault` set to `true`. \n Default value is + `false`" type: boolean label: description: Optional label that provides a label for @@ -6056,8 +6058,9 @@ spec: be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field - is ignored for commands other than `build`, - `run` or `debug`. \n Default value is `false`" + is taken into account only for commands + `build`, `run` and `debug` with `isDefault` + set to `true`. \n Default value is `false`" type: boolean label: description: Optional label that provides @@ -7011,8 +7014,9 @@ spec: changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is - ignored for commands other than `build`, `run` - or `debug`. \n Default value is `false`" + taken into account only for commands `build`, + `run` and `debug` with `isDefault` set to `true`. + \n Default value is `false`" type: boolean label: description: Optional label that provides a label @@ -7819,9 +7823,9 @@ spec: *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field - is ignored for commands other than `build`, - `run` or `debug`. \n Default value is - `false`" + is taken into account only for commands + `build`, `run` and `debug` with `isDefault` + set to `true`. \n Default value is `false`" type: boolean label: description: Optional label that provides diff --git a/crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml b/crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml index 93316f2b0..beb2f8a05 100644 --- a/crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml +++ b/crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml @@ -4140,8 +4140,9 @@ spec: to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field - is ignored for commands other than `build`, `run` or `debug`. - \n Default value is `false`" + is taken into account only for commands `build`, `run` + and `debug` with `isDefault` set to `true`. \n Default + value is `false`" type: boolean label: description: Optional label that provides a label for this @@ -4939,8 +4940,9 @@ spec: file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed - again. This field is ignored for commands other - than `build`, `run` or `debug`. \n Default value + again. This field is taken into account only + for commands `build`, `run` and `debug` with + `isDefault` set to `true`. \n Default value is `false`" type: boolean label: @@ -5852,9 +5854,10 @@ spec: `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once - and won't be executed again. This field is ignored - for commands other than `build`, `run` or `debug`. - \n Default value is `false`" + and won't be executed again. This field is taken into + account only for commands `build`, `run` and `debug` + with `isDefault` set to `true`. \n Default value is + `false`" type: boolean label: description: Optional label that provides a label for @@ -6639,8 +6642,9 @@ spec: be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field - is ignored for commands other than `build`, - `run` or `debug`. \n Default value is `false`" + is taken into account only for commands + `build`, `run` and `debug` with `isDefault` + set to `true`. \n Default value is `false`" type: boolean label: description: Optional label that provides diff --git a/crds/workspace.devfile.io_devworkspacetemplates.yaml b/crds/workspace.devfile.io_devworkspacetemplates.yaml index d3bb108b7..230aed98c 100644 --- a/crds/workspace.devfile.io_devworkspacetemplates.yaml +++ b/crds/workspace.devfile.io_devworkspacetemplates.yaml @@ -4138,8 +4138,9 @@ spec: to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field - is ignored for commands other than `build`, `run` or `debug`. - \n Default value is `false`" + is taken into account only for commands `build`, `run` + and `debug` with `isDefault` set to `true`. \n Default + value is `false`" type: boolean label: description: Optional label that provides a label for this @@ -4944,8 +4945,9 @@ spec: file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed - again. This field is ignored for commands other - than `build`, `run` or `debug`. \n Default value + again. This field is taken into account only + for commands `build`, `run` and `debug` with + `isDefault` set to `true`. \n Default value is `false`" type: boolean label: @@ -5857,9 +5859,10 @@ spec: `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once - and won't be executed again. This field is ignored - for commands other than `build`, `run` or `debug`. - \n Default value is `false`" + and won't be executed again. This field is taken into + account only for commands `build`, `run` and `debug` + with `isDefault` set to `true`. \n Default value is + `false`" type: boolean label: description: Optional label that provides a label for @@ -6644,8 +6647,9 @@ spec: be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field - is ignored for commands other than `build`, - `run` or `debug`. \n Default value is `false`" + is taken into account only for commands + `build`, `run` and `debug` with `isDefault` + set to `true`. \n Default value is `false`" type: boolean label: description: Optional label that provides diff --git a/pkg/apis/workspaces/v1alpha2/commands.go b/pkg/apis/workspaces/v1alpha2/commands.go index ab45c0d55..5a6824472 100644 --- a/pkg/apis/workspaces/v1alpha2/commands.go +++ b/pkg/apis/workspaces/v1alpha2/commands.go @@ -148,7 +148,7 @@ type ExecCommand struct { // If set to `true` the command won't be restarted. // A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. // A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. - // This field is ignored for commands other than `build`, `run` or `debug`. + // This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`. // // Default value is `false` // +devfile:default:value=false diff --git a/pkg/apis/workspaces/v1alpha2/zz_generated.parent_overrides.go b/pkg/apis/workspaces/v1alpha2/zz_generated.parent_overrides.go index 870fce9be..72132775a 100644 --- a/pkg/apis/workspaces/v1alpha2/zz_generated.parent_overrides.go +++ b/pkg/apis/workspaces/v1alpha2/zz_generated.parent_overrides.go @@ -340,7 +340,7 @@ type ExecCommandParentOverride struct { // If set to `true` the command won't be restarted. // A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. // A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. - // This field is ignored for commands other than `build`, `run` or `debug`. + // This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`. // // Default value is `false` HotReloadCapable *bool `json:"hotReloadCapable,omitempty"` @@ -1012,7 +1012,7 @@ type ExecCommandPluginOverrideParentOverride struct { // If set to `true` the command won't be restarted. // A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. // A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. - // This field is ignored for commands other than `build`, `run` or `debug`. + // This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`. // // Default value is `false` HotReloadCapable *bool `json:"hotReloadCapable,omitempty"` diff --git a/pkg/apis/workspaces/v1alpha2/zz_generated.plugin_overrides.go b/pkg/apis/workspaces/v1alpha2/zz_generated.plugin_overrides.go index aee84211b..20b24cda3 100644 --- a/pkg/apis/workspaces/v1alpha2/zz_generated.plugin_overrides.go +++ b/pkg/apis/workspaces/v1alpha2/zz_generated.plugin_overrides.go @@ -210,7 +210,7 @@ type ExecCommandPluginOverride struct { // If set to `true` the command won't be restarted. // A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. // A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. - // This field is ignored for commands other than `build`, `run` or `debug`. + // This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`. // // Default value is `false` HotReloadCapable *bool `json:"hotReloadCapable,omitempty"` diff --git a/schemas/latest/dev-workspace-template-spec.json b/schemas/latest/dev-workspace-template-spec.json index 95e35d136..ef2874118 100644 --- a/schemas/latest/dev-workspace-template-spec.json +++ b/schemas/latest/dev-workspace-template-spec.json @@ -245,7 +245,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -1029,7 +1029,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -1879,7 +1879,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -2620,7 +2620,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { diff --git a/schemas/latest/dev-workspace-template.json b/schemas/latest/dev-workspace-template.json index 2bc275471..5f0b6dbf9 100644 --- a/schemas/latest/dev-workspace-template.json +++ b/schemas/latest/dev-workspace-template.json @@ -411,7 +411,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -1195,7 +1195,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -2045,7 +2045,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -2786,7 +2786,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { diff --git a/schemas/latest/dev-workspace.json b/schemas/latest/dev-workspace.json index 3977b8cdd..0682b42ab 100644 --- a/schemas/latest/dev-workspace.json +++ b/schemas/latest/dev-workspace.json @@ -368,7 +368,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -1231,7 +1231,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -2015,7 +2015,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -2865,7 +2865,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -3606,7 +3606,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { diff --git a/schemas/latest/devfile.json b/schemas/latest/devfile.json index fc34143af..00dbc750f 100644 --- a/schemas/latest/devfile.json +++ b/schemas/latest/devfile.json @@ -194,7 +194,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -1086,7 +1086,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { diff --git a/schemas/latest/ide-targeted/dev-workspace-template-spec.json b/schemas/latest/ide-targeted/dev-workspace-template-spec.json index 05222e09a..1d33ea035 100644 --- a/schemas/latest/ide-targeted/dev-workspace-template-spec.json +++ b/schemas/latest/ide-targeted/dev-workspace-template-spec.json @@ -273,9 +273,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -1141,9 +1141,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -2099,9 +2099,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -2928,9 +2928,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", diff --git a/schemas/latest/ide-targeted/dev-workspace-template.json b/schemas/latest/ide-targeted/dev-workspace-template.json index db727b183..f8fd7848e 100644 --- a/schemas/latest/ide-targeted/dev-workspace-template.json +++ b/schemas/latest/ide-targeted/dev-workspace-template.json @@ -472,9 +472,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -1340,9 +1340,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -2298,9 +2298,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -3127,9 +3127,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", diff --git a/schemas/latest/ide-targeted/dev-workspace.json b/schemas/latest/ide-targeted/dev-workspace.json index 85c193b76..4d3ca459b 100644 --- a/schemas/latest/ide-targeted/dev-workspace.json +++ b/schemas/latest/ide-targeted/dev-workspace.json @@ -422,9 +422,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -1391,9 +1391,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -2259,9 +2259,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -3217,9 +3217,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -4046,9 +4046,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", diff --git a/schemas/latest/ide-targeted/devfile.json b/schemas/latest/ide-targeted/devfile.json index 830414f88..c85939712 100644 --- a/schemas/latest/ide-targeted/devfile.json +++ b/schemas/latest/ide-targeted/devfile.json @@ -215,9 +215,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -1214,9 +1214,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", diff --git a/schemas/latest/ide-targeted/parent-overrides.json b/schemas/latest/ide-targeted/parent-overrides.json index a1fa5ea15..5715622d7 100644 --- a/schemas/latest/ide-targeted/parent-overrides.json +++ b/schemas/latest/ide-targeted/parent-overrides.json @@ -195,9 +195,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -1024,9 +1024,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", diff --git a/schemas/latest/ide-targeted/plugin-overrides.json b/schemas/latest/ide-targeted/plugin-overrides.json index 5df52e451..29a0ebae8 100644 --- a/schemas/latest/ide-targeted/plugin-overrides.json +++ b/schemas/latest/ide-targeted/plugin-overrides.json @@ -189,9 +189,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`" + "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", diff --git a/schemas/latest/parent-overrides.json b/schemas/latest/parent-overrides.json index 9c5453ba8..2d120a7fd 100644 --- a/schemas/latest/parent-overrides.json +++ b/schemas/latest/parent-overrides.json @@ -173,7 +173,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -914,7 +914,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { diff --git a/schemas/latest/plugin-overrides.json b/schemas/latest/plugin-overrides.json index e28b19c05..c5ee19860 100644 --- a/schemas/latest/plugin-overrides.json +++ b/schemas/latest/plugin-overrides.json @@ -168,7 +168,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is ignored for commands other than `build`, `run` or `debug`.\n\nDefault value is `false`", + "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { From 161d4cf9f34276f870d0317d5f5331f7134dfde8 Mon Sep 17 00:00:00 2001 From: Philippe Martin Date: Thu, 6 Apr 2023 10:56:27 +0200 Subject: [PATCH 4/4] Clarify description Signed-off-by: Philippe Martin --- ...pace.devfile.io_devworkspaces.v1beta1.yaml | 171 +++++++++--------- crds/workspace.devfile.io_devworkspaces.yaml | 171 +++++++++--------- ...file.io_devworkspacetemplates.v1beta1.yaml | 150 +++++++-------- ...pace.devfile.io_devworkspacetemplates.yaml | 150 +++++++-------- pkg/apis/workspaces/v1alpha1/commands.go | 4 +- pkg/apis/workspaces/v1alpha2/commands.go | 2 +- .../v1alpha2/zz_generated.parent_overrides.go | 4 +- .../v1alpha2/zz_generated.plugin_overrides.go | 2 +- .../latest/dev-workspace-template-spec.json | 8 +- schemas/latest/dev-workspace-template.json | 8 +- schemas/latest/dev-workspace.json | 10 +- schemas/latest/devfile.json | 4 +- .../dev-workspace-template-spec.json | 16 +- .../ide-targeted/dev-workspace-template.json | 16 +- .../latest/ide-targeted/dev-workspace.json | 20 +- schemas/latest/ide-targeted/devfile.json | 8 +- .../latest/ide-targeted/parent-overrides.json | 8 +- .../latest/ide-targeted/plugin-overrides.json | 4 +- schemas/latest/parent-overrides.json | 4 +- schemas/latest/plugin-overrides.json | 2 +- 20 files changed, 394 insertions(+), 368 deletions(-) diff --git a/crds/workspace.devfile.io_devworkspaces.v1beta1.yaml b/crds/workspace.devfile.io_devworkspaces.v1beta1.yaml index b0dcbbf63..9fbbc901e 100644 --- a/crds/workspace.devfile.io_devworkspaces.v1beta1.yaml +++ b/crds/workspace.devfile.io_devworkspaces.v1beta1.yaml @@ -303,15 +303,16 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is restarted when - source code changes. If set to `true` the command - won't be restarted. A *hotReloadCapable* `run` or - `debug` command is expected to handle file changes - on its own and won't be restarted. A *hotReloadCapable* + description: "Specify whether the command is restarted + or not when the source code changes. If set to `true` + the command won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected to handle file + changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once - and won't be executed again. This field is ignored - for commands other than `build`, `run` or `debug`. - \n Default value is `false`" + and won't be executed again. This field is taken into + account only for commands `build`, `run` and `debug` + with `isDefault` set to `true`. \n Default value is + `false`" type: boolean id: description: Mandatory identifier that allows referencing @@ -1112,16 +1113,18 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is restarted - when source code changes. If set to `true` - the command won't be restarted. A *hotReloadCapable* - `run` or `debug` command is expected to - handle file changes on its own and won't - be restarted. A *hotReloadCapable* `build` - command is expected to be executed only - once and won't be executed again. This field - is ignored for commands other than `build`, - `run` or `debug`. \n Default value is `false`" + description: "Specify whether the command + is restarted or not when the source code + changes. If set to `true` the command won't + be restarted. A *hotReloadCapable* `run` + or `debug` command is expected to handle + file changes on its own and won't be restarted. + A *hotReloadCapable* `build` command is + expected to be executed only once and won't + be executed again. This field is taken into + account only for commands `build`, `run` + and `debug` with `isDefault` set to `true`. + \n Default value is `false`" type: boolean id: description: Mandatory identifier that allows @@ -2037,15 +2040,16 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is restarted when - source code changes. If set to `true` the command - won't be restarted. A *hotReloadCapable* `run` - or `debug` command is expected to handle file - changes on its own and won't be restarted. A *hotReloadCapable* - `build` command is expected to be executed only - once and won't be executed again. This field is - ignored for commands other than `build`, `run` - or `debug`. \n Default value is `false`" + description: "Specify whether the command is restarted + or not when the source code changes. If set to + `true` the command won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected to handle + file changes on its own and won't be restarted. + A *hotReloadCapable* `build` command is expected + to be executed only once and won't be executed + again. This field is taken into account only for + commands `build`, `run` and `debug` with `isDefault` + set to `true`. \n Default value is `false`" type: boolean id: description: Mandatory identifier that allows referencing @@ -2868,18 +2872,19 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is restarted - when source code changes. If set to - `true` the command won't be restarted. - A *hotReloadCapable* `run` or `debug` - command is expected to handle file changes - on its own and won't be restarted. A - *hotReloadCapable* `build` command is - expected to be executed only once and - won't be executed again. This field - is ignored for commands other than `build`, - `run` or `debug`. \n Default value is - `false`" + description: "Specify whether the command + is restarted or not when the source + code changes. If set to `true` the command + won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected + to handle file changes on its own and + won't be restarted. A *hotReloadCapable* + `build` command is expected to be executed + only once and won't be executed again. + This field is taken into account only + for commands `build`, `run` and `debug` + with `isDefault` set to `true`. \n Default + value is `false`" type: boolean id: description: Mandatory identifier that @@ -4322,11 +4327,11 @@ spec: type: string type: object hotReloadCapable: - description: "Whether the command is restarted when - source code changes. If set to `true` the command - won't be restarted. A *hotReloadCapable* `run` or - `debug` command is expected to handle file changes - on its own and won't be restarted. A *hotReloadCapable* + description: "Specify whether the command is restarted + or not when the source code changes. If set to `true` + the command won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected to handle file + changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` @@ -5224,11 +5229,11 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is restarted when - source code changes. If set to `true` the command - won't be restarted. A *hotReloadCapable* `run` or - `debug` command is expected to handle file changes - on its own and won't be restarted. A *hotReloadCapable* + description: "Specify whether the command is restarted + or not when the source code changes. If set to `true` + the command won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected to handle file + changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` @@ -6045,17 +6050,18 @@ spec: type: string type: object hotReloadCapable: - description: "Whether the command is restarted - when source code changes. If set to `true` - the command won't be restarted. A *hotReloadCapable* - `run` or `debug` command is expected to - handle file changes on its own and won't - be restarted. A *hotReloadCapable* `build` - command is expected to be executed only - once and won't be executed again. This field - is taken into account only for commands - `build`, `run` and `debug` with `isDefault` - set to `true`. \n Default value is `false`" + description: "Specify whether the command + is restarted or not when the source code + changes. If set to `true` the command won't + be restarted. A *hotReloadCapable* `run` + or `debug` command is expected to handle + file changes on its own and won't be restarted. + A *hotReloadCapable* `build` command is + expected to be executed only once and won't + be executed again. This field is taken into + account only for commands `build`, `run` + and `debug` with `isDefault` set to `true`. + \n Default value is `false`" type: boolean label: description: Optional label that provides @@ -7002,16 +7008,16 @@ spec: type: string type: object hotReloadCapable: - description: "Whether the command is restarted when - source code changes. If set to `true` the command - won't be restarted. A *hotReloadCapable* `run` - or `debug` command is expected to handle file - changes on its own and won't be restarted. A *hotReloadCapable* - `build` command is expected to be executed only - once and won't be executed again. This field is - taken into account only for commands `build`, - `run` and `debug` with `isDefault` set to `true`. - \n Default value is `false`" + description: "Specify whether the command is restarted + or not when the source code changes. If set to + `true` the command won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected to handle + file changes on its own and won't be restarted. + A *hotReloadCapable* `build` command is expected + to be executed only once and won't be executed + again. This field is taken into account only for + commands `build`, `run` and `debug` with `isDefault` + set to `true`. \n Default value is `false`" type: boolean label: description: Optional label that provides a label @@ -7809,18 +7815,19 @@ spec: type: string type: object hotReloadCapable: - description: "Whether the command is restarted - when source code changes. If set to - `true` the command won't be restarted. - A *hotReloadCapable* `run` or `debug` - command is expected to handle file changes - on its own and won't be restarted. A - *hotReloadCapable* `build` command is - expected to be executed only once and - won't be executed again. This field - is taken into account only for commands - `build`, `run` and `debug` with `isDefault` - set to `true`. \n Default value is `false`" + description: "Specify whether the command + is restarted or not when the source + code changes. If set to `true` the command + won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected + to handle file changes on its own and + won't be restarted. A *hotReloadCapable* + `build` command is expected to be executed + only once and won't be executed again. + This field is taken into account only + for commands `build`, `run` and `debug` + with `isDefault` set to `true`. \n Default + value is `false`" type: boolean label: description: Optional label that provides diff --git a/crds/workspace.devfile.io_devworkspaces.yaml b/crds/workspace.devfile.io_devworkspaces.yaml index 09510eedb..936d69269 100644 --- a/crds/workspace.devfile.io_devworkspaces.yaml +++ b/crds/workspace.devfile.io_devworkspaces.yaml @@ -299,15 +299,16 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is restarted when - source code changes. If set to `true` the command - won't be restarted. A *hotReloadCapable* `run` or - `debug` command is expected to handle file changes - on its own and won't be restarted. A *hotReloadCapable* + description: "Specify whether the command is restarted + or not when the source code changes. If set to `true` + the command won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected to handle file + changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once - and won't be executed again. This field is ignored - for commands other than `build`, `run` or `debug`. - \n Default value is `false`" + and won't be executed again. This field is taken into + account only for commands `build`, `run` and `debug` + with `isDefault` set to `true`. \n Default value is + `false`" type: boolean id: description: Mandatory identifier that allows referencing @@ -1108,16 +1109,18 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is restarted - when source code changes. If set to `true` - the command won't be restarted. A *hotReloadCapable* - `run` or `debug` command is expected to - handle file changes on its own and won't - be restarted. A *hotReloadCapable* `build` - command is expected to be executed only - once and won't be executed again. This field - is ignored for commands other than `build`, - `run` or `debug`. \n Default value is `false`" + description: "Specify whether the command + is restarted or not when the source code + changes. If set to `true` the command won't + be restarted. A *hotReloadCapable* `run` + or `debug` command is expected to handle + file changes on its own and won't be restarted. + A *hotReloadCapable* `build` command is + expected to be executed only once and won't + be executed again. This field is taken into + account only for commands `build`, `run` + and `debug` with `isDefault` set to `true`. + \n Default value is `false`" type: boolean id: description: Mandatory identifier that allows @@ -2033,15 +2036,16 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is restarted when - source code changes. If set to `true` the command - won't be restarted. A *hotReloadCapable* `run` - or `debug` command is expected to handle file - changes on its own and won't be restarted. A *hotReloadCapable* - `build` command is expected to be executed only - once and won't be executed again. This field is - ignored for commands other than `build`, `run` - or `debug`. \n Default value is `false`" + description: "Specify whether the command is restarted + or not when the source code changes. If set to + `true` the command won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected to handle + file changes on its own and won't be restarted. + A *hotReloadCapable* `build` command is expected + to be executed only once and won't be executed + again. This field is taken into account only for + commands `build`, `run` and `debug` with `isDefault` + set to `true`. \n Default value is `false`" type: boolean id: description: Mandatory identifier that allows referencing @@ -2864,18 +2868,19 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is restarted - when source code changes. If set to - `true` the command won't be restarted. - A *hotReloadCapable* `run` or `debug` - command is expected to handle file changes - on its own and won't be restarted. A - *hotReloadCapable* `build` command is - expected to be executed only once and - won't be executed again. This field - is ignored for commands other than `build`, - `run` or `debug`. \n Default value is - `false`" + description: "Specify whether the command + is restarted or not when the source + code changes. If set to `true` the command + won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected + to handle file changes on its own and + won't be restarted. A *hotReloadCapable* + `build` command is expected to be executed + only once and won't be executed again. + This field is taken into account only + for commands `build`, `run` and `debug` + with `isDefault` set to `true`. \n Default + value is `false`" type: boolean id: description: Mandatory identifier that @@ -4320,11 +4325,11 @@ spec: type: string type: object hotReloadCapable: - description: "Whether the command is restarted when - source code changes. If set to `true` the command - won't be restarted. A *hotReloadCapable* `run` or - `debug` command is expected to handle file changes - on its own and won't be restarted. A *hotReloadCapable* + description: "Specify whether the command is restarted + or not when the source code changes. If set to `true` + the command won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected to handle file + changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` @@ -5222,11 +5227,11 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is restarted when - source code changes. If set to `true` the command - won't be restarted. A *hotReloadCapable* `run` or - `debug` command is expected to handle file changes - on its own and won't be restarted. A *hotReloadCapable* + description: "Specify whether the command is restarted + or not when the source code changes. If set to `true` + the command won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected to handle file + changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` @@ -6050,17 +6055,18 @@ spec: type: string type: object hotReloadCapable: - description: "Whether the command is restarted - when source code changes. If set to `true` - the command won't be restarted. A *hotReloadCapable* - `run` or `debug` command is expected to - handle file changes on its own and won't - be restarted. A *hotReloadCapable* `build` - command is expected to be executed only - once and won't be executed again. This field - is taken into account only for commands - `build`, `run` and `debug` with `isDefault` - set to `true`. \n Default value is `false`" + description: "Specify whether the command + is restarted or not when the source code + changes. If set to `true` the command won't + be restarted. A *hotReloadCapable* `run` + or `debug` command is expected to handle + file changes on its own and won't be restarted. + A *hotReloadCapable* `build` command is + expected to be executed only once and won't + be executed again. This field is taken into + account only for commands `build`, `run` + and `debug` with `isDefault` set to `true`. + \n Default value is `false`" type: boolean label: description: Optional label that provides @@ -7007,16 +7013,16 @@ spec: type: string type: object hotReloadCapable: - description: "Whether the command is restarted when - source code changes. If set to `true` the command - won't be restarted. A *hotReloadCapable* `run` - or `debug` command is expected to handle file - changes on its own and won't be restarted. A *hotReloadCapable* - `build` command is expected to be executed only - once and won't be executed again. This field is - taken into account only for commands `build`, - `run` and `debug` with `isDefault` set to `true`. - \n Default value is `false`" + description: "Specify whether the command is restarted + or not when the source code changes. If set to + `true` the command won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected to handle + file changes on its own and won't be restarted. + A *hotReloadCapable* `build` command is expected + to be executed only once and won't be executed + again. This field is taken into account only for + commands `build`, `run` and `debug` with `isDefault` + set to `true`. \n Default value is `false`" type: boolean label: description: Optional label that provides a label @@ -7814,18 +7820,19 @@ spec: type: string type: object hotReloadCapable: - description: "Whether the command is restarted - when source code changes. If set to - `true` the command won't be restarted. - A *hotReloadCapable* `run` or `debug` - command is expected to handle file changes - on its own and won't be restarted. A - *hotReloadCapable* `build` command is - expected to be executed only once and - won't be executed again. This field - is taken into account only for commands - `build`, `run` and `debug` with `isDefault` - set to `true`. \n Default value is `false`" + description: "Specify whether the command + is restarted or not when the source + code changes. If set to `true` the command + won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected + to handle file changes on its own and + won't be restarted. A *hotReloadCapable* + `build` command is expected to be executed + only once and won't be executed again. + This field is taken into account only + for commands `build`, `run` and `debug` + with `isDefault` set to `true`. \n Default + value is `false`" type: boolean label: description: Optional label that provides diff --git a/crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml b/crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml index beb2f8a05..5d6d3e914 100644 --- a/crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml +++ b/crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml @@ -274,14 +274,15 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is restarted when source - code changes. If set to `true` the command won't be restarted. - A *hotReloadCapable* `run` or `debug` command is expected - to handle file changes on its own and won't be restarted. - A *hotReloadCapable* `build` command is expected to be - executed only once and won't be executed again. This field - is ignored for commands other than `build`, `run` or `debug`. - \n Default value is `false`" + description: "Specify whether the command is restarted or + not when the source code changes. If set to `true` the + command won't be restarted. A *hotReloadCapable* `run` + or `debug` command is expected to handle file changes + on its own and won't be restarted. A *hotReloadCapable* + `build` command is expected to be executed only once and + won't be executed again. This field is taken into account + only for commands `build`, `run` and `debug` with `isDefault` + set to `true`. \n Default value is `false`" type: boolean id: description: Mandatory identifier that allows referencing @@ -1063,16 +1064,17 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is restarted - when source code changes. If set to `true` the - command won't be restarted. A *hotReloadCapable* - `run` or `debug` command is expected to handle - file changes on its own and won't be restarted. - A *hotReloadCapable* `build` command is expected - to be executed only once and won't be executed - again. This field is ignored for commands other - than `build`, `run` or `debug`. \n Default value - is `false`" + description: "Specify whether the command is restarted + or not when the source code changes. If set + to `true` the command won't be restarted. A + *hotReloadCapable* `run` or `debug` command + is expected to handle file changes on its own + and won't be restarted. A *hotReloadCapable* + `build` command is expected to be executed only + once and won't be executed again. This field + is taken into account only for commands `build`, + `run` and `debug` with `isDefault` set to `true`. + \n Default value is `false`" type: boolean id: description: Mandatory identifier that allows @@ -1955,15 +1957,16 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is restarted when - source code changes. If set to `true` the command - won't be restarted. A *hotReloadCapable* `run` or - `debug` command is expected to handle file changes - on its own and won't be restarted. A *hotReloadCapable* + description: "Specify whether the command is restarted + or not when the source code changes. If set to `true` + the command won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected to handle file + changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once - and won't be executed again. This field is ignored - for commands other than `build`, `run` or `debug`. - \n Default value is `false`" + and won't be executed again. This field is taken into + account only for commands `build`, `run` and `debug` + with `isDefault` set to `true`. \n Default value is + `false`" type: boolean id: description: Mandatory identifier that allows referencing @@ -2764,16 +2767,18 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is restarted - when source code changes. If set to `true` - the command won't be restarted. A *hotReloadCapable* - `run` or `debug` command is expected to - handle file changes on its own and won't - be restarted. A *hotReloadCapable* `build` - command is expected to be executed only - once and won't be executed again. This field - is ignored for commands other than `build`, - `run` or `debug`. \n Default value is `false`" + description: "Specify whether the command + is restarted or not when the source code + changes. If set to `true` the command won't + be restarted. A *hotReloadCapable* `run` + or `debug` command is expected to handle + file changes on its own and won't be restarted. + A *hotReloadCapable* `build` command is + expected to be executed only once and won't + be executed again. This field is taken into + account only for commands `build`, `run` + and `debug` with `isDefault` set to `true`. + \n Default value is `false`" type: boolean id: description: Mandatory identifier that allows @@ -4134,15 +4139,15 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is restarted when source - code changes. If set to `true` the command won't be restarted. - A *hotReloadCapable* `run` or `debug` command is expected - to handle file changes on its own and won't be restarted. - A *hotReloadCapable* `build` command is expected to be - executed only once and won't be executed again. This field - is taken into account only for commands `build`, `run` - and `debug` with `isDefault` set to `true`. \n Default - value is `false`" + description: "Specify whether the command is restarted or + not when the source code changes. If set to `true` the + command won't be restarted. A *hotReloadCapable* `run` + or `debug` command is expected to handle file changes + on its own and won't be restarted. A *hotReloadCapable* + `build` command is expected to be executed only once and + won't be executed again. This field is taken into account + only for commands `build`, `run` and `debug` with `isDefault` + set to `true`. \n Default value is `false`" type: boolean label: description: Optional label that provides a label for this @@ -4933,17 +4938,17 @@ spec: type: string type: object hotReloadCapable: - description: "Whether the command is restarted - when source code changes. If set to `true` the - command won't be restarted. A *hotReloadCapable* - `run` or `debug` command is expected to handle - file changes on its own and won't be restarted. - A *hotReloadCapable* `build` command is expected - to be executed only once and won't be executed - again. This field is taken into account only - for commands `build`, `run` and `debug` with - `isDefault` set to `true`. \n Default value - is `false`" + description: "Specify whether the command is restarted + or not when the source code changes. If set + to `true` the command won't be restarted. A + *hotReloadCapable* `run` or `debug` command + is expected to handle file changes on its own + and won't be restarted. A *hotReloadCapable* + `build` command is expected to be executed only + once and won't be executed again. This field + is taken into account only for commands `build`, + `run` and `debug` with `isDefault` set to `true`. + \n Default value is `false`" type: boolean label: description: Optional label that provides a label @@ -5848,11 +5853,11 @@ spec: type: string type: object hotReloadCapable: - description: "Whether the command is restarted when - source code changes. If set to `true` the command - won't be restarted. A *hotReloadCapable* `run` or - `debug` command is expected to handle file changes - on its own and won't be restarted. A *hotReloadCapable* + description: "Specify whether the command is restarted + or not when the source code changes. If set to `true` + the command won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected to handle file + changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` @@ -6634,17 +6639,18 @@ spec: type: string type: object hotReloadCapable: - description: "Whether the command is restarted - when source code changes. If set to `true` - the command won't be restarted. A *hotReloadCapable* - `run` or `debug` command is expected to - handle file changes on its own and won't - be restarted. A *hotReloadCapable* `build` - command is expected to be executed only - once and won't be executed again. This field - is taken into account only for commands - `build`, `run` and `debug` with `isDefault` - set to `true`. \n Default value is `false`" + description: "Specify whether the command + is restarted or not when the source code + changes. If set to `true` the command won't + be restarted. A *hotReloadCapable* `run` + or `debug` command is expected to handle + file changes on its own and won't be restarted. + A *hotReloadCapable* `build` command is + expected to be executed only once and won't + be executed again. This field is taken into + account only for commands `build`, `run` + and `debug` with `isDefault` set to `true`. + \n Default value is `false`" type: boolean label: description: Optional label that provides diff --git a/crds/workspace.devfile.io_devworkspacetemplates.yaml b/crds/workspace.devfile.io_devworkspacetemplates.yaml index 230aed98c..9512d24ab 100644 --- a/crds/workspace.devfile.io_devworkspacetemplates.yaml +++ b/crds/workspace.devfile.io_devworkspacetemplates.yaml @@ -272,14 +272,15 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is restarted when source - code changes. If set to `true` the command won't be restarted. - A *hotReloadCapable* `run` or `debug` command is expected - to handle file changes on its own and won't be restarted. - A *hotReloadCapable* `build` command is expected to be - executed only once and won't be executed again. This field - is ignored for commands other than `build`, `run` or `debug`. - \n Default value is `false`" + description: "Specify whether the command is restarted or + not when the source code changes. If set to `true` the + command won't be restarted. A *hotReloadCapable* `run` + or `debug` command is expected to handle file changes + on its own and won't be restarted. A *hotReloadCapable* + `build` command is expected to be executed only once and + won't be executed again. This field is taken into account + only for commands `build`, `run` and `debug` with `isDefault` + set to `true`. \n Default value is `false`" type: boolean id: description: Mandatory identifier that allows referencing @@ -1061,16 +1062,17 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is restarted - when source code changes. If set to `true` the - command won't be restarted. A *hotReloadCapable* - `run` or `debug` command is expected to handle - file changes on its own and won't be restarted. - A *hotReloadCapable* `build` command is expected - to be executed only once and won't be executed - again. This field is ignored for commands other - than `build`, `run` or `debug`. \n Default value - is `false`" + description: "Specify whether the command is restarted + or not when the source code changes. If set + to `true` the command won't be restarted. A + *hotReloadCapable* `run` or `debug` command + is expected to handle file changes on its own + and won't be restarted. A *hotReloadCapable* + `build` command is expected to be executed only + once and won't be executed again. This field + is taken into account only for commands `build`, + `run` and `debug` with `isDefault` set to `true`. + \n Default value is `false`" type: boolean id: description: Mandatory identifier that allows @@ -1953,15 +1955,16 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is restarted when - source code changes. If set to `true` the command - won't be restarted. A *hotReloadCapable* `run` or - `debug` command is expected to handle file changes - on its own and won't be restarted. A *hotReloadCapable* + description: "Specify whether the command is restarted + or not when the source code changes. If set to `true` + the command won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected to handle file + changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once - and won't be executed again. This field is ignored - for commands other than `build`, `run` or `debug`. - \n Default value is `false`" + and won't be executed again. This field is taken into + account only for commands `build`, `run` and `debug` + with `isDefault` set to `true`. \n Default value is + `false`" type: boolean id: description: Mandatory identifier that allows referencing @@ -2762,16 +2765,18 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is restarted - when source code changes. If set to `true` - the command won't be restarted. A *hotReloadCapable* - `run` or `debug` command is expected to - handle file changes on its own and won't - be restarted. A *hotReloadCapable* `build` - command is expected to be executed only - once and won't be executed again. This field - is ignored for commands other than `build`, - `run` or `debug`. \n Default value is `false`" + description: "Specify whether the command + is restarted or not when the source code + changes. If set to `true` the command won't + be restarted. A *hotReloadCapable* `run` + or `debug` command is expected to handle + file changes on its own and won't be restarted. + A *hotReloadCapable* `build` command is + expected to be executed only once and won't + be executed again. This field is taken into + account only for commands `build`, `run` + and `debug` with `isDefault` set to `true`. + \n Default value is `false`" type: boolean id: description: Mandatory identifier that allows @@ -4132,15 +4137,15 @@ spec: - kind type: object hotReloadCapable: - description: "Whether the command is restarted when source - code changes. If set to `true` the command won't be restarted. - A *hotReloadCapable* `run` or `debug` command is expected - to handle file changes on its own and won't be restarted. - A *hotReloadCapable* `build` command is expected to be - executed only once and won't be executed again. This field - is taken into account only for commands `build`, `run` - and `debug` with `isDefault` set to `true`. \n Default - value is `false`" + description: "Specify whether the command is restarted or + not when the source code changes. If set to `true` the + command won't be restarted. A *hotReloadCapable* `run` + or `debug` command is expected to handle file changes + on its own and won't be restarted. A *hotReloadCapable* + `build` command is expected to be executed only once and + won't be executed again. This field is taken into account + only for commands `build`, `run` and `debug` with `isDefault` + set to `true`. \n Default value is `false`" type: boolean label: description: Optional label that provides a label for this @@ -4938,17 +4943,17 @@ spec: type: string type: object hotReloadCapable: - description: "Whether the command is restarted - when source code changes. If set to `true` the - command won't be restarted. A *hotReloadCapable* - `run` or `debug` command is expected to handle - file changes on its own and won't be restarted. - A *hotReloadCapable* `build` command is expected - to be executed only once and won't be executed - again. This field is taken into account only - for commands `build`, `run` and `debug` with - `isDefault` set to `true`. \n Default value - is `false`" + description: "Specify whether the command is restarted + or not when the source code changes. If set + to `true` the command won't be restarted. A + *hotReloadCapable* `run` or `debug` command + is expected to handle file changes on its own + and won't be restarted. A *hotReloadCapable* + `build` command is expected to be executed only + once and won't be executed again. This field + is taken into account only for commands `build`, + `run` and `debug` with `isDefault` set to `true`. + \n Default value is `false`" type: boolean label: description: Optional label that provides a label @@ -5853,11 +5858,11 @@ spec: type: string type: object hotReloadCapable: - description: "Whether the command is restarted when - source code changes. If set to `true` the command - won't be restarted. A *hotReloadCapable* `run` or - `debug` command is expected to handle file changes - on its own and won't be restarted. A *hotReloadCapable* + description: "Specify whether the command is restarted + or not when the source code changes. If set to `true` + the command won't be restarted. A *hotReloadCapable* + `run` or `debug` command is expected to handle file + changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` @@ -6639,17 +6644,18 @@ spec: type: string type: object hotReloadCapable: - description: "Whether the command is restarted - when source code changes. If set to `true` - the command won't be restarted. A *hotReloadCapable* - `run` or `debug` command is expected to - handle file changes on its own and won't - be restarted. A *hotReloadCapable* `build` - command is expected to be executed only - once and won't be executed again. This field - is taken into account only for commands - `build`, `run` and `debug` with `isDefault` - set to `true`. \n Default value is `false`" + description: "Specify whether the command + is restarted or not when the source code + changes. If set to `true` the command won't + be restarted. A *hotReloadCapable* `run` + or `debug` command is expected to handle + file changes on its own and won't be restarted. + A *hotReloadCapable* `build` command is + expected to be executed only once and won't + be executed again. This field is taken into + account only for commands `build`, `run` + and `debug` with `isDefault` set to `true`. + \n Default value is `false`" type: boolean label: description: Optional label that provides diff --git a/pkg/apis/workspaces/v1alpha1/commands.go b/pkg/apis/workspaces/v1alpha1/commands.go index 749a8c4c0..5ef65444b 100644 --- a/pkg/apis/workspaces/v1alpha1/commands.go +++ b/pkg/apis/workspaces/v1alpha1/commands.go @@ -139,11 +139,11 @@ type ExecCommand struct { Env []EnvVar `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional - // Whether the command is restarted when source code changes. + // Specify whether the command is restarted or not when the source code changes. // If set to `true` the command won't be restarted. // A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. // A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. - // This field is ignored for commands other than `build`, `run` or `debug`. + // This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`. // // Default value is `false` HotReloadCapable bool `json:"hotReloadCapable,omitempty"` diff --git a/pkg/apis/workspaces/v1alpha2/commands.go b/pkg/apis/workspaces/v1alpha2/commands.go index 5a6824472..6c926cafd 100644 --- a/pkg/apis/workspaces/v1alpha2/commands.go +++ b/pkg/apis/workspaces/v1alpha2/commands.go @@ -144,7 +144,7 @@ type ExecCommand struct { Env []EnvVar `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional - // Whether the command is restarted when source code changes. + // Specify whether the command is restarted or not when the source code changes. // If set to `true` the command won't be restarted. // A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. // A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. diff --git a/pkg/apis/workspaces/v1alpha2/zz_generated.parent_overrides.go b/pkg/apis/workspaces/v1alpha2/zz_generated.parent_overrides.go index 72132775a..85a966e88 100644 --- a/pkg/apis/workspaces/v1alpha2/zz_generated.parent_overrides.go +++ b/pkg/apis/workspaces/v1alpha2/zz_generated.parent_overrides.go @@ -336,7 +336,7 @@ type ExecCommandParentOverride struct { Env []EnvVarParentOverride `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional - // Whether the command is restarted when source code changes. + // Specify whether the command is restarted or not when the source code changes. // If set to `true` the command won't be restarted. // A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. // A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. @@ -1008,7 +1008,7 @@ type ExecCommandPluginOverrideParentOverride struct { Env []EnvVarPluginOverrideParentOverride `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional - // Whether the command is restarted when source code changes. + // Specify whether the command is restarted or not when the source code changes. // If set to `true` the command won't be restarted. // A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. // A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. diff --git a/pkg/apis/workspaces/v1alpha2/zz_generated.plugin_overrides.go b/pkg/apis/workspaces/v1alpha2/zz_generated.plugin_overrides.go index 20b24cda3..62b43946e 100644 --- a/pkg/apis/workspaces/v1alpha2/zz_generated.plugin_overrides.go +++ b/pkg/apis/workspaces/v1alpha2/zz_generated.plugin_overrides.go @@ -206,7 +206,7 @@ type ExecCommandPluginOverride struct { Env []EnvVarPluginOverride `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional - // Whether the command is restarted when source code changes. + // Specify whether the command is restarted or not when the source code changes. // If set to `true` the command won't be restarted. // A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. // A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. diff --git a/schemas/latest/dev-workspace-template-spec.json b/schemas/latest/dev-workspace-template-spec.json index ef2874118..6c558e8b7 100644 --- a/schemas/latest/dev-workspace-template-spec.json +++ b/schemas/latest/dev-workspace-template-spec.json @@ -245,7 +245,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -1029,7 +1029,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -1879,7 +1879,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -2620,7 +2620,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { diff --git a/schemas/latest/dev-workspace-template.json b/schemas/latest/dev-workspace-template.json index 5f0b6dbf9..93160d19c 100644 --- a/schemas/latest/dev-workspace-template.json +++ b/schemas/latest/dev-workspace-template.json @@ -411,7 +411,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -1195,7 +1195,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -2045,7 +2045,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -2786,7 +2786,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { diff --git a/schemas/latest/dev-workspace.json b/schemas/latest/dev-workspace.json index 0682b42ab..92d483970 100644 --- a/schemas/latest/dev-workspace.json +++ b/schemas/latest/dev-workspace.json @@ -368,7 +368,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -1231,7 +1231,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -2015,7 +2015,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -2865,7 +2865,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -3606,7 +3606,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { diff --git a/schemas/latest/devfile.json b/schemas/latest/devfile.json index 00dbc750f..5808b189e 100644 --- a/schemas/latest/devfile.json +++ b/schemas/latest/devfile.json @@ -194,7 +194,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -1086,7 +1086,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { diff --git a/schemas/latest/ide-targeted/dev-workspace-template-spec.json b/schemas/latest/ide-targeted/dev-workspace-template-spec.json index 1d33ea035..995042679 100644 --- a/schemas/latest/ide-targeted/dev-workspace-template-spec.json +++ b/schemas/latest/ide-targeted/dev-workspace-template-spec.json @@ -273,9 +273,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" + "markdownDescription": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -1141,9 +1141,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" + "markdownDescription": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -2099,9 +2099,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" + "markdownDescription": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -2928,9 +2928,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" + "markdownDescription": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", diff --git a/schemas/latest/ide-targeted/dev-workspace-template.json b/schemas/latest/ide-targeted/dev-workspace-template.json index f8fd7848e..1005eebb1 100644 --- a/schemas/latest/ide-targeted/dev-workspace-template.json +++ b/schemas/latest/ide-targeted/dev-workspace-template.json @@ -472,9 +472,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" + "markdownDescription": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -1340,9 +1340,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" + "markdownDescription": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -2298,9 +2298,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" + "markdownDescription": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -3127,9 +3127,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" + "markdownDescription": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", diff --git a/schemas/latest/ide-targeted/dev-workspace.json b/schemas/latest/ide-targeted/dev-workspace.json index 4d3ca459b..7dd5c2ca3 100644 --- a/schemas/latest/ide-targeted/dev-workspace.json +++ b/schemas/latest/ide-targeted/dev-workspace.json @@ -422,9 +422,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" + "markdownDescription": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -1391,9 +1391,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" + "markdownDescription": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -2259,9 +2259,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" + "markdownDescription": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -3217,9 +3217,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" + "markdownDescription": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -4046,9 +4046,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" + "markdownDescription": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", diff --git a/schemas/latest/ide-targeted/devfile.json b/schemas/latest/ide-targeted/devfile.json index c85939712..6ebcfc8bf 100644 --- a/schemas/latest/ide-targeted/devfile.json +++ b/schemas/latest/ide-targeted/devfile.json @@ -215,9 +215,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" + "markdownDescription": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -1214,9 +1214,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" + "markdownDescription": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", diff --git a/schemas/latest/ide-targeted/parent-overrides.json b/schemas/latest/ide-targeted/parent-overrides.json index 5715622d7..8c4348de9 100644 --- a/schemas/latest/ide-targeted/parent-overrides.json +++ b/schemas/latest/ide-targeted/parent-overrides.json @@ -195,9 +195,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" + "markdownDescription": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", @@ -1024,9 +1024,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" + "markdownDescription": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", diff --git a/schemas/latest/ide-targeted/plugin-overrides.json b/schemas/latest/ide-targeted/plugin-overrides.json index 29a0ebae8..bc57e3779 100644 --- a/schemas/latest/ide-targeted/plugin-overrides.json +++ b/schemas/latest/ide-targeted/plugin-overrides.json @@ -189,9 +189,9 @@ "markdownDescription": "Defines the group this command is part of" }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean", - "markdownDescription": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" + "markdownDescription": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`" }, "label": { "description": "Optional label that provides a label for this command to be used in Editor UI menus for example", diff --git a/schemas/latest/parent-overrides.json b/schemas/latest/parent-overrides.json index 2d120a7fd..f0b9cdf9c 100644 --- a/schemas/latest/parent-overrides.json +++ b/schemas/latest/parent-overrides.json @@ -173,7 +173,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { @@ -914,7 +914,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": { diff --git a/schemas/latest/plugin-overrides.json b/schemas/latest/plugin-overrides.json index c5ee19860..a0e39018a 100644 --- a/schemas/latest/plugin-overrides.json +++ b/schemas/latest/plugin-overrides.json @@ -168,7 +168,7 @@ "additionalProperties": false }, "hotReloadCapable": { - "description": "Whether the command is restarted when source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", + "description": "Specify whether the command is restarted or not when the source code changes. If set to `true` the command won't be restarted. A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`.\n\nDefault value is `false`", "type": "boolean" }, "label": {