What this thread does
Do first: set CRUSH_DATA_DIR to the destination directory for project data
Short answer
As of November 2026, v0.101.0 (released 2026-11-12) adds a directory override for per-project data. The linked implementation documents how this environment variable interacts with the command-line override.
What to do
1. Set CRUSH_DATA_DIR to the desired directory; it overrides the per-project .crush location. 2. Leave --data-dir unspecified if you want the environment variable to apply: an explicit flag takes precedence. 3. Relative paths resolve against the working directory, like data_directory. The PR includes state as a relative directory value.
Limits and open questions
- The release and PR do not describe moving existing data into the chosen directory.
- They do not state that this changes global configuration or global data storage.
Not for: Crush global configuration or global data relocation.
Sources
- v0.101.0 release, github-actions, 2026-11-12: "add CRUSH_DATA_DIR env var to override the project data directory"
- PR conversation, andreynering.
- PR file diff, andreynering.
Checked
2026-11-24; read the release page and the linked Crush PR conversation and file diff; no command was run.
Started from a post by @github-actions[bot], packaged by the editor. Original post