ayon-core/website/docs/module_kitsu.md
Sharkitty 6f16f3e4f4
Enhancement kitsu note with exceptions (#4537)
* Enhancement: Allowing kitsu not status exceptions

* Update openpype/modules/kitsu/plugins/publish/integrate_kitsu_note.py

Co-authored-by: Félix David <felixg.david@gmail.com>

* adding equal/not equal option

* Making equal/not equal option available at for every list item

* Changed  into , renamed  into , added documentation

* Using upper cases during check, so the new settings aren't case sensitive

* Linting little detail

* Renaming Equality into Condition, new screenshot with both equal and not equal shown on it

* Update website/docs/module_kitsu.md

README adjustments

Co-authored-by: Félix David <felixg.david@gmail.com>

* Changes needed to resolve conflict

* Changing context into instance where appropriate

* Minor change to avoid changing a line that doesn't need to be changed

* Turning exceptions into conditions. Making checks positive instead of negative. Changing implementation based on suggestions.

---------

Co-authored-by: Félix David <felixg.david@gmail.com>
2023-03-21 15:22:23 +01:00

3.2 KiB

id title sidebar_label
module_kitsu Kitsu Administration Kitsu

import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';

Kitsu is a great open source production tracker and can be used for project management instead of Ftrack. This documentation assumes that you are familiar with Kitsu and its basic principles. If you're new to Kitsu, we recommend having a thorough look at Kitsu Official Documentation.

Prepare Kitsu for OpenPype

Server URL

If you want to connect Kitsu to OpenPype you have to set the Server url in Kitsu settings. And that's all! This setting is available for all the users of the OpenPype instance.

Synchronize

Updating OP with Kitsu data is executed running the sync-service, which requires to provide your Kitsu credentials with -l, --login and -p, --password or by setting the environment variables KITSU_LOGIN and KITSU_PWD. This process will request data from Kitsu and create/delete/update OP assets. Once this sync is done, the thread will automatically start a loop to listen to Kitsu events.

openpype_console module kitsu sync-service -l me@domain.ext -p my_password

Events listening

Listening to Kitsu events is the key to automation of many tasks like project/episode/sequence/shot/asset/task create/update/delete and some more. Events listening should run at all times to perform the required processing as it is not possible to catch some of them retrospectively with strong reliability. If such timeout has been encountered, you must relaunch the sync-service command to run the synchronization step again.

Connection token is refreshed every week.

Push to Kitsu

An utility function is provided to help update Kitsu data (a.k.a Zou database) with OpenPype data if the publishing to the production tracker hasn't been possible for some time. Running push-to-zou will create the data on behalf of the user. :::caution This functionality cannot deal with all cases and is not error proof, some intervention by a human being might be required. :::

openpype_console module kitsu push-to-zou -l me@domain.ext -p my_password

Integrate Kitsu Note

Task status can be automatically set during publish thanks to Integrate Kitsu Note. This feature can be configured in:

Admin -> Studio Settings -> Project Settings -> Kitsu -> Integrate Kitsu Note.

There are three settings available:

  • Set status on note -> turns on and off this integrator.
  • Note shortname -> Which status shortname should be set automatically (Case sensitive).
  • Status conditions -> Conditions that need to be met for kitsu status to be changed. You can add as many conditions as you like. There are two fields to each conditions: Condition (Whether current status should be equal or not equal to the condition status) and Short name (Kitsu Shortname of the condition status).

Integrate Kitsu Note project settings

Q&A

Is it safe to rename an entity from Kitsu?

Absolutely! Entities are linked by their unique IDs between the two databases.
But renaming from the OP's Project Manager won't apply the change to Kitsu, it'll be overridden during the next synchronization.