Kitsu Sync category changes after work has started

Hi everyone,

We sometimes change an asset’s category in Kitsu after it has already synced to AYON and artists have started working on it. We’re currently on Kitsu addon 1.2.6 with a few local hotfixes.

I found PR #139, which adds handling for category changes. From the code, it updates the AYON hierarchy but skips assets with published products. It also doesn’t move any existing files on disk.

What’s the intended workflow when someone changes an asset’s category in Kitsu at that stage? How should we handle the existing workfiles, or the category mismatch when published products prevent the sync from moving the asset?

I’d be interested to hear how others handle this in production.

Hi, indeed Ayon doesn’t allow to move folder once any product has been published in to it, because it doesn’t handle anything on disk, and that’s a good thing to remain a map of paths to your ressources.

We deal with such use case by deleting the misplaced folder by hand, let kitsu sync it at the expected path, and then republishing by hand the last workfile as a base. This is not ideal but I cannot think about something more automatic which wouldn’t require a loooooot of code work.