Commit graph

19946 commits

Author SHA1 Message Date
Roy Nieterau
a2a77b8a20 Cleanup get_files_info docstring 2022-03-29 12:51:08 +02:00
Roy Nieterau
44d6199a9e Organize single file code more like sequence file code 2022-03-29 12:28:47 +02:00
Roy Nieterau
0c2c60d37b Unify usage of clique.assemble 2022-03-29 12:23:24 +02:00
Roy Nieterau
127f19873f Streamlining some code, optimize some database queries with projection 2022-03-29 11:58:52 +02:00
Roy Nieterau
77b5c24370 Fix message 2022-03-29 11:44:30 +02:00
Roy Nieterau
add4958d4c Fix message 2022-03-29 09:43:27 +02:00
Roy Nieterau
2777c36eb5 Rely on instance.data["fps"] over context.data["fps"]` if available 2022-03-28 20:34:16 +02:00
Roy Nieterau
e6665e579e Restructure code and more cleanup 2022-03-28 20:32:46 +02:00
Roy Nieterau
ba2c6e6f08 Fix class type 2022-03-28 15:43:57 +02:00
Roy Nieterau
8e0161bec7 Also Bulk Write representation changes + more cleanup
- Don't create intermediate archived representations
- Move writing of Subset + Version to database to just before file transactions
- Perform ReplaceOne for version instead of update with "$set" for the full version
2022-03-28 15:04:24 +02:00
Roy Nieterau
1844281c68 Match assertion for collection of files (allow no absolute paths) similar to single files 2022-03-26 20:41:22 +01:00
Roy Nieterau
fbdb385e5b Perform database registering of Subset and Version in a single Bulk Write 2022-03-26 20:20:00 +01:00
Roy Nieterau
c3e0162c43 Debug log when exclude family was found for the instance 2022-03-26 20:11:31 +01:00
Roy Nieterau
821293d3b8 Match comment from Integrator for consistency 2022-03-26 20:09:31 +01:00
Roy Nieterau
6ff7167d54 Separate get_template_name into its own method + use self.default_template_name 2022-03-26 20:09:08 +01:00
Roy Nieterau
8f8b578f0c Move Subset Grouping Profiles settings to Collect Subset Group
- This is moved from the Integrate Asset New settings
2022-03-26 19:58:55 +01:00
Roy Nieterau
7189954a3c Use os.path.abspath instead of os.path.normpath when adding a transfer 2022-03-26 14:44:19 +01:00
Roy Nieterau
177e83ec8b Restore "published_path" backwards compatibility for IntegrateFtrackInstance on Farm 2022-03-26 14:43:00 +01:00
Roy Nieterau
8fffc60b50 Move remainder of prepare anatomy data to the Collector 2022-03-26 14:37:23 +01:00
Roy Nieterau
d7c5ad1f7c Remove duplicate "source" in families 2022-03-26 14:33:37 +01:00
Roy Nieterau
d3cb32ebe1 Collect subset group in a Collector instead of during Integrator 2022-03-26 14:32:34 +01:00
Roy Nieterau
e0aaa5f6cc Move FileTransaction into lib 2022-03-26 14:20:13 +01:00
Roy Nieterau
b906365f59 Separate site sync logic further from Integrator plug-in (Draft) 2022-03-25 21:42:39 +01:00
Roy Nieterau
e1eb0887e0 Reduce database calls for register subset + prepare for bulk writes logic 2022-03-24 20:26:10 +01:00
Roy Nieterau
229626bffd Reformat code 2022-03-24 17:36:01 +01:00
Roy Nieterau
7713af5a1d Fix sequence functionality 2022-03-24 17:23:02 +01:00
Roy Nieterau
42175ff6f8 Fix get_profile_filter_criteria anatomy data key for app name 2022-03-24 14:41:56 +01:00
Roy Nieterau
3369c15bdf Preparation to delay Version document write to database closer to representation write 2022-03-24 14:25:15 +01:00
Roy Nieterau
5b1f6eb30c Move logic closer to where it's used 2022-03-24 14:23:27 +01:00
Roy Nieterau
9997acbbea Encapsulate version data completely into its own function 2022-03-24 14:22:49 +01:00
Roy Nieterau
b128e0addf Override stored repre context udim for backwards compatibility 2022-03-24 14:21:32 +01:00
Roy Nieterau
47259f8ef7 Add todo to move get subset group logic 2022-03-24 00:21:44 +01:00
Roy Nieterau
d6c682723d Remove todo since assetEntity already comes from Collectors + re-use families variable 2022-03-24 00:19:16 +01:00
Roy Nieterau
79286ead4b Re-use get families logic 2022-03-24 00:16:32 +01:00
Roy Nieterau
8edfb3f7d3 Simplify profile filtering 2022-03-24 00:10:59 +01:00
Roy Nieterau
3fd2d02014 Move logic to clarify what should be removed/moved and bring logic closer to where it's used 2022-03-23 23:55:40 +01:00
Roy Nieterau
177e244bd8 Remove prepare anatomy data logic that is already collected/generated in CollectAnatomyContextData and CollectAnatomyInstanceData.
This currently was duplicated logic and should not be handled in the Integrator
2022-03-23 23:45:24 +01:00
Roy Nieterau
8996280224 Reduce duplicated logic by implementing resolve_profile method 2022-03-23 23:38:05 +01:00
Roy Nieterau
4c0309263c Merge remote-tracking branch 'upstream/develop' into refactor_integrator
# Conflicts:
#	openpype/plugins/publish/integrate_new.py
2022-03-23 17:52:49 +01:00
Jakub Trllo
5901d45e5e
Merge pull request #2912 from pypeclub/enhancement/OP-2925_move-remaining-plugins
General: Move remaining plugins from avalon
2022-03-22 16:28:54 +01:00
Jakub Trllo
37f152adbf update avalon core 2022-03-22 16:27:57 +01:00
Jakub Trllo
ac6182c792 Merge branch 'develop' into enhancement/OP-2925_move-remaining-plugins 2022-03-22 16:14:22 +01:00
Jakub Trllo
83fd67eb8d
Merge pull request #2918 from pypeclub/enhancement/OP-2949_move-pipeline-constants
General: Move pipeline constants to OpenPype
2022-03-22 16:10:49 +01:00
Jakub Trllo
bbb12d283c
Merge pull request #2927 from pypeclub/enhancement/removed_unused_code
General: Removed silo references and terminal splash
2022-03-22 14:39:47 +01:00
Jakub Trllo
42a79966a3 fix trailing spaces 2022-03-22 13:38:38 +01:00
Jakub Trllo
6a6cbe6b99 removed terminal splash 2022-03-22 12:32:13 +01:00
Jakub Trllo
d721ed94e4 simplified loader to not use registered root 2022-03-22 12:31:50 +01:00
Jakub Trllo
5e5fc4ec55 removed silo references 2022-03-22 12:31:14 +01:00
Jakub Trllo
87a0663f52
Merge pull request #2926 from pypeclub/bugfix/dont_print_record_on_oserror
General: Don't print log record on OSError
2022-03-22 12:08:39 +01:00
Jakub Trllo
8b572a0d3c just handle error when is caused by OSError 2022-03-21 18:59:34 +01:00