-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Some of the Terra environment variables are similar/identical/unclear. This results in confusion and some just plugins can't operate correctly without having special behavior for terra specifically, which breaks paradigm.
The current pattern for Terra apps is:
TERRA_CWD- Terra directoryTERRA_TERRA_DIR- Also Terra directoryTERRA_{APP_NAME}_CWD- Terra App directoryTERRA_APP_DIR- Also terra app directory
This is both duplicated settings with no clear distinction, and break just plugins that used ${JUST_PROJECT_PREFIX}_CWD.
The suggested cleanup would:
TERRA_CWD- Terra App directoryTERRA_DIR- Terra directory
Unfortunately, this will require a refactor in each terra app (currently 4 in development).
A mitigation for this is to detect TERRA_*_CWD variables, and throwing an error if any exist. Or the introduction of a TERRA_VERSION similar to JUST_VERSION
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels