From 3f088b8bebb34a85cf044a06ca883a175a7221cd Mon Sep 17 00:00:00 2001 From: Milan Kolar Date: Fri, 2 Oct 2020 17:03:38 +0200 Subject: [PATCH] add hosts schemas to settings --- .../system_settings/global/applications.json | 703 ++++++++++++++---- .../system_schema/0_system_gui_schema.json | 3 - .../1_applications_gui_schema.json | 54 +- .../system_schema/1_hosts_gui_schema.json | 139 ---- .../host_settings/system_blender_schema.json | 35 + .../system_celaction_schema.json | 39 + .../host_settings/system_fusion_schema.json | 35 + .../host_settings/system_harmony_schema.json | 51 ++ .../host_settings/system_host_template.json | 33 + .../host_settings/system_houdini_schema.json | 35 + .../host_settings/system_maya_schema.json | 43 ++ .../host_settings/system_nuke_template.json | 65 ++ .../system_photoshop_schema.json | 27 + .../host_settings/system_resolve_schema.json | 27 + .../host_settings/system_shell_schema.json | 43 ++ .../host_settings/system_unreal_schema.json | 27 + .../system_schema/system_harmony_schema.json | 86 --- .../system_schema/system_hiero_schema.json | 128 ---- .../system_schema/system_host_exe_schema.json | 39 - .../system_schema/system_houdini_schema.json | 52 -- .../system_schema/system_maya_schema.json | 69 -- .../system_schema/system_nuke_schema.json | 128 ---- .../system_photoshop_schema.json | 35 - 23 files changed, 1054 insertions(+), 842 deletions(-) delete mode 100644 pype/tools/settings/settings/gui_schemas/system_schema/1_hosts_gui_schema.json create mode 100644 pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_blender_schema.json create mode 100644 pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_celaction_schema.json create mode 100644 pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_fusion_schema.json create mode 100644 pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_harmony_schema.json create mode 100644 pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_host_template.json create mode 100644 pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_houdini_schema.json create mode 100644 pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_maya_schema.json create mode 100644 pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_nuke_template.json create mode 100644 pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_photoshop_schema.json create mode 100644 pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_resolve_schema.json create mode 100644 pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_shell_schema.json create mode 100644 pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_unreal_schema.json delete mode 100644 pype/tools/settings/settings/gui_schemas/system_schema/system_harmony_schema.json delete mode 100644 pype/tools/settings/settings/gui_schemas/system_schema/system_hiero_schema.json delete mode 100644 pype/tools/settings/settings/gui_schemas/system_schema/system_host_exe_schema.json delete mode 100644 pype/tools/settings/settings/gui_schemas/system_schema/system_houdini_schema.json delete mode 100644 pype/tools/settings/settings/gui_schemas/system_schema/system_maya_schema.json delete mode 100644 pype/tools/settings/settings/gui_schemas/system_schema/system_nuke_schema.json delete mode 100644 pype/tools/settings/settings/gui_schemas/system_schema/system_photoshop_schema.json diff --git a/pype/settings/defaults/system_settings/global/applications.json b/pype/settings/defaults/system_settings/global/applications.json index 2cf64e396b..222d9e1173 100644 --- a/pype/settings/defaults/system_settings/global/applications.json +++ b/pype/settings/defaults/system_settings/global/applications.json @@ -1,255 +1,638 @@ { "maya": { "enabled": true, - "environment": {}, + "environment": { + "__environment_keys__": { + "maya": [] + } + }, "maya_2020": { "enabled": true, - "common": { - "executable": { - "windows": [], - "linux": [], - "mac": [] - }, - "environment": {} + "maya_executables": { + "windows": "", + "darwin": "", + "linux": "" + }, + "environment": { + "__environment_keys__": { + "maya_2020": [] + } } }, "maya_2019": { "enabled": true, - "common": { - "executable": { - "windows": [], - "linux": [], - "mac": [] - }, - "environment": {} + "maya_executables": { + "windows": "", + "darwin": "", + "linux": "" + }, + "environment": { + "__environment_keys__": { + "maya_2019": [] + } } }, "maya_2018": { "enabled": true, - "common": { - "executable": { - "windows": [], - "linux": [], - "mac": [] - }, - "environment": {} + "maya_executables": { + "windows": "", + "darwin": "", + "linux": "" + }, + "environment": { + "__environment_keys__": { + "maya_2018": [] + } } } }, "nuke": { "enabled": true, - "environment": {}, - "nuke_12.1": { + "environment": { + "__environment_keys__": { + "nuke": [] + } + }, + "nuke_12.0": { "enabled": true, - "nukeX": true, - "common": { - "executable": { - "windows": [], - "linux": [], - "mac": [] - }, - "environment": {} + "nuke_executables": { + "windows": [], + "darwin": [], + "linux": [] + }, + "environment": { + "__environment_keys__": { + "nuke_12.0": [] + } } }, "nuke_11.3": { "enabled": true, - "nukeX": true, - "common": { - "executable": { - "windows": [], - "linux": [], - "mac": [] - }, - "environment": {} + "nuke_executables": { + "windows": [], + "darwin": [], + "linux": [] + }, + "environment": { + "__environment_keys__": { + "nuke_11.3": [] + } } }, "nuke_11.2": { "enabled": true, - "nukeX": true, - "common": { - "executable": { - "windows": [], - "linux": [], - "mac": [] - }, - "environment": {} + "nuke_executables": { + "windows": [], + "darwin": [], + "linux": [] + }, + "environment": { + "__environment_keys__": { + "nuke_11.2": [] + } } }, "nuke_11.1": { "enabled": true, - "nukeX": true, - "common": { - "executable": { - "windows": [], - "linux": [], - "mac": [] - }, - "environment": {} + "nuke_executables": { + "windows": [], + "darwin": [], + "linux": [] + }, + "environment": { + "__environment_keys__": { + "nuke_11.1": [] + } } }, - "nuke_10": { + "nuke_10.0": { "enabled": true, - "nukeX": true, - "common": { - "executable": { - "windows": [], - "linux": [], - "mac": [] - }, - "environment": {} + "nuke_executables": { + "windows": [], + "darwin": [], + "linux": [] + }, + "environment": { + "__environment_keys__": { + "nuke_10.0": [] + } + } + } + }, + "nukex": { + "enabled": true, + "environment": { + "__environment_keys__": { + "nukex": [] + } + }, + "nukex_12.0": { + "enabled": true, + "nukex_executables": { + "windows": [], + "darwin": [], + "linux": [] + }, + "environment": { + "__environment_keys__": { + "nukex_12.0": [] + } + } + }, + "nukex_11.3": { + "enabled": true, + "nukex_executables": { + "windows": [], + "darwin": [], + "linux": [] + }, + "environment": { + "__environment_keys__": { + "nukex_11.3": [] + } + } + }, + "nukex_11.2": { + "enabled": true, + "nukex_executables": { + "windows": [], + "darwin": [], + "linux": [] + }, + "environment": { + "__environment_keys__": { + "nukex_11.2": [] + } + } + }, + "nukex_11.1": { + "enabled": true, + "nukex_executables": { + "windows": [], + "darwin": [], + "linux": [] + }, + "environment": { + "__environment_keys__": { + "nukex_11.1": [] + } + } + }, + "nukex_10.0": { + "enabled": true, + "nukex_executables": { + "windows": [], + "darwin": [], + "linux": [] + }, + "environment": { + "__environment_keys__": { + "nukex_10.0": [] + } + } + } + }, + "nukestudio": { + "enabled": true, + "environment": { + "__environment_keys__": { + "nukestudio": [] + } + }, + "nukestudio_12.0": { + "enabled": true, + "nukestudio_executables": { + "windows": [], + "darwin": [], + "linux": [] + }, + "environment": { + "__environment_keys__": { + "nukestudio_12.0": [] + } + } + }, + "nukestudio_11.3": { + "enabled": true, + "nukestudio_executables": { + "windows": [], + "darwin": [], + "linux": [] + }, + "environment": { + "__environment_keys__": { + "nukestudio_11.3": [] + } + } + }, + "nukestudio_11.2": { + "enabled": true, + "nukestudio_executables": { + "windows": [], + "darwin": [], + "linux": [] + }, + "environment": { + "__environment_keys__": { + "nukestudio_11.2": [] + } + } + }, + "nukestudio_11.1": { + "enabled": true, + "nukestudio_executables": { + "windows": [], + "darwin": [], + "linux": [] + }, + "environment": { + "__environment_keys__": { + "nukestudio_11.1": [] + } + } + }, + "nukestudio_10.0": { + "enabled": true, + "nukestudio_executables": { + "windows": [], + "darwin": [], + "linux": [] + }, + "environment": { + "__environment_keys__": { + "nukestudio_10.0": [] + } } } }, "hiero": { "enabled": true, - "environment": {}, - "hiero_12.1": { + "environment": { + "__environment_keys__": { + "hiero": [] + } + }, + "hiero_12.0": { "enabled": true, - "nukestudio": true, - "common": { - "executable": { - "windows": [], - "linux": [], - "mac": [] - }, - "environment": {} + "hiero_executables": { + "windows": [], + "darwin": [], + "linux": [] + }, + "environment": { + "__environment_keys__": { + "hiero_12.0": [] + } } }, "hiero_11.3": { "enabled": true, - "nukestudio": true, - "common": { - "executable": { - "windows": [], - "linux": [], - "mac": [] - }, - "environment": {} + "hiero_executables": { + "windows": [], + "darwin": [], + "linux": [] + }, + "environment": { + "__environment_keys__": { + "hiero_11.3": [] + } } }, "hiero_11.2": { "enabled": true, - "nukestudio": true, - "common": { - "executable": { - "windows": [], - "linux": [], - "mac": [] - }, - "environment": {} + "hiero_executables": { + "windows": [], + "darwin": [], + "linux": [] + }, + "environment": { + "__environment_keys__": { + "hiero_11.2": [] + } } }, "hiero_11.1": { "enabled": true, - "nukestudio": true, - "common": { - "executable": { - "windows": [], - "linux": [], - "mac": [] - }, - "environment": {} + "hiero_executables": { + "windows": [], + "darwin": [], + "linux": [] + }, + "environment": { + "__environment_keys__": { + "hiero_11.1": [] + } } }, - "hiero_10": { + "hiero_10.0": { "enabled": true, - "nukestudio": true, - "common": { - "executable": { - "windows": [], - "linux": [], - "mac": [] - }, - "environment": {} + "hiero_executables": { + "windows": [], + "darwin": [], + "linux": [] + }, + "environment": { + "__environment_keys__": { + "hiero_10.0": [] + } + } + } + }, + "fusion": { + "enabled": true, + "environment": { + "__environment_keys__": { + "fusion": [] + } + }, + "fusion_16": { + "enabled": true, + "fusion_executables": { + "windows": "", + "darwin": "", + "linux": "" + }, + "environment": { + "__environment_keys__": { + "fusion_16": [] + } + } + }, + "fusion_9": { + "enabled": true, + "fusion_executables": { + "windows": "", + "darwin": "", + "linux": "" + }, + "environment": { + "__environment_keys__": { + "fusion_9": [] + } + } + } + }, + "resolve": { + "enabled": true, + "environment": { + "__environment_keys__": { + "resolve": [] + } + }, + "resolve_16": { + "enabled": true, + "resolve_executables": { + "windows": "", + "darwin": "", + "linux": "" + }, + "environment": { + "__environment_keys__": { + "resolve_16": [] + } } } }, "houdini": { "enabled": true, - "environment": {}, + "environment": { + "__environment_keys__": { + "houdini": [] + } + }, "houdini_18": { "enabled": true, - "common": { - "executable": { - "windows": [], - "linux": [], - "mac": [] - }, - "environment": {} + "houdini_executables": { + "windows": "", + "darwin": "", + "linux": "" + }, + "environment": { + "__environment_keys__": { + "houdini_18": [] + } } }, "houdini_17": { "enabled": true, - "common": { - "executable": { - "windows": [], - "linux": [], - "mac": [] - }, - "environment": {} + "houdini_executables": { + "windows": "", + "darwin": "", + "linux": "" + }, + "environment": { + "__environment_keys__": { + "houdini_17": [] + } + } + } + }, + "blender": { + "enabled": true, + "environment": { + "__environment_keys__": { + "blender": [] + } + }, + "blender_2.90": { + "enabled": true, + "blender_executables": { + "windows": "", + "darwin": "", + "linux": "" + }, + "environment": { + "__environment_keys__": { + "blender_2.90": [] + } + } + }, + "blender_2.83": { + "enabled": true, + "blender_executables": { + "windows": "", + "darwin": "", + "linux": "" + }, + "environment": { + "__environment_keys__": { + "blender_2.83": [] + } } } }, "harmony": { "enabled": true, - "environment_maya": {}, + "environment": { + "__environment_keys__": { + "harmony": [] + } + }, "harmony_20": { "enabled": true, - "common": { - "executable": { - "windows": [], - "linux": [], - "mac": [] - }, - "environment": {} + "harmony_executables": { + "windows": "", + "darwin": "", + "linux": "" + }, + "environment": { + "__environment_keys__": { + "harmony_20": [] + } } }, "harmony_19": { "enabled": true, - "common": { - "executable": { - "windows": [], - "linux": [], - "mac": [] - }, - "environment": {} + "harmony_executables": { + "windows": "", + "darwin": "", + "linux": "" + }, + "environment": { + "__environment_keys__": { + "harmony_19": [] + } } }, "harmony_18": { "enabled": true, - "common": { - "executable": { - "windows": [], - "linux": [], - "mac": [] - }, - "environment": {} + "harmony_executables": { + "windows": "", + "darwin": "", + "linux": "" + }, + "environment": { + "__environment_keys__": { + "harmony_18": [] + } } }, "harmony_17": { "enabled": true, - "common": { - "executable": { - "windows": [], - "linux": [], - "mac": [] - }, - "environment": {} + "harmony_executables": { + "windows": "", + "darwin": "", + "linux": "" + }, + "environment": { + "__environment_keys__": { + "harmony_17": [] + } } } }, "photoshop": { "enabled": true, - "environment": {}, + "environment": { + "__environment_keys__": { + "photoshop": [] + } + }, "photoshop_2020": { "enabled": true, - "common": { - "executable": { - "windows": [], - "linux": [], - "mac": [] - }, - "environment": {} + "photoshop_executables": { + "windows": "", + "darwin": "", + "linux": "" + }, + "environment": { + "__environment_keys__": { + "photoshop_2020": [] + } + } + } + }, + "celaction": { + "enabled": true, + "environment": { + "__environment_keys__": { + "celaction": [] + } + }, + "celation_Local": { + "enabled": true, + "celation_executables": "", + "environment": { + "__environment_keys__": { + "celation_Local": [] + } + } + }, + "celation_Publish": { + "enabled": true, + "celation_executables": "", + "environment": { + "__environment_keys__": { + "celation_Publish": [] + } + } + } + }, + "unreal": { + "enabled": true, + "environment": { + "__environment_keys__": { + "unreal": [] + } + }, + "unreal_4.24": { + "enabled": true, + "unreal_executables": { + "windows": "", + "darwin": "", + "linux": "" + }, + "environment": { + "__environment_keys__": { + "unreal_4.24": [] + } + } + } + }, + "shell": { + "enabled": true, + "environment": { + "__environment_keys__": { + "shell": [] + } + }, + "python_Python 3.7": { + "enabled": true, + "python_executables": { + "windows": "", + "darwin": "", + "linux": "" + }, + "environment": { + "__environment_keys__": { + "python_Python 3.7": [] + } + } + }, + "python_Python 2.7": { + "enabled": true, + "python_executables": { + "windows": "", + "darwin": "", + "linux": "" + }, + "environment": { + "__environment_keys__": { + "python_Python 2.7": [] + } + } + }, + "terminal_Terminal": { + "enabled": true, + "terminal_executables": { + "windows": "", + "darwin": "", + "linux": "" + }, + "environment": { + "__environment_keys__": { + "terminal_Terminal": [] + } } } } diff --git a/pype/tools/settings/settings/gui_schemas/system_schema/0_system_gui_schema.json b/pype/tools/settings/settings/gui_schemas/system_schema/0_system_gui_schema.json index dbae81501e..c5f229fc2f 100644 --- a/pype/tools/settings/settings/gui_schemas/system_schema/0_system_gui_schema.json +++ b/pype/tools/settings/settings/gui_schemas/system_schema/0_system_gui_schema.json @@ -14,9 +14,6 @@ }, { "type": "schema", "name": "1_applications_gui_schema" - }, { - "type": "schema", - "name": "1_hosts_gui_schema" }, { "type": "schema", "name": "1_tools_gui_schema" diff --git a/pype/tools/settings/settings/gui_schemas/system_schema/1_applications_gui_schema.json b/pype/tools/settings/settings/gui_schemas/system_schema/1_applications_gui_schema.json index 95e2763f35..d1fa4e79f5 100644 --- a/pype/tools/settings/settings/gui_schemas/system_schema/1_applications_gui_schema.json +++ b/pype/tools/settings/settings/gui_schemas/system_schema/1_applications_gui_schema.json @@ -9,17 +9,53 @@ "name": "system_maya_schema" }, { - "type": "schema", - "name": "system_nuke_schema" + "type": "schema_template", + "name": "system_nuke_template", + "template_data": { + "nuke_type": "nuke", + "nuke_label": "Nuke" + } + }, + { + "type": "schema_template", + "name": "system_nuke_template", + "template_data": { + "nuke_type": "nukex", + "nuke_label": "Nuke X" + } + }, + { + "type": "schema_template", + "name": "system_nuke_template", + "template_data": { + "nuke_type": "nukestudio", + "nuke_label": "Nuke Studio" + } + }, + { + "type": "schema_template", + "name": "system_nuke_template", + "template_data": { + "nuke_type": "hiero", + "nuke_label": "Hiero" + } }, { "type": "schema", - "name": "system_hiero_schema" + "name": "system_fusion_schema" + }, + { + "type": "schema", + "name": "system_resolve_schema" }, { "type": "schema", "name": "system_houdini_schema" }, + { + "type": "schema", + "name": "system_blender_schema" + }, { "type": "schema", "name": "system_harmony_schema" @@ -27,6 +63,18 @@ { "type": "schema", "name": "system_photoshop_schema" + }, + { + "type": "schema", + "name": "system_celaction_schema" + }, + { + "type": "schema", + "name": "system_unreal_schema" + }, + { + "type": "schema", + "name": "system_shell_schema" } ] } diff --git a/pype/tools/settings/settings/gui_schemas/system_schema/1_hosts_gui_schema.json b/pype/tools/settings/settings/gui_schemas/system_schema/1_hosts_gui_schema.json deleted file mode 100644 index 277b9d1d8e..0000000000 --- a/pype/tools/settings/settings/gui_schemas/system_schema/1_hosts_gui_schema.json +++ /dev/null @@ -1,139 +0,0 @@ -{ - "key": "hosts", - "type": "dict", - "label": "Hosts", - "collapsable": true, - "is_group": true, - "is_file": true, - "children": [ - { - "type": "boolean", - "key": "blender_2.80", - "label": "Blender 2.80" - }, { - "type": "boolean", - "key": "blender_2.81", - "label": "Blender 2.81" - }, { - "type": "boolean", - "key": "blender_2.82", - "label": "Blender 2.82" - }, { - "type": "boolean", - "key": "blender_2.83", - "label": "Blender 2.83" - }, { - "type": "boolean", - "key": "celaction_local", - "label": "Celaction Local" - }, { - "type": "boolean", - "key": "celaction_remote", - "label": "Celaction Remote" - }, { - "type": "boolean", - "key": "harmony_17", - "label": "Harmony 17" - }, { - "type": "boolean", - "key": "maya_2017", - "label": "Autodest Maya 2017" - }, { - "type": "boolean", - "key": "maya_2018", - "label": "Autodest Maya 2018" - }, { - "type": "boolean", - "key": "maya_2019", - "label": "Autodest Maya 2019" - }, { - "type": "boolean", - "key": "maya_2020", - "label": "Autodest Maya 2020" - }, { - "key": "nuke_10.0", - "type": "boolean", - "label": "Nuke 10.0" - }, { - "type": "boolean", - "key": "nuke_11.2", - "label": "Nuke 11.2" - }, { - "type": "boolean", - "key": "nuke_11.3", - "label": "Nuke 11.3" - }, { - "type": "boolean", - "key": "nuke_12.0", - "label": "Nuke 12.0" - }, { - "type": "boolean", - "key": "nukex_10.0", - "label": "NukeX 10.0" - }, { - "type": "boolean", - "key": "nukex_11.2", - "label": "NukeX 11.2" - }, { - "type": "boolean", - "key": "nukex_11.3", - "label": "NukeX 11.3" - }, { - "type": "boolean", - "key": "nukex_12.0", - "label": "NukeX 12.0" - }, { - "type": "boolean", - "key": "nukestudio_10.0", - "label": "NukeStudio 10.0" - }, { - "type": "boolean", - "key": "nukestudio_11.2", - "label": "NukeStudio 11.2" - }, { - "type": "boolean", - "key": "nukestudio_11.3", - "label": "NukeStudio 11.3" - }, { - "type": "boolean", - "key": "nukestudio_12.0", - "label": "NukeStudio 12.0" - }, { - "type": "boolean", - "key": "houdini_16", - "label": "Houdini 16" - }, { - "type": "boolean", - "key": "houdini_16.5", - "label": "Houdini 16.5" - }, { - "type": "boolean", - "key": "houdini_17", - "label": "Houdini 17" - }, { - "type": "boolean", - "key": "houdini_18", - "label": "Houdini 18" - }, { - "type": "boolean", - "key": "premiere_2019", - "label": "Premiere 2019" - }, { - "type": "boolean", - "key": "premiere_2020", - "label": "Premiere 2020" - }, { - "type": "boolean", - "key": "resolve_16", - "label": "BM DaVinci Resolve 16" - }, { - "type": "boolean", - "key": "storyboardpro_7", - "label": "Storyboard Pro 7" - }, { - "type": "boolean", - "key": "unreal_4.24", - "label": "Unreal Editor 4.24" - } - ] -} diff --git a/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_blender_schema.json b/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_blender_schema.json new file mode 100644 index 0000000000..8600d8de8a --- /dev/null +++ b/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_blender_schema.json @@ -0,0 +1,35 @@ +{ + "type": "dict", + "key": "blender", + "label": "Blender", + "collapsable": true, + "checkbox_key": "enabled", + "children": [{ + "type": "boolean", + "key": "enabled", + "label": "Enabled" + }, + { + "key": "environment", + "label": "Environment", + "type": "raw-json", + "env_group_key": "blender" + }, + { + "type": "schema_template", + "name": "system_host_template", + "template_data": { + "host_version": "2.90", + "host_name": "blender" + } + }, + { + "type": "schema_template", + "name": "system_host_template", + "template_data": { + "host_version": "2.83", + "host_name": "blender" + } + } + ] +} diff --git a/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_celaction_schema.json b/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_celaction_schema.json new file mode 100644 index 0000000000..36addab00d --- /dev/null +++ b/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_celaction_schema.json @@ -0,0 +1,39 @@ +{ + "type": "dict", + "key": "celaction", + "label": "CelAction2D", + "collapsable": true, + "checkbox_key": "enabled", + "children": [{ + "type": "boolean", + "key": "enabled", + "label": "Enabled" + }, + { + "key": "environment", + "label": "Environment", + "type": "raw-json", + "env_group_key": "celaction" + }, + { + "type": "schema_template", + "name": "system_host_template", + "template_data": { + "host_version": "Local", + "host_name": "celation", + "multiplatform": false, + "multipath_executables": false + } + }, + { + "type": "schema_template", + "name": "system_host_template", + "template_data": { + "host_version": "Publish", + "host_name": "celation", + "multiplatform": false, + "multipath_executables": false + } + } + ] +} diff --git a/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_fusion_schema.json b/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_fusion_schema.json new file mode 100644 index 0000000000..b3dc79ef97 --- /dev/null +++ b/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_fusion_schema.json @@ -0,0 +1,35 @@ +{ + "type": "dict", + "key": "fusion", + "label": "Blackmagic Fusion", + "collapsable": true, + "checkbox_key": "enabled", + "children": [{ + "type": "boolean", + "key": "enabled", + "label": "Enabled" + }, + { + "key": "environment", + "label": "Environment", + "type": "raw-json", + "env_group_key": "fusion" + }, + { + "type": "schema_template", + "name": "system_host_template", + "template_data": { + "host_version": "16", + "host_name": "fusion" + } + }, + { + "type": "schema_template", + "name": "system_host_template", + "template_data": { + "host_version": "9", + "host_name": "fusion" + } + } + ] +} diff --git a/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_harmony_schema.json b/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_harmony_schema.json new file mode 100644 index 0000000000..10cb929fc4 --- /dev/null +++ b/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_harmony_schema.json @@ -0,0 +1,51 @@ +{ + "type": "dict", + "key": "harmony", + "label": "Toon Boom Harmony", + "collapsable": true, + "checkbox_key": "enabled", + "children": [{ + "type": "boolean", + "key": "enabled", + "label": "Enabled" + }, + { + "key": "environment", + "label": "Environment", + "type": "raw-json", + "env_group_key": "harmony" + }, + { + "type": "schema_template", + "name": "system_host_template", + "template_data": { + "host_version": "20", + "host_name": "harmony" + } + }, + { + "type": "schema_template", + "name": "system_host_template", + "template_data": { + "host_version": "19", + "host_name": "harmony" + } + }, + { + "type": "schema_template", + "name": "system_host_template", + "template_data": { + "host_version": "18", + "host_name": "harmony" + } + }, + { + "type": "schema_template", + "name": "system_host_template", + "template_data": { + "host_version": "17", + "host_name": "harmony" + } + } + ] +} diff --git a/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_host_template.json b/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_host_template.json new file mode 100644 index 0000000000..dd4d3c8b4b --- /dev/null +++ b/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_host_template.json @@ -0,0 +1,33 @@ +[{ + "__default_values__": { + "multipath_executables": false, + "multiplatform": true + } + }, + { + "type": "dict", + "key": "{host_name}_{host_version}", + "label": "{host_version}", + "collapsable": true, + "checkbox_key": "enabled", + "children": [{ + "type": "boolean", + "key": "enabled", + "label": "Enabled" + }, + { + "type": "path-widget", + "key": "{host_name}_executables", + "label": "Executables", + "multiplatform": "{multiplatform}", + "multipath": "{multipath_executables}" + }, + { + "key": "environment", + "label": "Environment", + "type": "raw-json", + "env_group_key": "{host_name}_{host_version}" + } + ] + } +] diff --git a/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_houdini_schema.json b/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_houdini_schema.json new file mode 100644 index 0000000000..36c6d9fcb2 --- /dev/null +++ b/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_houdini_schema.json @@ -0,0 +1,35 @@ +{ + "type": "dict", + "key": "houdini", + "label": "SideFX Houdini", + "collapsable": true, + "checkbox_key": "enabled", + "children": [{ + "type": "boolean", + "key": "enabled", + "label": "Enabled" + }, + { + "key": "environment", + "label": "Environment", + "type": "raw-json", + "env_group_key": "houdini" + }, + { + "type": "schema_template", + "name": "system_host_template", + "template_data": { + "host_version": "18", + "host_name": "houdini" + } + }, + { + "type": "schema_template", + "name": "system_host_template", + "template_data": { + "host_version": "17", + "host_name": "houdini" + } + } + ] +} diff --git a/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_maya_schema.json b/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_maya_schema.json new file mode 100644 index 0000000000..710b62a9cc --- /dev/null +++ b/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_maya_schema.json @@ -0,0 +1,43 @@ +{ + "type": "dict", + "key": "maya", + "label": "Autodesk Maya", + "collapsable": true, + "checkbox_key": "enabled", + "children": [{ + "type": "boolean", + "key": "enabled", + "label": "Enabled" + }, + { + "key": "environment", + "label": "Environment", + "type": "raw-json", + "env_group_key": "maya" + }, + { + "type": "schema_template", + "name": "system_host_template", + "template_data": { + "host_version": "2020", + "host_name": "maya" + } + }, + { + "type": "schema_template", + "name": "system_host_template", + "template_data": { + "host_version": "2019", + "host_name": "maya" + } + }, + { + "type": "schema_template", + "name": "system_host_template", + "template_data": { + "host_version": "2018", + "host_name": "maya" + } + } + ] +} diff --git a/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_nuke_template.json b/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_nuke_template.json new file mode 100644 index 0000000000..36d68dba95 --- /dev/null +++ b/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_nuke_template.json @@ -0,0 +1,65 @@ +[{ + "type": "dict", + "key": "{nuke_type}", + "label": "Foundry {nuke_label}", + "collapsable": true, + "checkbox_key": "enabled", + "children": [{ + "type": "boolean", + "key": "enabled", + "label": "Enabled" + }, + { + "key": "environment", + "label": "Environment", + "type": "raw-json", + "env_group_key": "{nuke_type}" + }, + { + "type": "schema_template", + "name": "system_host_template", + "template_data": { + "host_version": "12.0", + "host_name": "{nuke_type}", + "multipath_executables": true + } + }, + { + "type": "schema_template", + "name": "system_host_template", + "template_data": { + "host_version": "11.3", + "host_name": "{nuke_type}", + "multipath_executables": true + } + }, + { + "type": "schema_template", + "name": "system_host_template", + "template_data": { + "host_version": "11.2", + "host_name": "{nuke_type}", + "multipath_executables": true + } + }, + { + "type": "schema_template", + "name": "system_host_template", + "template_data": { + "host_version": "11.1", + "host_name": "{nuke_type}", + "multipath_executables": true + } + }, + { + "type": "schema_template", + "name": "system_host_template", + "template_data": { + "host_version": "10.0", + "host_name": "{nuke_type}", + "multipath_executables": true + } + } + ] +} +] diff --git a/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_photoshop_schema.json b/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_photoshop_schema.json new file mode 100644 index 0000000000..c1062045e7 --- /dev/null +++ b/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_photoshop_schema.json @@ -0,0 +1,27 @@ +{ + "type": "dict", + "key": "photoshop", + "label": "Adobe Photoshop", + "collapsable": true, + "checkbox_key": "enabled", + "children": [{ + "type": "boolean", + "key": "enabled", + "label": "Enabled" + }, + { + "key": "environment", + "label": "Environment", + "type": "raw-json", + "env_group_key": "photoshop" + }, + { + "type": "schema_template", + "name": "system_host_template", + "template_data": { + "host_version": "2020", + "host_name": "photoshop" + } + } + ] +} diff --git a/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_resolve_schema.json b/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_resolve_schema.json new file mode 100644 index 0000000000..364be8208d --- /dev/null +++ b/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_resolve_schema.json @@ -0,0 +1,27 @@ +{ + "type": "dict", + "key": "resolve", + "label": "Blackmagic DaVinci Resolve", + "collapsable": true, + "checkbox_key": "enabled", + "children": [{ + "type": "boolean", + "key": "enabled", + "label": "Enabled" + }, + { + "key": "environment", + "label": "Environment", + "type": "raw-json", + "env_group_key": "resolve" + }, + { + "type": "schema_template", + "name": "system_host_template", + "template_data": { + "host_version": "16", + "host_name": "resolve" + } + } + ] +} diff --git a/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_shell_schema.json b/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_shell_schema.json new file mode 100644 index 0000000000..22955abc46 --- /dev/null +++ b/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_shell_schema.json @@ -0,0 +1,43 @@ +{ + "type": "dict", + "key": "shell", + "label": "Shell", + "collapsable": true, + "checkbox_key": "enabled", + "children": [{ + "type": "boolean", + "key": "enabled", + "label": "Enabled" + }, + { + "key": "environment", + "label": "Environment", + "type": "raw-json", + "env_group_key": "shell" + }, + { + "type": "schema_template", + "name": "system_host_template", + "template_data": { + "host_version": "Python 3.7", + "host_name": "python" + } + }, + { + "type": "schema_template", + "name": "system_host_template", + "template_data": { + "host_version": "Python 2.7", + "host_name": "python" + } + }, + { + "type": "schema_template", + "name": "system_host_template", + "template_data": { + "host_version": "Terminal", + "host_name": "terminal" + } + } + ] +} diff --git a/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_unreal_schema.json b/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_unreal_schema.json new file mode 100644 index 0000000000..e0408f9a36 --- /dev/null +++ b/pype/tools/settings/settings/gui_schemas/system_schema/host_settings/system_unreal_schema.json @@ -0,0 +1,27 @@ +{ + "type": "dict", + "key": "unreal", + "label": "Unreal Editor", + "collapsable": true, + "checkbox_key": "enabled", + "children": [{ + "type": "boolean", + "key": "enabled", + "label": "Enabled" + }, + { + "key": "environment", + "label": "Environment", + "type": "raw-json", + "env_group_key": "unreal" + }, + { + "type": "schema_template", + "name": "system_host_template", + "template_data": { + "host_version": "4.24", + "host_name": "unreal" + } + } + ] +} diff --git a/pype/tools/settings/settings/gui_schemas/system_schema/system_harmony_schema.json b/pype/tools/settings/settings/gui_schemas/system_schema/system_harmony_schema.json deleted file mode 100644 index 4ef97bc8a2..0000000000 --- a/pype/tools/settings/settings/gui_schemas/system_schema/system_harmony_schema.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "type": "dict", - "key": "harmony", - "label": "Toon Boom Harmony", - "collapsable": true, - "checkbox_key": "enabled", - "children": [{ - "type": "boolean", - "key": "enabled", - "label": "Enabled" - }, - { - "type": "raw-json", - "key": "environment_maya", - "label": "Environment" - }, - { - "type": "dict", - "key": "harmony_20", - "label": "20", - "collapsable": true, - "checkbox_key": "enabled", - "children": [{ - "type": "boolean", - "key": "enabled", - "label": "Enabled" - }, - { - "type": "schema", - "name": "system_host_exe_schema" - } - ] - }, - { - "type": "dict", - "key": "harmony_19", - "label": "19", - "collapsable": true, - "checkbox_key": "enabled", - "children": [{ - "type": "boolean", - "key": "enabled", - "label": "Enabled" - }, - { - "type": "schema", - "name": "system_host_exe_schema" - } - ] - }, - { - "type": "dict", - "key": "harmony_18", - "label": "18", - "collapsable": true, - "checkbox_key": "enabled", - "children": [{ - "type": "boolean", - "key": "enabled", - "label": "Enabled" - }, - { - "type": "schema", - "name": "system_host_exe_schema" - } - ] - }, - { - "type": "dict", - "key": "harmony_17", - "label": "17", - "collapsable": true, - "checkbox_key": "enabled", - "children": [{ - "type": "boolean", - "key": "enabled", - "label": "Enabled" - }, - { - "type": "schema", - "name": "system_host_exe_schema" - } - ] - } - ] -} diff --git a/pype/tools/settings/settings/gui_schemas/system_schema/system_hiero_schema.json b/pype/tools/settings/settings/gui_schemas/system_schema/system_hiero_schema.json deleted file mode 100644 index ecbb98b281..0000000000 --- a/pype/tools/settings/settings/gui_schemas/system_schema/system_hiero_schema.json +++ /dev/null @@ -1,128 +0,0 @@ -{ - "type": "dict", - "key": "hiero", - "label": "Foundry Hiero / Nuke Studio", - "collapsable": true, - "checkbox_key": "enabled", - "children": [{ - "type": "boolean", - "key": "enabled", - "label": "Enabled" - }, - { - "type": "raw-json", - "key": "environment", - "label": "Environment" - }, - { - "type": "dict", - "key": "hiero_12.1", - "label": "12.1", - "collapsable": true, - "checkbox_key": "enabled", - "children": [{ - "type": "boolean", - "key": "enabled", - "label": "Enabled" - }, - { - "type": "boolean", - "key": "nukestudio", - "label": "Nuke Studio" - }, - { - "type": "schema", - "name": "system_host_exe_schema" - } - ] - }, - { - "type": "dict", - "key": "hiero_11.3", - "label": "11.3", - "collapsable": true, - "checkbox_key": "enabled", - "children": [{ - "type": "boolean", - "key": "enabled", - "label": "Enabled" - }, - { - "type": "boolean", - "key": "nukestudio", - "label": "Nuke Studio" - }, - { - "type": "schema", - "name": "system_host_exe_schema" - } - ] - }, - { - "type": "dict", - "key": "hiero_11.2", - "label": "11.2", - "collapsable": true, - "checkbox_key": "enabled", - "children": [{ - "type": "boolean", - "key": "enabled", - "label": "Enabled" - }, - { - "type": "boolean", - "key": "nukestudio", - "label": "Nuke Studio" - }, - { - "type": "schema", - "name": "system_host_exe_schema" - } - ] - }, - { - "type": "dict", - "key": "hiero_11.1", - "label": "11.1", - "collapsable": true, - "checkbox_key": "enabled", - "children": [{ - "type": "boolean", - "key": "enabled", - "label": "Enabled" - }, - { - "type": "boolean", - "key": "nukestudio", - "label": "Nuke Studio" - }, - { - "type": "schema", - "name": "system_host_exe_schema" - } - ] - }, - { - "type": "dict", - "key": "hiero_10", - "label": "10", - "collapsable": true, - "checkbox_key": "enabled", - "children": [{ - "type": "boolean", - "key": "enabled", - "label": "Enabled" - }, - { - "type": "boolean", - "key": "nukestudio", - "label": "Nuke Studio" - }, - { - "type": "schema", - "name": "system_host_exe_schema" - } - ] - } - ] -} diff --git a/pype/tools/settings/settings/gui_schemas/system_schema/system_host_exe_schema.json b/pype/tools/settings/settings/gui_schemas/system_schema/system_host_exe_schema.json deleted file mode 100644 index 7bf40ba69e..0000000000 --- a/pype/tools/settings/settings/gui_schemas/system_schema/system_host_exe_schema.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "type": "dict-invisible", - "key": "common", - "children": [{ - "type": "dict-invisible", - "key": "executable", - "children": [{ - "type": "list", - "key": "windows", - "label": "Windows Executable", - "object_type": { - "type": "text", - "multiline": false - } - }, { - "type": "list", - "key": "linux", - "label": "Linux Executable", - "object_type": { - "type": "text", - "multiline": false - } - }, { - "type": "list", - "key": "mac", - "label": "Mac Executable", - "object_type": { - "type": "text", - "multiline": false - } - }] - }, - { - "type": "raw-json", - "key": "environment", - "label": "Environment" - } - ] -} diff --git a/pype/tools/settings/settings/gui_schemas/system_schema/system_houdini_schema.json b/pype/tools/settings/settings/gui_schemas/system_schema/system_houdini_schema.json deleted file mode 100644 index a6f58da172..0000000000 --- a/pype/tools/settings/settings/gui_schemas/system_schema/system_houdini_schema.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "type": "dict", - "key": "houdini", - "label": "SideFX Houdini", - "collapsable": true, - "checkbox_key": "enabled", - "children": [{ - "type": "boolean", - "key": "enabled", - "label": "Enabled" - }, - { - "type": "raw-json", - "key": "environment", - "label": "Environment" - }, - { - "type": "dict", - "key": "houdini_18", - "label": "18", - "collapsable": true, - "checkbox_key": "enabled", - "children": [{ - "type": "boolean", - "key": "enabled", - "label": "Enabled" - }, - { - "type": "schema", - "name": "system_host_exe_schema" - } - ] - }, - { - "type": "dict", - "key": "houdini_17", - "label": "17", - "collapsable": true, - "checkbox_key": "enabled", - "children": [{ - "type": "boolean", - "key": "enabled", - "label": "Enabled" - }, - { - "type": "schema", - "name": "system_host_exe_schema" - } - ] - } - ] -} diff --git a/pype/tools/settings/settings/gui_schemas/system_schema/system_maya_schema.json b/pype/tools/settings/settings/gui_schemas/system_schema/system_maya_schema.json deleted file mode 100644 index 5c76f65792..0000000000 --- a/pype/tools/settings/settings/gui_schemas/system_schema/system_maya_schema.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "type": "dict", - "key": "maya", - "label": "Autodesk Maya", - "collapsable": true, - "checkbox_key": "enabled", - "children": [{ - "type": "boolean", - "key": "enabled", - "label": "Enabled" - }, - { - "type": "raw-json", - "key": "environment", - "label": "Environment" - }, - { - "type": "dict", - "key": "maya_2020", - "label": "2020", - "collapsable": true, - "checkbox_key": "enabled", - "children": [{ - "type": "boolean", - "key": "enabled", - "label": "Enabled" - }, - { - "type": "schema", - "name": "system_host_exe_schema" - } - ] - }, - { - "type": "dict", - "key": "maya_2019", - "label": "2019", - "collapsable": true, - "checkbox_key": "enabled", - "children": [{ - "type": "boolean", - "key": "enabled", - "label": "Enabled" - }, - { - "type": "schema", - "name": "system_host_exe_schema" - } - ] - }, - { - "type": "dict", - "key": "maya_2018", - "label": "2018", - "collapsable": true, - "checkbox_key": "enabled", - "children": [{ - "type": "boolean", - "key": "enabled", - "label": "Enabled" - }, - { - "type": "schema", - "name": "system_host_exe_schema" - } - ] - } - ] -} diff --git a/pype/tools/settings/settings/gui_schemas/system_schema/system_nuke_schema.json b/pype/tools/settings/settings/gui_schemas/system_schema/system_nuke_schema.json deleted file mode 100644 index 205a4bb11a..0000000000 --- a/pype/tools/settings/settings/gui_schemas/system_schema/system_nuke_schema.json +++ /dev/null @@ -1,128 +0,0 @@ -{ - "type": "dict", - "key": "nuke", - "label": "Foundry Nuke", - "collapsable": true, - "checkbox_key": "enabled", - "children": [{ - "type": "boolean", - "key": "enabled", - "label": "Enabled" - }, - { - "type": "raw-json", - "key": "environment", - "label": "Environment" - }, - { - "type": "dict", - "key": "nuke_12.1", - "label": "12.1", - "collapsable": true, - "checkbox_key": "enabled", - "children": [{ - "type": "boolean", - "key": "enabled", - "label": "Enabled" - }, - { - "type": "boolean", - "key": "nukeX", - "label": "Nuke X" - }, - { - "type": "schema", - "name": "system_host_exe_schema" - } - ] - }, - { - "type": "dict", - "key": "nuke_11.3", - "label": "11.3", - "collapsable": true, - "checkbox_key": "enabled", - "children": [{ - "type": "boolean", - "key": "enabled", - "label": "Enabled" - }, - { - "type": "boolean", - "key": "nukeX", - "label": "Nuke X" - }, - { - "type": "schema", - "name": "system_host_exe_schema" - } - ] - }, - { - "type": "dict", - "key": "nuke_11.2", - "label": "11.2", - "collapsable": true, - "checkbox_key": "enabled", - "children": [{ - "type": "boolean", - "key": "enabled", - "label": "Enabled" - }, - { - "type": "boolean", - "key": "nukeX", - "label": "Nuke X" - }, - { - "type": "schema", - "name": "system_host_exe_schema" - } - ] - }, - { - "type": "dict", - "key": "nuke_11.1", - "label": "11.1", - "collapsable": true, - "checkbox_key": "enabled", - "children": [{ - "type": "boolean", - "key": "enabled", - "label": "Enabled" - }, - { - "type": "boolean", - "key": "nukeX", - "label": "Nuke X" - }, - { - "type": "schema", - "name": "system_host_exe_schema" - } - ] - }, - { - "type": "dict", - "key": "nuke_10", - "label": "10", - "collapsable": true, - "checkbox_key": "enabled", - "children": [{ - "type": "boolean", - "key": "enabled", - "label": "Enabled" - }, - { - "type": "boolean", - "key": "nukeX", - "label": "Nuke X" - }, - { - "type": "schema", - "name": "system_host_exe_schema" - } - ] - } - ] -} diff --git a/pype/tools/settings/settings/gui_schemas/system_schema/system_photoshop_schema.json b/pype/tools/settings/settings/gui_schemas/system_schema/system_photoshop_schema.json deleted file mode 100644 index d04bcbed09..0000000000 --- a/pype/tools/settings/settings/gui_schemas/system_schema/system_photoshop_schema.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "type": "dict", - "key": "photoshop", - "label": "Adobe Photoshop", - "collapsable": true, - "checkbox_key": "enabled", - "children": [{ - "type": "boolean", - "key": "enabled", - "label": "Enabled" - }, - { - "type": "raw-json", - "key": "environment", - "label": "Environment" - }, - { - "type": "dict", - "key": "photoshop_2020", - "label": "2020", - "collapsable": true, - "checkbox_key": "enabled", - "children": [{ - "type": "boolean", - "key": "enabled", - "label": "Enabled" - }, - { - "type": "schema", - "name": "system_host_exe_schema" - } - ] - } - ] -}