ayon-core/openpype/hosts/nuke
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
..
api Order instances for processing 2023-07-20 18:23:43 +01:00
hooks adding empty lines 2023-02-23 15:47:47 +01:00
plugins Nuke: returned not cleaning of renders folder on the farm (#5374) 2023-08-01 15:37:57 +02:00
startup hound fix 2023-06-20 19:24:41 +08:00
vendor/google/protobuf added protobuf into nuke vendor 2022-08-24 15:02:04 +02:00
__init__.py renamed nuke to addon 2022-08-26 15:17:51 +02:00
addon.py adding hook to host 2023-02-23 15:47:47 +01:00