ayon-core/common/ayon_common/distribution
Jakub Trllo 5b4e474f4d AYON: Staging versions can be used (#4992)
* enhanced AddonInfo to be able get info about staging or any version

* AyonDistribution is checking for use staging value

* removed unused function

* addons in modules manager use right versions

* use right variant for settings

* added temporary staging icons

* fix 'is_running_staging' for ayon mode
2023-07-11 18:13:49 +02:00
..
tests General: Connect to AYON server (base) (#3924) 2023-07-11 17:50:50 +02:00
__init__.py General: Connect to AYON server (base) (#3924) 2023-07-11 17:50:50 +02:00
addon_distribution.py AYON: Staging versions can be used (#4992) 2023-07-11 18:13:49 +02:00
addon_info.py AYON: Staging versions can be used (#4992) 2023-07-11 18:13:49 +02:00
file_handler.py General: Connect to AYON server (base) (#3924) 2023-07-11 17:50:50 +02:00
README.md General: Connect to AYON server (base) (#3924) 2023-07-11 17:50:50 +02:00

Addon distribution tool

Code in this folder is backend portion of Addon distribution logic for v4 server.

Each host, module will be separate Addon in the future. Each v4 server could run different set of Addons.

Client (running on artist machine) will in the first step ask v4 for list of enabled addons. (It expects list of json documents matching to addon_distribution.py:AddonInfo object.) Next it will compare presence of enabled addon version in local folder. In the case of missing version of an addon, client will use information in the addon to download (from http/shared local disk/git) zip file and unzip it.

Required part of addon distribution will be sharing of dependencies (python libraries, utilities) which is not part of this folder.

Location of this folder might change in the future as it will be required for a clint to add this folder to sys.path reliably.

This code needs to be independent on Openpype code as much as possible!