Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Application manager #728

Merged
merged 86 commits into from
Nov 24, 2020
Merged
Show file tree
Hide file tree
Changes from 76 commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
cfbe04d
simple version of user role in settings gui
iLLiCiTiT Nov 17, 2020
6edabcb
hide items not available for specific user role
iLLiCiTiT Nov 17, 2020
8cc56b1
template item can have multiple item definitions in one schema item
iLLiCiTiT Nov 17, 2020
6845545
changed `{host_name}_executables` key to `executables`
iLLiCiTiT Nov 17, 2020
10b176e
host template has also label and variant label inputs for developers
iLLiCiTiT Nov 17, 2020
b644bb9
variants are wrapped under invisible dict with key `variants`
iLLiCiTiT Nov 17, 2020
adc8caa
hosts schema also contain label (host label) only for developers
iLLiCiTiT Nov 17, 2020
3d96589
renamed `system_host_template` to `template_host_variant`
iLLiCiTiT Nov 17, 2020
ce0b270
renamed hosts schemas and templates files
iLLiCiTiT Nov 17, 2020
73295c3
renamed all system settings schemas and templates kept examples with …
iLLiCiTiT Nov 17, 2020
51912c4
updated added new template for hosts unchangeable values
iLLiCiTiT Nov 17, 2020
8d1cdbf
added unchangable template to hosts
iLLiCiTiT Nov 17, 2020
bb280f7
initial commit of application manager
iLLiCiTiT Nov 17, 2020
b24be8f
applications manager works with expect icons
iLLiCiTiT Nov 17, 2020
4dd9d72
moved the code to applications.py
iLLiCiTiT Nov 17, 2020
f8532c4
added new defaults of settings
iLLiCiTiT Nov 17, 2020
a0d5a41
corrent keys are used with tools
iLLiCiTiT Nov 17, 2020
b2a3a8d
added few docstrings
iLLiCiTiT Nov 17, 2020
2c91355
added few more docstrings
iLLiCiTiT Nov 17, 2020
2d6a507
made application context more prelaunch hook ready
iLLiCiTiT Nov 18, 2020
7e37702
few raises information
iLLiCiTiT Nov 18, 2020
8c238d8
added iter to app manager
iLLiCiTiT Nov 18, 2020
b8bb62d
added manager to lib init
iLLiCiTiT Nov 18, 2020
da25277
implemented new applications ftrack action
iLLiCiTiT Nov 18, 2020
df37b9c
added enabled check
iLLiCiTiT Nov 18, 2020
558d976
do not use pypelib in action
iLLiCiTiT Nov 18, 2020
cba93bb
resources has variable RESOURCES_DIR
iLLiCiTiT Nov 18, 2020
011508c
icon path is also tried with formatting icon string
iLLiCiTiT Nov 18, 2020
ab943e7
fixed small issue in launch logic
iLLiCiTiT Nov 18, 2020
f144757
use pype logger to get any output
iLLiCiTiT Nov 18, 2020
f0e4bb6
added simple after launch procedures
iLLiCiTiT Nov 18, 2020
fc2f4f9
after launch procedures in try except
iLLiCiTiT Nov 18, 2020
24a8fad
moved `env_value_to_bool` to env_tools
iLLiCiTiT Nov 18, 2020
1901c83
applications imports fix
iLLiCiTiT Nov 18, 2020
314c251
get_paths_from_environ moved to env_tools
iLLiCiTiT Nov 18, 2020
9a04ace
env_value_to_bool has docstring
iLLiCiTiT Nov 18, 2020
4e0ae38
get_ffmpeg_tool_path moved to ffmpeg utils
iLLiCiTiT Nov 18, 2020
2d56b42
added choice to use app manager with setting PYPE_USE_APP_MANAGER env…
iLLiCiTiT Nov 18, 2020
caaa341
added application action to launcher tool
iLLiCiTiT Nov 18, 2020
675a1e1
implemented actions for launcher with app manager
iLLiCiTiT Nov 18, 2020
c3b9f25
remove unused imports
iLLiCiTiT Nov 18, 2020
2b56a40
replaced RESOURCES_DIR in get_resource method
iLLiCiTiT Nov 18, 2020
cb58f6a
Exceptions have docstrings
iLLiCiTiT Nov 19, 2020
c281059
ApplicationNotFound has minimum message
iLLiCiTiT Nov 19, 2020
bcd28e7
Launcher will show popup message when something went wrong with appli…
iLLiCiTiT Nov 19, 2020
f27179d
do message and details in executables exception
iLLiCiTiT Nov 19, 2020
6d9d723
error message appears in ftrack whene executable was not found
iLLiCiTiT Nov 19, 2020
dec7fbc
changed `message` attribute to `msg`
iLLiCiTiT Nov 19, 2020
8d1b564
add tools to settings
mkolar Nov 19, 2020
14024bc
invalidate raw json on init
iLLiCiTiT Nov 19, 2020
08b21b6
modifiable dict in tools can have the key `variants`
iLLiCiTiT Nov 20, 2020
e629403
wrapped other tools to dict-invisible to keep same structure
iLLiCiTiT Nov 20, 2020
c1d2e85
updated tools values
iLLiCiTiT Nov 20, 2020
0acf2bd
filled few paths
iLLiCiTiT Nov 20, 2020
0e00e93
filled few paths
iLLiCiTiT Nov 20, 2020
72c6a4c
store environment metadata only if raw json is marked for environment…
iLLiCiTiT Nov 20, 2020
510ec38
empty env metadata keys
iLLiCiTiT Nov 20, 2020
25e025d
add mtoa example environment
mkolar Nov 20, 2020
2dc662c
added ApplicationTool structure
iLLiCiTiT Nov 20, 2020
e62948e
use ApplciationTool in environment setting
iLLiCiTiT Nov 20, 2020
81caa92
removed Super Maya label
iLLiCiTiT Nov 20, 2020
2ac5333
remove check of as widget item for env groups
iLLiCiTiT Nov 20, 2020
2bb0372
env_group_key has setter
iLLiCiTiT Nov 20, 2020
6881740
raw json cares about metadata during `item_value` method
iLLiCiTiT Nov 20, 2020
15ca727
modifiable dictionary can be marked to store env groups
iLLiCiTiT Nov 20, 2020
ea6a55d
key change in modifiable dictionary item has inter method
iLLiCiTiT Nov 20, 2020
a007c39
tools modifiable dictionary is marked to store env variables
iLLiCiTiT Nov 20, 2020
6092942
new tools data with metadata
iLLiCiTiT Nov 20, 2020
0051942
tool_name is not needed for toom template
iLLiCiTiT Nov 20, 2020
326dbd0
added few logs
iLLiCiTiT Nov 20, 2020
77ae17f
fix env groups
iLLiCiTiT Nov 20, 2020
9258f2e
keep python 2 support
iLLiCiTiT Nov 20, 2020
87c35e2
borrowed and modified acre merge function
iLLiCiTiT Nov 20, 2020
9bba709
added ability to create applications and tools attribute with applica…
iLLiCiTiT Nov 20, 2020
19a04ea
added is_tool key to determine if has app group host implementation
iLLiCiTiT Nov 20, 2020
1e2c88b
used is_host attribute to create applications in ftrack
iLLiCiTiT Nov 20, 2020
c2f8793
add maya version defaults
mkolar Nov 23, 2020
ea8792d
added item validations to default savings too
iLLiCiTiT Nov 23, 2020
9eec66e
default returns copy of cached defaults
iLLiCiTiT Nov 23, 2020
9225589
find_environments does not pop metadata keys
iLLiCiTiT Nov 23, 2020
219515e
added few comments
iLLiCiTiT Nov 23, 2020
8494fd5
duplicated environment group keys are checked
iLLiCiTiT Nov 23, 2020
4b1908b
added validation of duplicated environemnt groupts to system settings
iLLiCiTiT Nov 23, 2020
cc31a90
remove application environments
mkolar Nov 23, 2020
2e88b1b
remove obsolete launchers
mkolar Nov 23, 2020
faf6d94
remove obsolete muster template mapping and fix forgotten test line :D
mkolar Nov 23, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 20 additions & 6 deletions pype/lib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
set_io_database
)

from .env_tools import (
env_value_to_bool,
get_paths_from_environ
)

from .avalon_context import (
is_latest,
any_outdated,
Expand All @@ -20,6 +25,9 @@

from .applications import (
ApplicationLaunchFailed,
ApplictionExecutableNotFound,
ApplicationNotFound,
ApplicationManager,
launch_application,
ApplicationAction,
_subprocess
Expand All @@ -30,17 +38,21 @@
from .path_tools import (
version_up,
get_version_from_path,
get_last_version_from_path,
get_paths_from_environ,
get_ffmpeg_tool_path
get_last_version_from_path
)

from .ffmpeg_utils import ffprobe_streams
from .ffmpeg_utils import (
get_ffmpeg_tool_path,
ffprobe_streams
)

__all__ = [
"get_avalon_database",
"set_io_database",

"env_value_to_bool",
"get_paths_from_environ",

"is_latest",
"any_outdated",
"get_asset",
Expand All @@ -53,6 +65,9 @@
"execute_hook",

"ApplicationLaunchFailed",
"ApplictionExecutableNotFound",
"ApplicationNotFound",
"ApplicationManager",
"launch_application",
"ApplicationAction",

Expand All @@ -61,10 +76,9 @@
"version_up",
"get_version_from_path",
"get_last_version_from_path",
"get_paths_from_environ",
"get_ffmpeg_tool_path",

"ffprobe_streams",
"get_ffmpeg_tool_path",

"source_hash",
"_subprocess"
Expand Down
Loading