Skip to content

mix: follow XDG base dir specification #8818

@NobbZ

Description

@NobbZ

Environment

  • Elixir & Erlang/OTP versions (elixir --version): currently 1.7 and 1.8 (depends on the host) but affects earlier versions as well.
  • Operating system: Linux, but maybe affects Mac OS as well

Current behavior

Mix saves it configuration, downloaded data, archives, etc to ~/.mix

Expected behavior

It should follow the XDG Base Dir spec and use appropriate folders from the users configuration to save aforementioned stuff.

This makes it easier for a user to wipe caches, backup config or archives, etc.

This is issue is explicitely about global cache/data/config, not their per-project equivalents.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions