ayon-core/openpype/pipeline
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 Merge branch 'develop' into enhancement/OP-3555_Nuke-Render-and-Prerender-nodes-Process-Order 2023-07-31 16:34:19 +02:00
farm Nuke: returned not cleaning of renders folder on the farm (#5374) 2023-08-01 15:37:57 +02:00
load Loader: Remove context argument from Loader.__init__() (#4602) 2023-07-11 17:48:33 +02:00
publish Nuke: returned not cleaning of renders folder on the farm (#5374) 2023-08-01 15:37:57 +02:00
schema Chore: Schemas inside OpenPype (#5354) 2023-07-27 10:20:36 +02:00
workfile General: Reduce usage of legacy io (#4723) 2023-07-11 18:11:07 +02:00
__init__.py added 'HiddenCreator' to pipeline public api 2023-07-20 15:53:15 +02:00
actions.py removed debug prints 2022-03-24 13:31:45 +01:00
anatomy.py General: Connect to AYON server (base) (#3924) 2023-07-11 17:50:50 +02:00
colorspace.py Fix colorspace compatibility check (#5334) 2023-07-25 15:43:59 +02:00
constants.py ♻️ replace OpenPype/Avalon for Ayon 2023-04-14 17:42:42 +02:00
context_tools.py General: Reduce usage of legacy io (#4723) 2023-07-11 18:11:07 +02:00
delivery.py oscar's comment 2023-07-12 11:41:34 +08:00
editorial.py editorial fixing handles to int and adding speed attribute 2022-08-19 16:15:16 +02:00
legacy_io.py General: Connect to AYON server (base) (#3924) 2023-07-11 17:50:50 +02:00
mongodb.py General: Connect to AYON server (base) (#3924) 2023-07-11 17:50:50 +02:00
plugin_discover.py public 'discover' function can expect all possible arguments 2023-02-16 09:52:39 +01:00
project_folders.py skip folders creation if are not set 2022-08-31 16:15:28 +02:00
tempdir.py removing python3 only code 2023-02-15 12:26:50 +01:00
template_data.py General: Reduce usage of legacy io (#4723) 2023-07-11 18:11:07 +02:00
thumbnail.py General: Connect to AYON server (base) (#3924) 2023-07-11 17:50:50 +02:00