* 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>
* use proper start script
* implemented ayon variants of execute functions
* more suitable names of functions
* use 'PACKAGE_DIR' instead of 'OPENPYPE_REPOS_ROOT' environment variable
* use suitable enviornment variables in ayon mode
* keep sync server in openpype
* Better comment
* OP-6407 - fix wrong value used in comparison
`prerender.farm` is correct value for prerender family sent to farm
* OP-6407 - added test class for prerender family
* apply project environemnts after context environments are set
* make asset and task environments optional
* added more conditions for host environemnts
* validate context for host
* fix double negative