-
Notifications
You must be signed in to change notification settings - Fork 403
Open
Labels
kind/featureNew feature or feature requestNew feature or feature request
Description
Is your feature request related to a problem?
Running devspace deploy downloads the UI and unpacks it to ~/.devspace/ui. This location appears to be hard-coded:
https://github.com/devspace-sh/devspace/blob/v6.3.18/pkg/devspace/server/download.go#L44
Which solution do you suggest?
I see two issues here:
- The UI is downloaded automatically even though the command I am running has nothing to do with it. I don't really need it, I only use CLI. I'd prefer devspace to download the UI only when the user runs
devspace ui. - The UI is downloaded to a hard-coded location in $HOME. I like to keep my $HOME clean. There are at least two possible solutions:
a) store the UI in an XDG Base Directory-compliant location, e.g. $XDG_DATA_HOME/devspace/ui
b) support an environment variable like DEVSPACE_HOME (similar to MINIKUBE_HOME, HELM_DATA_HOME, etc) to override the default location
Which alternative solutions exist?
Additional context
Metadata
Metadata
Assignees
Labels
kind/featureNew feature or feature requestNew feature or feature request