Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standalone: settings improvements #3355

Merged
merged 7 commits into from Jun 23, 2022

Conversation

jakubjezek001
Copy link
Member

@jakubjezek001 jakubjezek001 commented Jun 16, 2022

Brief description

Added missing settings for shot rename switch

Description

  • also added hierarchy switch for cases we dont need to create hierarchy from scratch and want to use selected hierarchy from standalone.

Additional info

For testing of simple editorial publishing use this files

Testing notes:

  1. open standalone publisher
  2. in Settings on your project set project_settings/standalonepublisher/publish/CollectHierarchyInstance/shot_add_hierarchy/enabled to False.
  3. use testing .edl as file to process, set hierarchy where you want those to be at parent and select editorial family

@jakubjezek001 jakubjezek001 self-assigned this Jun 16, 2022
@jakubjezek001 jakubjezek001 added host: Standalone type: bug Something isn't working labels Jun 16, 2022
@64qam 64qam self-requested a review June 17, 2022 07:39
Copy link
Member

@64qam 64qam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is working well in this branch. But when the latest develop is merged into it crashes on Integrate asset new
image

@jakubjezek001 jakubjezek001 requested a review from 64qam June 20, 2022 08:59
@jakubjezek001
Copy link
Member Author

I have merged actual develop branch - expecting that problem was in a bug living in developing at the time.

@64qam
Copy link
Member

64qam commented Jun 21, 2022

Still the same issue even on the new project

@mkolar
Copy link
Member

mkolar commented Jun 23, 2022

@iLLiCiTiT could you please have a look? Maybe you'll shed some light here, while Jakub is on holiday

@iLLiCiTiT
Copy link
Member

Issue of this is that review instances have only one representation which should not be integrated but IntegrateAssetNew don't care about it and find it out too late. Created separated PR as it's not directly connected to this issue #3398.

…before_integration_start

General: Filter representations before integration start
if "delete" in repre.get("tags", []):
continue

for idx, repre in enumerate(repres):
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Loop control variable 'idx' not used within the loop body. If this is intended, start the name with an underscore.

@@ -158,7 +192,7 @@ def process(self, instance):
self.handle_destination_files(self.integrated_file_sizes, 'remove')
six.reraise(*sys.exc_info())

def register(self, instance):
def register(self, instance, repres):
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'IntegrateAssetNew.register' is too complex (52)

@iLLiCiTiT iLLiCiTiT merged commit c2fcd5d into develop Jun 23, 2022
@iLLiCiTiT iLLiCiTiT deleted the bugfix/stpublisher-editorial-hierarchy branch June 23, 2022 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants