You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tom Klingenberg 692de949de
$home -> $COMPOSER_HOME (#10363)
the `$home` variable referenced in the conifguration docs for data- and
cache-dir is a reference to an internal PHP variable that contains the
composer home directory.

as on the documentation page it is not visible where that variable comes
from (the document uses only shell/environment variables otherwise) these
two places are hard to read/understand.

the exact meaning of `$home` (lowercase) is the composer-home (or just
home) global configuration setting (composer home is for all user-wide
composer invocations, to store data in the filesystem namespace of the
user executing composer).

that meaning is better documented with the `$COMPOSER_HOME` environment
variable (which when it does not exists the default value is well
documented in [03-cli.md#composer-home].

replace `$home` with `$COMPOSER_HOME`.

additionally small typo fix on "rollback" which is "roll back".

discussion: #10363
[03-cli.md#composer-home]: doc/03-cli.md#composer-home
3 years ago
..
articles Add composer platform package with exact Composer version (#10313) 3 years ago
dev Prioritize repository over package versions in the default policy, fixes #3509 9 years ago
faqs Added link to composer-allow-superuser (#10215) 3 years ago
fixtures Fix EOL of text files (#9877) 3 years ago
00-intro.md docs: Highlight sudo (#10367) 3 years ago
01-basic-usage.md Improve some linking 3 years ago
02-libraries.md Make a note about lower casing of package names (#9883) 3 years ago
03-cli.md Fix PHP x spacing 3 years ago
04-schema.md Expose path to autoload in a global var for binaries (#10137) 3 years ago
05-repositories.md Make it explicitly clear that `dev-` shouldn't be in the actual branch name. (#10335) 3 years ago
06-config.md $home -> $COMPOSER_HOME (#10363) 3 years ago
07-runtime.md Doc clarification 3 years ago
08-community.md Rename master branch to main 3 years ago