* implemented helper function to get instance label
* use 'get_publish_instance_label' in some of existing plugins
* use 'get_publish_instance_label' in publisher controller
* OP-1066 - add expected files in Deadline into explicit cleanup
Implicit cleanup doesn't work correctly, safest option is for DL submissions to mark only files that should be rendered to be deleted after successful publish.
* OP-1066 - moved collecting of expected files into collector
Parsing of json didn't have context implemented, it is easier to mark expected files in collector.
* OP-4793 - delete full stagingDir
Reviews might be extracted into staging dir, should be removed too.
* Revert "OP-4793 - delete full stagingDir"
This reverts commit 8b002191e1ad3b31a0cbe439ca1158946c43b049.
* OP-1066 - added function to mark representation files to be cleaned up
Should be applicable for all new representations, as reviews, thumbnails, to clean up their intermediate files.
* OP-1066 - moved files to better file
Cleaned up occurences where not necessary.
* OP-1066 - removed unused import
* OP-1066 - removed unnecessary setdefault
* OP-1066 - removed unnecessary logging
* OP-1066 - cleanup metadata json
Try to cleanup parent folder if empty.
* Tweak log levels and message to be more informative to artist in report page
* Tweak levels and clarity of logs
* Tweak levels and clarity of logs + tweak grammar
* Cosmetics
* Improve logging
* Simplify logging
* Convert to debug log if it's skipping thumbnail integration if there's no thumbnail whatsoever to integrate
* Tweak to debug since they only show representation ids hardly understandable to the artist
* Match logging message across hosts + include filepath for full clarity
* Tweak message to clarify it only starts checking and not that it requires filling + to debug log
* Tweak to debug log if there's basically no thumbnail to integrate at the end
* Tweak log levels
- Artist doesn't care what's prepared, especially since afterwards it's logged what gets written to the database anyway
* Log clearly it's processing a legacy instance
* Cosmetics
* Allow to open with djv by extension instead of representation name
* Turn extensions into `set` like on base loader class
---------
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* TemplatesDict can create different type of template
* anatomy templates can be formatted on their own
* return objected templates on get item
* '_rootless_path' is public classmethod 'rootless_path_from_result'
* 'AnatomyStringTemplate' expect anatomy templates
* remove key getters
* fix typo 'create_ojected_templates' -> 'create_objected_templates'
* Fix type of argument
* Fix long line
* Optimize formatting to use single template formatting instead of formatting full anatomy
* Optimize formatting to use single template formatting instead of formatting full anatomy
* Optimize formatting to use single template formatting instead of formatting full anatomy
* Optimize formatting to use single template formatting instead of formatting full anatomy
* Optimize formatting to use single template formatting instead of formatting full anatomy
* Optimize formatting to use single template formatting instead of formatting full anatomy
* Optimize formatting to use single template formatting instead of formatting full anatomy
* Use format strict + code cosmetics
* Get template from the formatted data
* Update openpype/plugins/publish/integrate_legacy.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* Cosmetics
* Move template obj definition for path up + rename to `path_template_obj`
* Refactor more cases from `anatomy.format` to template obj `.format_strict`
* Refactor more cases from `anatomy.format` to template obj `.format_strict`
* Refactor more cases from `anatomy.format` to template obj `.format_strict`
---------
Co-authored-by: Jakub Trllo <jakub.trllo@gmail.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* remove hosts filter in ExtractBurnin
* skip instances without representations instead of crash
---------
Co-authored-by: Jakub Ježek <jakubjezek001@gmail.com>
* Remove "preview" data from representation
* pop "preview" from component in standalone publisher
---------
Co-authored-by: Jakub Trllo <jakub.trllo@gmail.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>