Maestro dumps its state files into $HOME
#1798
Labels
bug
Something isn't working
good first issue
Good for newcomers wanting to contribute
maestro cli
Related to the command-line Maestro tool
P3
Issues that are less important
Some users don't like when programs write tmp/state/config files to their
$HOME
(me included).Current behavior
Upon installation, Maestro creates the
~/.maestro
directory and stores some data there.Expected behavior
There exist a spec called XDG Base Directory Specification. Maestro should follow it.
Implementation idea
I suggest the following:
bin/
should be in the path made for that, e.g./usr/local/bin
(or wherever your OS package manager installs programs)deps/
contains only theapplesimutil
binary, which we may not need soon, see Stop depending on AppleSimulatorUtils #1797lib/
contains JARs. Not sure where they exactly they should go (let's look at how other JVM apps do this)sessions
->XDG_STATE_HOME
tests/
->XDG_STATE_HOME
tmp/
->XDG_CACHE_HOME
(not sure what goes in there, it's always empty on my machine)uuid
->XDG_STATE_HOME
To support existing CLI installs, we should first look for
~/.maestro
, and then fallback to XDG base dir spec.Additional context
~/Library/Logs/maestro
(at least on macOS) (code link)The text was updated successfully, but these errors were encountered: