ayon-core/server_addon
2024-06-13 23:17:26 +02:00
..
aftereffects fix client versions 2024-06-10 11:12:38 +02:00
applications bump application version in version.py 2024-06-10 20:28:17 +08:00
blender removed unused import 2024-06-03 11:25:13 +02:00
celaction added version to cealaction addon class 2024-05-30 11:36:59 +02:00
clockify add version to clockify client addon class 2024-06-06 18:45:01 +02:00
deadline Merge branch 'develop' of https://github.com/ynput/ayon-core into bugfix/process_submission_arguments 2024-06-11 13:30:19 +02:00
flame mark 'newAssetPublishing' as deprecated since 24/06/06 2024-06-06 17:34:46 +02:00
fusion added version to client code 2024-05-31 16:30:15 +02:00
harmony added settings category to loader 2024-05-31 17:06:54 +02:00
hiero bump versions 2024-06-10 11:06:49 +02:00
houdini add version to houdini client addon class 2024-06-06 18:45:30 +02:00
jobqueue add empty line 2024-06-07 11:20:32 +02:00
max Merge branch 'develop' into bugfix/incorrect_fps_max_point_cache_loader 2024-06-13 16:46:50 +08:00
maya bump maya version to '0.2.3' 2024-06-12 13:49:23 +02:00
nuke linting fix 2024-06-13 23:17:26 +02:00
photoshop bump version of changed addons 2024-06-07 11:38:53 +02:00
resolve remove unused import 2024-06-12 16:52:44 +02:00
royalrender bump version of changed addons 2024-06-07 11:38:53 +02:00
substancepainter Merge branch 'develop' into enhancement/AY-5687_Substance-review-attribute 2024-06-10 20:28:45 +08:00
timers_manager move pynput dependency to timers manager 2024-06-07 11:02:56 +02:00
traypublisher bump versions 2024-06-10 11:06:49 +02:00
tvpaint bump tvpaint client version 2024-06-07 11:28:30 +02:00
create_ayon_addons.py create/copy files only if needed 2024-06-05 19:15:34 +02:00
README.md AYON: Addon settings in OpenPype (#5347) 2023-07-26 14:08:42 +02:00

Addons for AYON server

Preparation of AYON addons based on OpenPype codebase. The output is a bunch of zip files in ./packages directory that can be uploaded to AYON server. One of the packages is openpype which is OpenPype code converted to AYON addon. The addon is must have requirement to be able to use ayon-launcher. The versioning of openpype addon is following versioning of OpenPype. The other addons contain only settings models.

Intro

OpenPype is transitioning to AYON, a dedicated server with its own database, moving away from MongoDB. During this transition period, OpenPype will remain compatible with both MongoDB and AYON. However, we will gradually update the codebase to align with AYON's data structure and separate individual components into addons.

Currently, OpenPype has an AYON mode, which means it utilizes the AYON server instead of MongoDB through conversion utilities. Initially, we added the AYON executable alongside the OpenPype executables to enable AYON mode. While this approach worked, updating to new code versions would require a complete reinstallation. To address this, we have decided to create a new repository specifically for the base desktop application logic, which we currently refer to as the AYON Launcher. This Launcher will replace the executables generated by the OpenPype build and convert the OpenPype code into a server addon, resulting in smaller updates.

Since the implementation of the AYON Launcher is not yet fully completed, we will maintain both methods of starting AYON mode for now. Once the AYON Launcher is finished, we will remove the AYON executables from the OpenPype codebase entirely.

During this transitional period, the AYON Launcher addon will be a requirement as the entry point for using the AYON Launcher.

How to start

There is a create_ayon_addons.py python file which contains logic how to create server addon from OpenPype codebase. Just run the code.

./.poetry/bin/poetry run python ./server_addon/create_ayon_addons.py

It will create directory ./packages/<addon name>.zip files for AYON server. You can then copy upload the zip files to AYON server. Restart server to update addons information, add the addon version to server bundle and set the bundle for production or staging usage.

Once addon is on server and is enabled, you can just run AYON launcher. Content will be downloaded and used automatically.

Additional arguments

Additional arguments are useful for development purposes.

To skip zip creation to keep only server ready folder structure, pass --skip-zip argument.

./.poetry/bin/poetry run python ./server_addon/create_ayon_addons.py --skip-zip

To create both zips and keep folder structure, pass --keep-sources argument.

./.poetry/bin/poetry run python ./server_addon/create_ayon_addons.py --keep-sources