ayon-core/openpype/hosts/nuke/plugins
Petr Kalis d33d20b548
Nuke: returned not cleaning of renders folder on the farm (#5374)
* 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>
2023-08-01 15:37:57 +02:00
..
create Order instances for processing 2023-07-20 18:23:43 +01:00
inventory import Logger from 'openpype.lib' instead of 'openpype.api' 2022-09-28 14:49:52 +02:00
load General: Reduce usage of legacy io (#4723) 2023-07-11 18:11:07 +02:00
publish Nuke: returned not cleaning of renders folder on the farm (#5374) 2023-08-01 15:37:57 +02:00
__init__.py OP-3021 - refactor CreateWritePrerender 2022-04-14 17:20:50 +02:00