facebook / facebook/buck2

Change default directory

Open
#325 9 comments 2 reactions 0 assignees View on GitHub
enhancement UX
Dominant language
Rust
Stars
4.4k
Forks
394
PR merge metrics
No merged PRs in 30d

Description

It would be great if it is possible to change the default directory. As my home directory is write protected, ```buck2``` fails to execute. An investigation shows that ```buck2``` attempts to create ```~/.buck2```.

One solution addressing this is an environment variable to change the default directory. Another potential solution is to follow the [XDG Specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.