Commit graph

2240 commits

Author SHA1 Message Date
Roy Nieterau
669a2256ef Merge develop 2023-03-29 14:46:41 +02:00
Jacob Danell
acbfb5985b Fixed task itteration
From the last PR (https://github.com/ynput/OpenPype/pull/4425) a comment-commit last second messed up and resultet in two lines being the same, crashing the script.
This fixes that.
2023-03-07 19:34:12 +01:00
Roy Nieterau
99fd03d2d3 Merge remote-tracking branch 'upstream/develop' into fusion-new-publisher 2023-03-06 16:16:00 +01:00
Jacob Danell
67bc287321 Fix hound comments 2023-03-03 16:49:11 +01:00
Jacob Danell
8fc6978ea2 Formatted with Black 2023-03-03 16:49:11 +01:00
Ember Light
c50678bcb8 Update openpype/modules/kitsu/utils/update_op_with_zou.py
Co-authored-by: Félix David <felixg.david@gmail.com>
2023-03-03 16:49:11 +01:00
Jacob Danell
7176be9f92 Log msg for new_task now work for both shot and assets 2023-03-03 16:49:11 +01:00
Jacob Danell
804cdcafd6 Store the gazu asset data in OPs DB as sync_service does
This isn't the most optimal way to do it but it makes sure the data is consistent through out the code until we can revision sync_service to only use the ID from the dict.
2023-03-03 16:49:11 +01:00
Jacob Danell
966ba0166e Fixed delete_task msg creation to work with assets and episodes 2023-03-03 16:49:11 +01:00
Jacob Danell
95e1f95bc1 Moved all ep_dict code into one function 2023-03-03 16:49:11 +01:00
Ember Light
93eb9fce86 Update openpype/modules/kitsu/utils/sync_service.py
Co-authored-by: Félix David <felixg.david@gmail.com>
2023-03-03 16:49:11 +01:00
Jacob Danell
5a9ea0d130 Changed back from dict to doc for var names 2023-03-03 16:49:11 +01:00
Jacob Danell
247778575f Project creation logs happens outside of write_project_to_op() function 2023-03-03 16:49:11 +01:00
Jacob Danell
0beec8c3a7 Fixed hound's comments 2023-03-03 16:49:11 +01:00
Jacob Danell
0d981a6129 Fixed hound's comments 2023-03-03 16:49:11 +01:00
Jacob Danell
8bf970e8b9 fixed hound's comments 2023-03-03 16:49:11 +01:00
Jacob Danell
962d0783b0 Fixed fetching of kitsu_task + moved data checks to the top of loop 2023-03-03 16:49:11 +01:00
Jacob Danell
7965b91daf Moved kitsu_project out of context loop 2023-03-03 16:49:11 +01:00
Jacob Danell
d153e6c224 Split up the difference in name and type Assets/Shots generate
Before it was only working for shots. Now it also works for Assets.
I'm ding an elif as Kitsu now also have tasks for sequences, edits and other things.
Will try and add those in at a later stage.
2023-03-03 16:49:11 +01:00
Jacob Danell
d9ac1ee952 Cleaned up log.info() message creation 2023-03-03 16:49:11 +01:00
Jacob Danell
bcea2c70a2 Cleaned up project deletion code 2023-03-03 16:49:11 +01:00
Jacob Danell
13a4c7201e change task to task_id 2023-03-03 16:49:11 +01:00
Jacob Danell
0f76d3a44e Cleaned up the fetching of the entity_id
Also changed the name kitsu_id to entity_id and kitsu_entity to just entity as that's what it is.
2023-03-03 16:49:11 +01:00
Jacob Danell
f9137bdb04 Added docstring and changed doc to dict in var-names 2023-03-03 16:49:11 +01:00
Jacob Danell
3fc2180e51 Fixed all quotes types so they now match 2023-03-03 16:49:11 +01:00
Jacob Danell
4bcef44068 Fixed hound's max-length note 2023-03-03 16:49:11 +01:00
Jacob Danell
915d110404 Set frame_out to frame_in if no duration exists
fix for https://github.com/ynput/OpenPype/pull/4425#discussion_r1108593566
2023-03-03 16:49:11 +01:00
Jacob Danell
07ac3d8d4d If no task in instance, continue
fix fore https://github.com/ynput/OpenPype/pull/4425#discussion_r1108582918
2023-03-03 16:49:11 +01:00
Jacob Danell
c4f1a1f452 Fixed hound's "line too long" comments 2023-03-03 16:49:11 +01:00
Jacob Danell
ef698b4afa Fixed 1 extra frame at frameEnd
Same as #4466
2023-03-03 16:49:11 +01:00
Jacob Danell
1045ee0c1e Check if asset_doc exist before processing it 2023-03-03 16:49:11 +01:00
Jacob Danell
7e6c47967f Get episode_id using get() as ep_id might not always exist 2023-03-03 16:49:11 +01:00
Jacob Danell
793af30caa Changed AssertionError to ValueError 2023-03-03 16:49:11 +01:00
Jacob Danell
290709705e Changed logging from f-string to .format() 2023-03-03 16:49:11 +01:00
Jacob Danell
8652dab478 Fixed 'instance' code 2023-03-03 16:49:11 +01:00
Jacob Danell
4bc67437b6 Fixed line too long and too many '#' for comments 2023-03-03 16:49:11 +01:00
Jacob Danell
c44c5c9ddb Get asset and task names from instance only 2023-03-03 16:49:11 +01:00
Jacob Danell
47caa76030 Updated Kitsu Sync module to fully work with all events
Manually tried all events, added logging for events and cleaned up the code some.
2023-03-03 16:49:11 +01:00
Jacob Danell
bb61d43c27 Shortened length of line 141 2023-03-03 16:49:11 +01:00
Jacob Danell
dc2b519fd5 Fixed hound-bots comments 2023-03-03 16:49:11 +01:00
Jacob Danell
72270005ed Update Kitsu plugin to work without assetEntry 2023-03-03 16:49:11 +01:00
Jacob Danell
27c8a1f360 Fixed so correct review file gets uploaded to Kitsu 2023-03-03 16:49:11 +01:00
Jacob Danell
785825751a Add render to families to make sure a task exists to process 2023-03-03 16:49:11 +01:00
Jacob Danell
5dee2b8ff6 Add missing attributes to each asset
Without them, Tray Publisher errors out.
2023-03-03 16:49:11 +01:00
Jacob Danell
3b4cdb13db Add parents key to assets and shots
Without this you can't open the project in Tray Publisher
2023-03-03 16:49:11 +01:00
Jacob Danell
a005d10829 Add Resolution and Pixel Aspect to each item
Without this info eg. Fusion would throw an error and stop working.
2023-03-03 16:49:11 +01:00
Jacob Danell
9795e7c910 Populate items with correct data from Kitsu or project defaults
If data doesn't exist in Kitsu, use Projects default data.
2023-03-03 16:49:11 +01:00
Jacob Danell
76273b7376 lowercase URL path to match in Kitsu
Without this fix the menu-dropdown wouldn't show the correct current page in Kitsu
2023-03-03 16:49:11 +01:00
Jacob Danell
6f0cd7fc2f add visualParent None to Shots and Assets
Without this, tray-publisher throws  an error and stops working.
2023-03-03 16:49:11 +01:00
Jakub Ježek
a75c1bb172
Merge pull request #4519 from ynput/bugfix/OP-4932_Nuke-chunk-size-is-not-propagated-from-DL-setting-to-Nuke-Publisher
Nuke: creator farm attributes from deadline submit plugin settings
2023-03-03 12:13:43 +01:00