Skip to content

Use XDG state home for session store#3322

Open
sorinc03 wants to merge 1 commit into
mobile-dev-inc:mainfrom
sorinc03:fix/session-store-xdg-state-home
Open

Use XDG state home for session store#3322
sorinc03 wants to merge 1 commit into
mobile-dev-inc:mainfrom
sorinc03:fix/session-store-xdg-state-home

Conversation

@sorinc03

Copy link
Copy Markdown

Summary

  • store the default session DB under the existing EnvUtils.xdgStateHome() location
  • keep the existing ~/.maestro fallback when XDG_STATE_HOME is unset
  • add a unit test that pins XDG_STATE_HOME/maestro/sessions for the default session DB path

Part of #1798.

Test plan

  • ./gradlew :maestro-cli:test --tests maestro.cli.session.SessionStoreTest
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant