* ApplicationManager can have more granular way how applications are launched
* executable is optional to be able create ApplicationLaunchContext
* launch context can run prelaunch hooks without launching application
* 'get_app_environments_for_context' is using launch context to prepare environments
* added 'launch_type' as one of filtering options for LaunchHook
* added 'local' launch type filter to existing launch hooks
* define 'automated' launch type in remote publish function
* modified publish and extract environments cli commands
* launch types are only for local by default
* fix import
* fix launch types of global host data
* change order or kwargs
* change unreal filter attribute
* use set instead of list
* removed '__init__' from celaction hooks
* use 'CELACTION_ROOT_DIR' in pre setup
* use full import from applications
* ApplicationManager can have more granular way how applications are launched
* executable is optional to be able create ApplicationLaunchContext
* launch context can run prelaunch hooks without launching application
* 'get_app_environments_for_context' is using launch context to prepare environments
* added 'launch_type' as one of filtering options for LaunchHook
* added 'local' launch type filter to existing launch hooks
* define 'automated' launch type in remote publish function
* modified publish and extract environments cli commands
* launch types are only for local by default
* fix import
* fix launch types of global host data
* change order or kwargs
* change unreal filter attribute
* OP-6439 - mark farm rendered images for deletion only if not persistent
Farm produces images into `renders` folder, which might be set as persistent for some hosts (Nuke). Mark rendered images for explicit deletion if they are not stored in persistent staging folder.
* OP-6439 - allow storing of stagingDir_persistent into metadata.json
Instance could carry `stagingDir_persistent` flag denoting that staging dir shouldnt be deleted. This allow to propagate this into farm publishing.
TODO - shouldnt this be on representation as stagingDir is there and each repre could have different stagingDir?
* OP-6439 - mark all Nuke staging dir as persistent
Backward compatibility as previously Nuke kept images rendered in `renders` eg. stagingDir. There are workflows which rely on presence of files in `renders` folder.
* Update openpype/pipeline/farm/pyblish_functions.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
---------
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>