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

Application manager #728

merged 86 commits into from
Nov 24, 2020

Conversation

iLLiCiTiT
Copy link
Member

Changes

  • key changes: implemented classes ApplicationManager, Application, ApplicationLaunchContext (in ~/pype/lib/applications.py)
    • Application - simple class holding basic data about application
    • ApplicationManager - cares about loading of information about application, store them as Application object and launching them
    • ApplicationLaunchContext - object contains launch specification and where new process is created is similart to websocket event can contain temporary data for other functions similar to publish plugin currently contain multiple methods that should be converted to pre-launch hooks in future
  • implemented new usage methods in ftrack and launcher
  • application management in 2.x develop is same as was
  • modified pype.lib a little bit
    • added new file env_tools where environment variable tools are and were moved
    • get ffmpeg path function moved to ffmpeg utils as it's part of ffmpeg tool
  • modified setting schemas
    • implemented basic role system - to see item only in develop mode (e.g.)
    • applications has unified key executable instead of {host_name}_executable
    • applications has input for application label and variant label in development role
    • applications "variants" are under variants key item (dict-invisible used for this so none gui changes are for user) to be able recognoze easily what is what from loaded settings data
    • single template item can define multiple template item with usage of list in template_data
    • renamed files to start with schema_* or template_* in system schemas

How to test in 2.x develop?

  • set environment variable PYPE_USE_APP_MANAGER to "yes" or "true" or "1"

@@ -1,6 +1,6 @@
{
"studio_name": "convert from \"PYPE_STUDIO_NAME\"",
"studio_code": "convert from \"PYPE_STUDIO_CODE\"",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove client values !

@mkolar mkolar merged commit 0ea6c30 into 2.x/develop Nov 24, 2020
@mkolar mkolar deleted the feature/152_application_manager branch December 1, 2020 15:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants