This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
Ftrack: Add more options for note text of integrate ftrack note #3025
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Brief description
Added option to fill published files and host name in note during integration of ftrack note.
Description
Reorganized integrate ftrack api plugin to be more readable. Integrate Ftrack Api now does not collect only used asset versions but also component data that were used to create them which gives ability to get published paths.
Integrate ftrack note does not require comment from artist to be able add the note, because the note may consist only from published paths and intent, but empty notes are not created. Added 4 new possible keys into note template
{host_name}
,{app_name}
,{app_label}
and{published_paths}
which adds all published paths.Extended host name collector to collect app name and app label into context.
Additional info
Changed key in settings because note template was extended.
From:
project_settings/ftrack/publish/IntegrateFtrackNote/note_with_intent_template
Into:
project_settings/ftrack/publish/IntegrateFtrackNote/note_template
Testing notes:
IntegrateFtrackNote
and change the format to contain new keys