ynput / ayon-python-api

Apache License 2.0
9 stars 3 forks source link

Environment variable for default settings variant #106

Closed iLLiCiTiT closed 1 month ago

iLLiCiTiT commented 10 months ago

Description

We need to have option to define default settings variant via environment variables.

Additional information

The environment variable should not be mandatory and if is not set then use production by default. Suggested name is AYON_SETTINGS_VARIANT.

BigRoy commented 1 month ago

Is this still relevant @iLLiCiTiT ? If so, when would you change "settings variants"? Isn't this just what staging versus dev versus production bundles do?

iLLiCiTiT commented 1 month ago

Isn't this just what staging versus dev versus production bundles do?

No, bundles are bundles. Each bundle can have production, staging, and dev bundle can have settings. Like said many times, bundle is a definition of AYON launcher, addons and dependency package, in other words bundle != variant.

Anyway, resolved with https://github.com/ynput/ayon-python-api/pull/109