mix_systemd icon indicating copy to clipboard operation
mix_systemd copied to clipboard

Allow App Name To Be Set And Trickle Down

Open probably-not opened this issue 1 year ago • 0 comments

The app_name value is used to set many of the other config values, which makes it very complicated if you need to use a different app name... you cannot simply set the app name in a config block, since the user_configs get merged only after all of the config values that are set by the app_name are set, so you need to know and change all of the configs that are affected by the app name value.

This PR allows setting the app name in the config, and makes sure that this value trickles down to all of the relevant configs. We also add a sane default for umbrella apps, which do not contain an :app key in their Mix.Project.config, by using the default release (or the only release) name as the app name.

probably-not avatar Apr 15 '24 06:04 probably-not