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

Kitsu Listeners #17

Closed
scottmcdonnell opened this issue Jan 2, 2024 · 3 comments
Closed

Kitsu Listeners #17

scottmcdonnell opened this issue Jan 2, 2024 · 3 comments

Comments

@scottmcdonnell
Copy link
Contributor

From looking at the code the current addon does a full sync with a kitsu project and is fired by a button press in the Ayon front end. In Openpype there was the syncservice which used Gazu to listen to Kitsu events and sync them with OpenPype database. The Ayon service seems ideal for this. Is the intention for this addon to sync on events in the future?

@EmberLightVFX
Copy link
Contributor

I have started working on this and have gotten the listener into a working Ayon service. Next step is to sync the individual events with Ayon.
I'm currently waiting for #18 to be merged as the new service is relying on that merge.

@scottmcdonnell
Copy link
Contributor Author

scottmcdonnell commented Feb 6, 2024

If the kitsu listeners such as asset:new episode:new task.new etc and asset:update episode:update task.update etc POST the kitsu entities to the current endpoint /addons/kitsu/{version}/push push.py will handle create and update for kitsu entities. There will need to be a DELETE method added so that entities can be deleted too.

Also project.update will need to update the project anatomy so that will need an endpoint. Does project.delete delete the project in Ayon?

I have made progress with the tests and have mocked much of the Kitsu data for testing the endpoints. I will have a fork up shortly.

@scottmcdonnell
Copy link
Contributor Author

completed in release 1.0.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants