Commit graph

5972 commits

Author SHA1 Message Date
jakubjezek001
ec1e118346
Collect only 'path' field when checking hierarchy
The collect hierarchy plugin was retrieving all fields when getting
existing folders from the database, but only the 'path' field is needed.
This change reduces the amount of data transferred.
2025-11-18 13:33:32 +01:00
jakubjezek001
4d47cb78b3
Refactor: Simplify CollectHierarchy logic
Simplify folder path collection and existing entity lookup for
CollectHierarchy plugin. Use sets and dicts for improved efficiency and
readability.
2025-11-18 13:28:22 +01:00
jakubjezek001
8fcd6c0425
Collect existing folder entities for shots
Collect existing folder entities for shots to check if shot attributes
should be synced during update.
2025-11-14 17:54:31 +01:00
jakubjezek001
39e12331f0
adding todo 2025-11-14 17:27:10 +01:00
jakubjezek001
82cb180058
Add option to ignore shot attributes update
Adds an option to the Collect Hierarchy plugin to ignore shot attributes
when updating.
2025-11-14 17:24:48 +01:00
jakubjezek001
85c5fac7b9
no need to specify hosts in plugin where only shot product type is
defined. This is only used inside of any editorial or csv ingest
2025-11-14 16:50:05 +01:00
Jakub Ježek
67bf46d9c2
Merge branch 'develop' into bugfix/YN-0073_publishing-clip-without-media-source-link 2025-10-24 17:36:51 +02:00
Jakub Jezek
3ee7c30cae
Handles missing media references in OTIO clips
Adds a check for missing media references in OTIO clips
during publishing.
2025-10-24 17:35:28 +02:00
Petr Kalis
fcebdaf130 Do not send dummy status if not found 2025-10-24 16:00:42 +02:00
Petr Kalis
542acd0896 Fix access to dict keys 2025-10-24 15:33:15 +02:00
Petr Kalis
3104e07c78 Fix access to dict keys 2025-10-24 15:30:52 +02:00
Petr Kalis
fcc82a8e46 Transfer status and tags 2025-10-24 14:14:21 +02:00
Petr Kalis
e75a8a90e2 Merge branch 'enhancement/YN-0132_create_source_task_if_no_selected' of https://github.com/ynput/ayon-core into enhancement/YN-0132_create_source_task_if_no_selected 2025-10-24 12:21:07 +02:00
Petr Kalis
49162f228e Fix pushed products not attaching to version 2025-10-24 12:20:54 +02:00
Petr Kalis
636ef024b7 Task is optional 2025-10-24 12:20:34 +02:00
Petr Kalis
efec97fda3 Return task info from created object 2025-10-24 12:20:14 +02:00
Petr Kalis
f6e4d50137 Fix overwriting real task name with name of task type 2025-10-24 12:19:31 +02:00
Petr Kalis
f33b13c194
Fix if source version doesn't have task
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2025-10-24 11:22:13 +02:00
Petr Kalis
7e3e5855b8 Fix use of lower task name 2025-10-24 11:01:24 +02:00
Petr Kalis
334b783c8f Merge origin 2025-10-23 17:26:08 +02:00
Petr Kalis
42722c0896 Added validation that task type is in destination project 2025-10-23 17:20:16 +02:00
Petr Kalis
04322ef94d Removed hard fail, unnecessary 2025-10-23 17:08:35 +02:00
Petr Kalis
ca7162fb4b Merge develop 2025-10-23 17:07:13 +02:00
Petr Kalis
cea56fbe53
Formatting change
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2025-10-23 17:04:32 +02:00
Petr Kalis
67994bb5a3
Remove unnecessary variable
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2025-10-23 17:04:07 +02:00
Petr Kalis
7b5ca16993
Use lower only for comparison
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2025-10-23 17:03:50 +02:00
Petr Kalis
9b6d402bc5
Merge branch 'develop' into bugfix/YN-0133_copy_folder_type 2025-10-23 17:00:35 +02:00
Petr Kalis
1ee701b52f Fix dict typing 2025-10-23 11:32:30 +02:00
Petr Kalis
0bade2d940 Update usage of renamed _get_dst_folder_type 2025-10-23 11:28:33 +02:00
Petr Kalis
c50406a279
Simplify pop
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2025-10-23 11:26:09 +02:00
Petr Kalis
87f1d458b8
Change return of _check_src_folder_type
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2025-10-23 11:25:44 +02:00
Petr Kalis
f13a40aa73
Fix typing
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2025-10-23 11:24:41 +02:00
Petr Kalis
f0230e24a7 Fix use operations instead of ayon_api
Must be in same session as create folder if 'Create New Folder'
2025-10-23 11:20:03 +02:00
Jakub Trllo
7542d446d0
Merge branch 'develop' into enhancement/1496-yn-0069-more-user-data-in-templates 2025-10-23 11:09:19 +02:00
Jakub Trllo
ef0f5ac023 remove custom copy and deepcopy implementation 2025-10-23 11:06:35 +02:00
Petr Kalis
d8dd2a23a8 Typing 2025-10-23 10:55:48 +02:00
Petr Kalis
0ebbd0a232 Extracted logic to methods 2025-10-23 10:55:37 +02:00
Jakub Trllo
5d7416c0ef
Merge branch 'develop' into bugfix/YN-0133_copy_folder_type 2025-10-23 09:52:27 +02:00
Petr Kalis
0d235ed8ca Create destination task if no task selected 2025-10-22 18:58:20 +02:00
Jakub Ježek
4d1bbf012a
Merge branch 'develop' into bugfix/YN-0123-hiero-squished-reviewables 2025-10-22 16:56:25 +02:00
Ynbot
45ddec53d3 [Automated] Update version in package.py for develop 2025-10-22 14:51:09 +00:00
Ynbot
a077c57eee [Automated] Add generated package files from main 2025-10-22 14:50:25 +00:00
Petr Kalis
9340df7a25 Copy source folder type to destination 2025-10-22 16:14:01 +02:00
Petr Kalis
475d4800a2 Check that source folder type could be pushed to destination 2025-10-22 16:13:44 +02:00
Petr Kalis
062f756413 Typing
At least some, dont know how to import NewFolderDict
2025-10-22 16:07:26 +02:00
Jakub Trllo
db11ba7437 add docstring 2025-10-22 14:59:30 +02:00
Jakub Trllo
b094cbd0cb use same logic in integrate hero as in integrate 2025-10-22 14:33:48 +02:00
Jakub Trllo
d700f9f09b custom handling of 'user' data used for template 2025-10-22 14:32:12 +02:00
Jakub Trllo
2e2d67c243 allow to pass user entity to get_template_data 2025-10-22 14:31:57 +02:00
Jakub Trllo
54aedc8426 use user entity when getting template data during publishing 2025-10-22 14:31:34 +02:00