warden icon indicating copy to clipboard operation
warden copied to clipboard

Optional Mutagen

Open joseluisi4 opened this issue 1 year ago • 5 comments

This change allows you to activate or deactivate Mutagen from the warden configuration .env file with WARDEN_MUTAGEN_ENABLE=0. By default, Mutagen is active. A message is also painted indicating that Mutagen is being deprecated.

joseluisi4 avatar Feb 15 '24 11:02 joseluisi4

I have other thoughts on this topics. I have my .env files saved to git repositories and all team is using it. I have no control over environments of other people, so some might be using OrbStack, VirtioFS and some not. Since there is no global warden config, other then project env, I would suggest to implement behavior to check if mutagen is installed and run sync if it is.

dudzio12 avatar Feb 22 '24 08:02 dudzio12

I have other thoughts on this topics. I have my .env files saved to git repositories and all team is using it. I have no control over environments of other people, so some might be using OrbStack, VirtioFS and some not. Since there is no global warden config, other then project env, I would suggest to implement behavior to check if mutagen is installed and run sync if it is.

Hi @dudzio12 the .env we are referring to is not the projects .env, it is a Warden configuration .env, it is in ~/.warden/.env

joseluisi4 avatar Feb 22 '24 08:02 joseluisi4

I have other thoughts on this topics. I have my .env files saved to git repositories and all team is using it. I have no control over environments of other people, so some might be using OrbStack, VirtioFS and some not. Since there is no global warden config, other then project env, I would suggest to implement behavior to check if mutagen is installed and run sync if it is.

Hi @dudzio12 the .env we are referring to is not the projects .env, it is a Warden configuration .env, it is in ~/.warden/.env

Thanks for the clarification :) Looking forward for the warden update 👍

dudzio12 avatar Feb 22 '24 11:02 dudzio12

I believe that mutagen volumes configuration should be moved to separate file, because we can have configs directly related to platform. For example, we may use platform: ${DOCKER_PLATFORM:-linux/amd64} platform related config in MacOS. It's allow to run non ARM images on the Apple Chip. https://github.com/magenius-team/warden/commit/6ecb5eb038fddf475fecd09f0709fa913e7ac81d

Den4ik avatar Mar 01 '24 13:03 Den4ik