forked from mbrainerd/tk-multi-publish2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
info.yml
134 lines (117 loc) · 4.94 KB
/
info.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# Copyright (c) 2017 Shotgun Software Inc.
#
# CONFIDENTIAL AND PROPRIETARY
#
# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit
# Source Code License included in this distribution package. See LICENSE.
# By accessing, using, copying or modifying this work you indicate your
# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights
# not expressly granted therein are reserved by Shotgun Software Inc.
configuration:
display_name:
type: str
default_value: Publish
description: Specify the name that should be used in menus and the main
publish dialog
display_host_name:
type: bool
default_value: false
description: "Display the host name in the window title, Set to False by default."
display_action_name:
type: str
default_value: Publish
description: "Shorter version of display_name setting, used as button name."
collector:
type: hook
description: "Logic for extracting items from the scene and from dropped files."
default_value: "{self}/collector.py"
collector_settings:
type: dict
description: "Collector-specific configuration settings."
skip_validation: True
default_value: {}
post_phase:
type: hook
description:
"A hook that defines logic to be executed after each phase of publish
execution including validation, publish, and finalization. This allows
for very specific curation and customization of the publish tree
during a publish session. Serializing the publish tree to disk after
validation, for example is possible via this hook."
default_value: "{self}/post_phase.py"
path_info:
type: hook
description:
"This hook contains methods that are used during publishing to infer
information from file paths. This includes version and frame number
identification, publish display name, image sequence paths, etc."
default_value: "{self}/path_info.py"
publish_plugins:
type: list
description: "List of publish plugins."
skip_validation: True
values:
type: dict
items:
name:
type: str
hook:
type: hook
settings:
type: dict
description: "Publish-specific configuration settings."
default_value: {}
allows_empty: True
default_value:
# Default hook 1: publish any file to SG
- name: Publish to Shotgun
hook: "{self}/publish_file.py"
settings: {}
# Default hook 2: upload known, reviewable types to SG
- name: Upload for review
hook: "{self}/upload_version.py"
settings: {}
help_url:
type: str
description:
"The url to open when the 'help' button is clicked in the publisher.
The url should typically lead to a page that outlines the studio's
publishing workflow. If no url is provided, the help button will
not be displayed."
default_value: ""
validate_on_publish:
type: bool
default_value: true
description:
"If true (default), clicking the Publish button will execute the
validation logic before publishing. If false, validation will be
skipped. If false, and no validation has been manually triggered,
a popup, confirmation dialog will be displayed before proceeding
with the publish logic. NOTE: This is an advanced option. Setting
this to 'false' will most likely break the shipped toolkit
integrations which assume validation is always run before
publishing."
enable_manual_load:
type: bool
default_value: true
description:
"If true (default, normal operation), the user can interact with the
main dialog to drop files or folders. The user can also use the browse
buttons to select files or folders. When false, the feature basically
disable the user ability to add anything to the project."
# the Shotgun fields that this app needs in order to operate correctly
requires_shotgun_fields:
# More verbose description of this item
display_name: "Publish"
description: "Provides UI and functionality to publish files to Shotgun."
# Required minimum versions for this item to run
requires_shotgun_version:
requires_core_version: "v0.18.153"
requires_engine_version:
# this app works in all engines - it does not contain
# any host application specific commands
supported_engines:
# the frameworks required to run this app
frameworks:
- {"name": "tk-framework-shotgunutils", "version": "v5.x.x"}
- {"name": "tk-framework-qtwidgets", "version": "v2.x.x", "minimum_version": "v2.7.0"}