The Wayback Machine - https://web.archive.org/web/20210918012001/https://github.com/composer/composer/issues/8625
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COMPOSER_CACHE_DIR documentation specifies wrong directory for *nix XDG systems #8625

Open
fho opened this issue Feb 19, 2020 · 2 comments
Open

Comments

@fho
Copy link

@fho fho commented Feb 19, 2020

The documentation states that the default cache dir on an XDG compatible *nix system is $XDG_CONFIG_HOME/composer/cache but composer uses XDG_CACHE_HOME/composer as default.

https://getcomposer.org/doc/03-cli.md#composer-cache-dir quote:

By default it points to $COMPOSER_HOME/cache on *nix and macOS, and C:\Users<user>\AppData\Local\Composer (or %LOCALAPPDATA%/Composer) on Windows.


@fho fho changed the title COMPOSER_CACHE_DIR documentation states wrong directory for *nix XDG systems COMPOSER_CACHE_DIR documentation specifies wrong directory for *nix XDG systems Feb 19, 2020
@alcohol
Copy link
Member

@alcohol alcohol commented Feb 23, 2020

I think this part of the documentation was forgotten when the XDG specification was implemented. Maybe it is best to not mention the default at all, since it depends on circumstances (which only makes the documentation more confusing IMHO).

@Seldaek Seldaek added this to the Bugs milestone Oct 15, 2020
@imme-emosol
Copy link

@imme-emosol imme-emosol commented Apr 13, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants