Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

sync to avalon doesn t remove renamed task #619

Conversation

kalisp
Copy link
Member

@kalisp kalisp commented Oct 7, 2020

Solves #605

Reworked task handling in Event server. Simplified, any change in task will force collection of task information for Asset from FTrack and recreation of Task dictionary in Avalon Asset.

Part for manual syncing through Action
Part for syncing through Event server
Rewrite of approach, simplified, in any task change is noticed,
parents of changed tasks are captured, all task entities are pulled
from Ftrack and Task dictionaries are recreated from scratch.
@kalisp kalisp requested a review from a team October 7, 2020 18:50
@kalisp kalisp self-assigned this Oct 7, 2020
passed_regex = avalon_sync.check_regex(
entity["name"], "task",
schema_patterns=self.regex_schemas
)
Copy link

Choose a reason for hiding this comment

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

continuation line over-indented for hanging indent

tasks_per_ftrack_id[ftrack_id] = {}

passed_regex = avalon_sync.check_regex(
entity["name"], "task",
Copy link

Choose a reason for hiding this comment

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

continuation line over-indented for hanging indent

@kalisp kalisp linked an issue Oct 8, 2020 that may be closed by this pull request
@mkolar mkolar added this to the 2.13 milestone Oct 8, 2020
@mkolar mkolar added the type: bug Something isn't working label Oct 8, 2020
@mkolar mkolar merged commit 0524891 into ynput:2.x/develop Oct 8, 2020
@mkolar mkolar changed the title Bugfix/605 sync to avalon doesn t remove renamed task sync to avalon doesn t remove renamed task Oct 8, 2020
@kalisp kalisp deleted the bugfix/605-sync-to-avalon-doesn-t-remove-renamed-task branch October 20, 2020 17:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sync to avalon doesn't remove renamed task
2 participants